Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Field and Description |
---|---|
private TypePool.Default.ReaderMode |
AgentBuilder.PoolStrategy.Default.readerMode
The reader mode to apply by this type locator.
|
private TypePool.Default.ReaderMode |
AgentBuilder.PoolStrategy.Eager.readerMode
The reader mode to apply by this type locator.
|
private TypePool.Default.ReaderMode |
AgentBuilder.PoolStrategy.ClassLoading.readerMode
The reader mode to apply by this type locator.
|
protected TypePool.Default.ReaderMode |
AgentBuilder.PoolStrategy.WithTypePoolCache.readerMode
The reader mode to use for parsing a class file.
|
Constructor and Description |
---|
ClassLoading(TypePool.Default.ReaderMode readerMode)
Creates a new type locator.
|
Default(TypePool.Default.ReaderMode readerMode)
Creates a new type locator.
|
Eager(TypePool.Default.ReaderMode readerMode)
Creates a new type locator.
|
Simple(TypePool.Default.ReaderMode readerMode,
java.util.concurrent.ConcurrentMap<? super java.lang.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
TypePool s but provides a custom TypePool.CacheProvider . |
Modifier and Type | Field and Description |
---|---|
private TypePool.Default.ReaderMode |
MemberSubstitution.TypePoolResolver.ForClassFileLocator.readerMode
The reader mode to apply.
|
Constructor and Description |
---|
ForClassFileLocator(ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode)
Creates a new type pool resolver for a class file locator as a supplement of the implicit type pool.
|
Modifier and Type | Field and Description |
---|---|
private TypePool.Default.ReaderMode |
Plugin.Engine.PoolStrategy.Default.readerMode
This strategy's reader mode.
|
private TypePool.Default.ReaderMode |
Plugin.Engine.PoolStrategy.Eager.readerMode
This strategy's reader mode.
|
Constructor and Description |
---|
Default(TypePool.Default.ReaderMode readerMode)
Creates a default pool strategy.
|
Eager(TypePool.Default.ReaderMode readerMode)
Creates an eager pool strategy.
|
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(java.lang.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.
|
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.
|
WithLazyResolution(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode)
Creates a new default type pool with lazy resolution and without a parent pool.
|
WithLazyResolution(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode,
TypePool parentPool)
Creates a new default type pool with lazy resolution.
|