| Package | Description |
|---|---|
| net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| Modifier and Type | Field and Description |
|---|---|
protected TypePool.Default.ReaderMode |
AgentBuilder.TypeLocator.WithTypePoolCache.readerMode
The reader mode to use for parsing a class file.
|
| Constructor and Description |
|---|
Simple(TypePool.Default.ReaderMode readerMode,
ConcurrentMap<? super ClassLoader,TypePool.CacheProvider> cacheProviders)
Creates a new type locator that caches a cache provider per class loader in a concurrent map.
|
WithTypePoolCache(TypePool.Default.ReaderMode readerMode)
Creates a new type locator that creates
TypePools but provides a custom TypePool.CacheProvider. |
| Modifier and Type | Field and Description |
|---|---|
protected TypePool.Default.ReaderMode |
TypePool.Default.readerMode
The reader mode to apply by this default type pool.
|
| Modifier and Type | Method and Description |
|---|---|
static TypePool.Default.ReaderMode |
TypePool.Default.ReaderMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.Default.ReaderMode[] |
TypePool.Default.ReaderMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static TypePool |
TypePool.Default.Precomputed.withObjectType(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode)
Creates a new precomputed type pool with the
Object type being precomputed. |
| Constructor and Description |
|---|
Default(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode)
Creates a new default type pool without a parent pool.
|
Default(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode,
TypePool parentPool)
Creates a new default type pool.
|
Precomputed(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode,
Map<String,TypeDescription> precomputed)
Creates a new precomputed type pool.
|
Copyright © 2014–2016. All rights reserved.