Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
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.description |
Classes of this package allow the representation of Java classes, their member and their meta data.
|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.description.enumeration |
A package that contains classes for describing enumeration values.
|
net.bytebuddy.description.field |
Contains descriptions of Java fields.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.attribute |
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
|
net.bytebuddy.implementation.bind |
The types and classes of this package are responsible for binding a method call to calling another method.
|
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
net.bytebuddy.implementation.bytecode.constant |
StackManipulation s in this package are responsible for
creating compile-time constants and pushing them onto the operand stack. |
net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
net.bytebuddy.utility.dispatcher |
A package to handle dispatching of classes.
|
net.bytebuddy.utility.privilege |
A package containing
PrivilegedAction s that are used for invoking sensitive methods. |
net.bytebuddy.utility.visitor |
A package containing visitor classes for ASM.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
TypeCache.find(ClassLoader classLoader,
T key)
Finds a stored type or returns
null if no type was stored. |
Modifier and Type | Method and Description |
---|---|
boolean |
TypeCache.LookupKey.equals(Object other) |
boolean |
TypeCache.StorageKey.equals(Object other) |
boolean |
TypeCache.SimpleKey.equals(Object other) |
boolean |
ClassFileVersion.equals(Object other) |
Class<?> |
TypeCache.WithInlineExpunction.find(ClassLoader classLoader,
S key)
Finds a stored type or returns
null if no type was stored. |
Class<?> |
TypeCache.find(ClassLoader classLoader,
T key)
Finds a stored type or returns
null if no type was stored. |
Class<?> |
TypeCache.WithInlineExpunction.findOrInsert(ClassLoader classLoader,
S key,
Callable<Class<?>> builder)
Finds an existing type or inserts a new one if the previous type was not found.
|
Class<?> |
TypeCache.WithInlineExpunction.findOrInsert(ClassLoader classLoader,
S key,
Callable<Class<?>> builder,
Object monitor)
Finds an existing type or inserts a new one if the previous type was not found.
|
Class<?> |
TypeCache.findOrInsert(ClassLoader classLoader,
T key,
Callable<Class<?>> lazy)
Finds an existing type or inserts a new one if the previous type was not found.
|
Class<?> |
TypeCache.findOrInsert(ClassLoader classLoader,
T key,
Callable<Class<?>> lazy,
Object monitor)
Finds an existing type or inserts a new one if the previous type was not found.
|
Class<?> |
TypeCache.WithInlineExpunction.insert(ClassLoader classLoader,
S key,
Class<?> type)
Inserts a new type into the cache.
|
Class<?> |
TypeCache.insert(ClassLoader classLoader,
T key,
Class<?> type)
Inserts a new type into the cache.
|
Constructor and Description |
---|
LookupKey(ClassLoader classLoader)
Creates a new lookup key.
|
StorageKey(ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue)
Creates a new storage key.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
AgentBuilder.InstallationListener.onError(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
Throwable throwable)
Invoked if an installation causes an error.
|
Throwable |
AgentBuilder.InstallationListener.ErrorSuppressing.onError(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
Throwable throwable)
Invoked if an installation causes an error.
|
Throwable |
AgentBuilder.InstallationListener.Compound.onError(Instrumentation instrumentation,
ResettableClassFileTransformer classFileTransformer,
Throwable throwable)
Invoked if an installation causes an error.
|
byte[] |
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher.run() |
byte[] |
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher.run() |
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
protected byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Applies a transformation for a class that was captured by this
ClassFileTransformer . |
Modifier and Type | Method and Description |
---|---|
TypeDescription |
AgentBuilder.DescriptionStrategy.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
TypeDescription |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.apply(String name,
Class<?> type,
TypePool typePool,
AgentBuilder.CircularityLock circularityLock,
ClassLoader classLoader,
JavaModule module)
Describes the given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.NoOp.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.NoOp.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.Simple.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.Simple.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.Compound.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator |
AgentBuilder.LocationStrategy.Compound.classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey.equals(Object other) |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey.equals(Object other) |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled.isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
protected abstract boolean |
AgentBuilder.LambdaInstrumentationStrategy.isInstrumented(Class<?> type)
Validates if the supplied class is instrumented.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.Substitutable.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.Substitutable.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.Substitutable.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
ResettableClassFileTransformer.WithDelegation.Substitutable.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Iterator<AgentBuilder.Transformer> |
AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.
|
Class<?> |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.UnlockingClassLoadingDelegate.load(String name,
ClassLoader classLoader)
Loads a type.
|
Class<?> |
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.load(String name,
ClassLoader classLoader)
Loads a type.
|
protected abstract TypePool.CacheProvider |
AgentBuilder.PoolStrategy.WithTypePoolCache.locate(ClassLoader classLoader)
Locates a cache provider for a given class loader.
|
protected TypePool.CacheProvider |
AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.locate(ClassLoader classLoader) |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers.matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers.matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean |
AgentBuilder.RawMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
boolean |
AgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain)
Decides if the given
typeDescription should be instrumented with the entailed
AgentBuilder.Transformer s. |
void |
AgentBuilder.Listener.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.NoOp.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.NoOp.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Adapter.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Adapter.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.StreamWriting.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.StreamWriting.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Filtering.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Filtering.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Compound.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.Compound.onComplete(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.
|
void |
AgentBuilder.Listener.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.NoOp.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.NoOp.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Adapter.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Adapter.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.StreamWriting.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.StreamWriting.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Filtering.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Filtering.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Compound.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.Compound.onDiscovery(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked upon a type being supplied to a transformer.
|
void |
AgentBuilder.Listener.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.NoOp.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.NoOp.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.Adapter.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.Adapter.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.StreamWriting.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.StreamWriting.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.Filtering.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.Filtering.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.WithTransformationsOnly.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable) |
void |
AgentBuilder.Listener.WithTransformationsOnly.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable) |
void |
AgentBuilder.Listener.WithErrorsOnly.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable) |
void |
AgentBuilder.Listener.WithErrorsOnly.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable) |
void |
AgentBuilder.Listener.Compound.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.Compound.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.onError(String typeName,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
Throwable throwable)
Invoked when an error has occurred during transformation.
|
void |
AgentBuilder.Listener.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.NoOp.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.NoOp.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Adapter.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Adapter.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.StreamWriting.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.StreamWriting.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Filtering.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Filtering.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Compound.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.Compound.onIgnored(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded)
Invoked when a type is not transformed but ignored.
|
void |
AgentBuilder.Listener.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.NoOp.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.NoOp.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.Adapter.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.Adapter.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.StreamWriting.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.StreamWriting.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.Filtering.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.Filtering.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType) |
void |
AgentBuilder.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType) |
void |
AgentBuilder.Listener.ModuleReadEdgeCompleting.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType) |
void |
AgentBuilder.Listener.ModuleReadEdgeCompleting.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType) |
void |
AgentBuilder.Listener.Compound.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.Listener.Compound.onTransformation(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
boolean loaded,
DynamicType dynamicType)
Invoked prior to a successful transformation being applied.
|
void |
AgentBuilder.InitializationStrategy.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.NoOp.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.NoOp.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.Minimal.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.Minimal.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Split.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Split.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Lazy.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Lazy.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Eager.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
void |
AgentBuilder.InitializationStrategy.SelfInjection.Eager.Dispatcher.register(DynamicType dynamicType,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.
|
ClassInjector |
AgentBuilder.InjectionStrategy.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.Disabled.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.Disabled.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingReflection.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingReflection.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingUnsafe.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingUnsafe.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingJna.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingJna.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingInstrumentation.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassInjector |
AgentBuilder.InjectionStrategy.UsingInstrumentation.resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
ClassFileLocator |
AgentBuilder.ClassFileBufferStrategy.resolve(String name,
byte[] binaryRepresentation,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.
|
ClassFileLocator |
AgentBuilder.ClassFileBufferStrategy.resolve(String name,
byte[] binaryRepresentation,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.
|
ClassFileLocator |
AgentBuilder.ClassFileBufferStrategy.resolve(String name,
byte[] binaryRepresentation,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.
|
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] |
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher.transform(ClassFileTransformer target,
Object module,
ClassLoader classLoader,
String name,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class.
|
byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Allows for a transformation of a
DynamicType.Builder . |
protected byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Applies a transformation for a class that was captured by this
ClassFileTransformer . |
protected byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Applies a transformation for a class that was captured by this
ClassFileTransformer . |
protected byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Applies a transformation for a class that was captured by this
ClassFileTransformer . |
protected byte[] |
AgentBuilder.Default.ExecutingTransformer.transform(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Applies a transformation for a class that was captured by this
ClassFileTransformer . |
TypePool |
AgentBuilder.ClassFileBufferStrategy.typePool(AgentBuilder.PoolStrategy poolStrategy,
ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Resolves the type pool for a given type name by the supplied
AgentBuilder.PoolStrategy . |
TypePool |
AgentBuilder.PoolStrategy.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.Default.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.Eager.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.ClassLoading.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.WithTypePoolCache.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.Default.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.Eager.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.ClassLoading.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Creates a type pool for a given class file locator.
|
TypePool |
AgentBuilder.PoolStrategy.WithTypePoolCache.typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader,
String name)
Creates a type pool for a given class file locator.
|
protected AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper |
AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain,
Advice advice)
Allows for decoration of advice for subclass implementations of this transformer.
|
protected AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper |
AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain,
Advice advice)
Allows for decoration of advice for subclass implementations of this transformer.
|
protected AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper |
AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain,
Advice advice)
Allows for decoration of advice for subclass implementations of this transformer.
|
Constructor and Description |
---|
Java9CapableVmDispatcher(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new legacy dispatcher.
|
Java9CapableVmDispatcher(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new legacy dispatcher.
|
Java9CapableVmDispatcher(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new legacy dispatcher.
|
Java9CapableVmDispatcher(Object rawModule,
ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new legacy dispatcher.
|
LegacyVmDispatcher(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new type transformation dispatcher.
|
LegacyVmDispatcher(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new type transformation dispatcher.
|
LegacyVmDispatcher(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new type transformation dispatcher.
|
LegacyVmDispatcher(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new type transformation dispatcher.
|
LookupKey(ClassLoader classLoader)
Creates a new lookup key.
|
SimpleClassLoadingAction(String name,
ClassLoader classLoader)
Creates a simple class loading action.
|
StorageKey(ClassLoader classLoader)
Creates a new storage key.
|
TransformerIterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.
|
TransformerIterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.
|
TransformerIterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.
|
TransformerIterator(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MemberSubstitution.Source.Value |
MemberSubstitution.Source.argument(int index,
TypeList.Generic parameters,
Map<Integer,Integer> offsets,
ByteCodeElement.Member original,
MethodDescription instrumentedMethod)
Resolves a value representation of the parameter of the specified index or
null if no such parameter is available. |
protected abstract MemberSubstitution.Source.Value |
MemberSubstitution.Source.self(TypeList.Generic parameters,
Map<Integer,Integer> offsets,
ByteCodeElement.Member original,
MethodDescription instrumentedMethod)
Resolves a value representation of the
this reference or null if no such reference is available. |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceFieldVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceAnnotationVisitor.visitAnnotation(String name,
String descriptor) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitAnnotationDefault() |
AnnotationVisitor |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitAnnotationDefault() |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceAnnotationVisitor.visitArray(String name) |
FieldVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
FieldVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitInsnAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitLocalVariableAnnotation(int typeReference,
TypePath typePath,
Label[] start,
Label[] end,
int[] offset,
String descriptor,
boolean visible) |
MethodVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptionInternalName) |
MethodVisitor |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptions) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
RecordComponentVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitRecordComponent(String name,
String descriptor,
String signature) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableSubstitutor.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.Resolved.ForMethodEnter |
Advice.Dispatcher.Unresolved.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodExit,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodEnter |
Advice.Dispatcher.Inactive.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodExit,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodEnter |
Advice.Dispatcher.Inlining.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodExit,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodEnter |
Advice.Dispatcher.Delegating.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodExit,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Unresolved.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inactive.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inlining.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Delegating.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
<T extends Annotation> |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bind(Class<T> type,
Object value)
Binds the supplied annotation to a type constant of the supplied value.
|
<T extends Annotation> |
Advice.WithCustomMapping.bind(Class<T> type,
Object value)
Binds the supplied annotation to a type constant of the supplied value.
|
boolean |
AsmVisitorWrapper.ForDeclaredFields.Entry.matches(FieldDescription.InDefinedShape target)
Matches a target against this element matcher.
|
boolean |
AsmVisitorWrapper.ForDeclaredMethods.Entry.matches(MethodDescription target)
Matches a target against this element matcher.
|
boolean |
ModifierAdjustment.Adjustment.matches(T target)
Matches a target against this element matcher.
|
static <S extends Annotation> |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.of(Class<S> annotationType,
Object value)
Resolves an offset mapping that binds the provided annotation type to a given constant value.
|
static <S extends Annotation> |
Advice.OffsetMapping.ForStackManipulation.Factory.of(Class<S> annotationType,
Object value)
Creates a binding for a fixed
String , a primitive value or a method handle or type. |
static MemberSubstitution.TypePoolResolver |
MemberSubstitution.TypePoolResolver.ForClassFileLocator.of(ClassLoader classLoader)
Creates a new type pool resolver that supplements the supplied class loader to the implicit type pool.
|
static Advice.OffsetMapping.Target |
Advice.OffsetMapping.Target.ForStackManipulation.of(Object value)
Creates a target for an offset mapping for a constant value or
null . |
void |
Advice.AdviceVisitor.onVisitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
Advice.AdviceVisitor.onVisitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
protected void |
Advice.StackMapFrameHandler.Default.translateFrame(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode,
MethodDescription methodDescription,
List<? extends TypeDescription> additionalTypes,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
protected void |
Advice.StackMapFrameHandler.Default.translateFrame(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode,
MethodDescription methodDescription,
List<? extends TypeDescription> additionalTypes,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
protected void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.translateFrame(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode,
MethodDescription methodDescription,
List<? extends TypeDescription> additionalTypes,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
protected void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.translateFrame(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode,
MethodDescription methodDescription,
List<? extends TypeDescription> additionalTypes,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
Advice.StackMapFrameHandler.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.NoOp.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.NoOp.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.Trivial.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.Trivial.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithoutArgumentCopy.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithoutArgumentCopy.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithArgumentCopy.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithArgumentCopy.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.ForAdvice.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
Advice.StackMapFrameHandler.Default.ForAdvice.translateFrame(MethodVisitor methodVisitor,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
void |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visit(int version,
int modifiers,
String internalName,
String genericSignature,
String superClassInternalName,
String[] interfaceInternalName) |
void |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visit(int version,
int modifiers,
String internalName,
String genericSignature,
String superClassInternalName,
String[] interfaceInternalName) |
void |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visit(int version,
int modifiers,
String internalName,
String genericSignature,
String superClassInternalName,
String[] interfaceInternalName) |
void |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superClassName,
String[] interfaceName) |
void |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superClassName,
String[] interfaceName) |
void |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superClassName,
String[] interfaceName) |
void |
ModifierAdjustment.ModifierAdjustingClassVisitor.visit(int version,
int modifiers,
String internalName,
String signature,
String superClassName,
String[] interfaceName) |
void |
ModifierAdjustment.ModifierAdjustingClassVisitor.visit(int version,
int modifiers,
String internalName,
String signature,
String superClassName,
String[] interfaceName) |
void |
ModifierAdjustment.ModifierAdjustingClassVisitor.visit(int version,
int modifiers,
String internalName,
String signature,
String superClassName,
String[] interfaceName) |
FieldVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
FieldVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
FieldVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
void |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
void |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitInsnAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitLocalVariableAnnotation(int typeReference,
TypePath typePath,
Label[] start,
Label[] end,
int[] offset,
String descriptor,
boolean visible) |
MethodVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptionInternalName) |
MethodVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptionInternalName) |
MethodVisitor |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
ModifierAdjustment.ModifierAdjustingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
MemberRemoval.MemberRemovingClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptions) |
MethodVisitor |
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exceptions) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
RecordComponentVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitRecordComponent(String name,
String descriptor,
String signature) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableSubstitutor.visitTryCatchAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
void |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
String typeInternalName) |
void |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Constructor and Description |
---|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
ConstantTranslator(Class<?> sourceHandle,
Class<?> targetHandle,
Class<?> sourceType,
Class<?> targetType,
Class<?> sourceConstantDynamic,
Class<?> targetConstantDynamic)
Creates a new constant translator.
|
Factory(TypeDescription.Generic result)
Creates a new factory for a step that applies a type assignment.
|
ForAllArguments(TypeDescription.Generic targetComponentType,
Assigner.Typing typing,
MemberSubstitution.Source source,
boolean includeSelf,
boolean nullIfEmpty)
Creates a new offset mapping for an array containing all supplied arguments.
|
ForArgument(TypeDescription.Generic targetType,
int index,
Assigner.Typing typing,
MemberSubstitution.Source source,
boolean optional)
Creates a new offset mapping for an argument to either the substituted expression or the instrumented method.
|
ForAssignment(TypeDescription.Generic result,
Assigner assigner)
Creates a step for a type assignment.
|
ForCurrent(TypeDescription.Generic targetType,
Assigner.Typing typing)
Creates an offset mapping for the previous chain instruction.
|
ForField(TypeDescription.Generic target,
Assigner.Typing typing)
Creates an offset mapping for a field value.
|
ForThisReference(TypeDescription.Generic targetType,
Assigner.Typing typing,
MemberSubstitution.Source source,
boolean optional)
Creates an offset mapping that resolves the
this reference. |
Modifier and Type | Method and Description |
---|---|
Object |
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.getArgument()
Returns the resolved argument if the resolution was successful.
|
Object |
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved.getArgument()
Returns the resolved argument if the resolution was successful.
|
Manifest |
Plugin.Engine.Source.Origin.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Manifest |
Plugin.Engine.Source.Origin.ForJarFile.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Manifest |
Plugin.Engine.Source.Origin.Filtering.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Manifest |
Plugin.Engine.Source.Empty.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Manifest |
Plugin.Engine.Source.InMemory.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Manifest |
Plugin.Engine.Source.ForFolder.getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
<T> T |
Plugin.Engine.Source.Element.resolveAs(Class<T> type)
Resolves this element to a more specialized form if possible.
|
<T> T |
Plugin.Engine.Source.Element.ForFile.resolveAs(Class<T> type)
Resolves this element to a more specialized form if possible.
|
<T> T |
Plugin.Engine.Source.Element.ForJarEntry.resolveAs(Class<T> type)
Resolves this element to a more specialized form if possible.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Plugin.Engine.Summary.equals(Object other) |
boolean |
ToStringPlugin.matches(TypeDescription target)
Matches a target against this element matcher.
|
boolean |
Plugin.NoOp.matches(TypeDescription target)
Matches a target against this element matcher.
|
boolean |
Plugin.ForElementMatcher.matches(TypeDescription target)
Matches a target against this element matcher.
|
boolean |
HashCodeAndEqualsPlugin.matches(TypeDescription target)
Matches a target against this element matcher.
|
void |
Plugin.Engine.ErrorHandler.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.ErrorHandler.Enforcing.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.ErrorHandler.Compound.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.Listener.NoOp.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.Listener.Adapter.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.Listener.StreamWriting.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
void |
Plugin.Engine.Listener.ForErrorHandler.onManifest(Manifest manifest) |
void |
Plugin.Engine.Listener.Compound.onManifest(Manifest manifest)
Invoked when a manifest was found or found missing.
|
Plugin.Engine.Target.Sink |
Plugin.Engine.Target.write(Manifest manifest)
Initializes this target prior to writing.
|
Plugin.Engine.Target.Sink |
Plugin.Engine.Target.Discarding.write(Manifest manifest)
Initializes this target prior to writing.
|
Plugin.Engine.Target.Sink |
Plugin.Engine.Target.InMemory.write(Manifest manifest)
Initializes this target prior to writing.
|
Plugin.Engine.Target.Sink |
Plugin.Engine.Target.ForFolder.write(Manifest manifest)
Initializes this target prior to writing.
|
Plugin.Engine.Target.Sink |
Plugin.Engine.Target.ForJarFile.write(Manifest manifest)
Initializes this target prior to writing.
|
Constructor and Description |
---|
AccessControllerPlugin(String property)
Creates a new plugin to weave access controller dispatches.
|
ForIndex(int index,
Object value)
Creates an argument resolver for a given index.
|
HashCodeAndEqualsPlugin(String annotationType)
Creates a new hash code equals plugin.
|
Resolved(Object argument)
Creates a resolved argument resolution.
|
WithDynamicType(int index,
String value)
Creates an argument resolver for a specific parameter index and attempts a dynamic resolution.
|
WithNonNullableFields(String annotationType)
Creates a new hash code equals plugin where fields are assumed nullable by default.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeVariableSource.findVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
TypeDescription.Generic |
TypeVariableSource.AbstractBase.findVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
TypeDefinition |
DeclaredByType.getDeclaringType()
Returns the declaring type of this instance.
|
TypeVariableSource |
TypeVariableSource.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
String |
NamedElement.WithDescriptor.getGenericSignature()
Returns the generic signature of this byte code element.
|
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
AnnotationList.ofType(Class<T> annotationType)
Finds the first annotation of the given type and returns it.
|
<T extends Annotation> |
AnnotationList.AbstractBase.ofType(Class<T> annotationType)
Finds the first annotation of the given type and returns it.
|
AnnotationDescription |
AnnotationList.AbstractBase.ofType(TypeDescription annotationType)
Finds the first annotation of the given type and returns it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AnnotationValue.ForConstant.equals(Object other) |
boolean |
AnnotationValue.ForConstant.Loaded.equals(Object other) |
boolean |
AnnotationValue.ForAnnotationDescription.equals(Object other) |
boolean |
AnnotationValue.ForAnnotationDescription.Loaded.equals(Object other) |
boolean |
AnnotationValue.ForEnumerationDescription.equals(Object other) |
boolean |
AnnotationValue.ForEnumerationDescription.Loaded.equals(Object other) |
boolean |
AnnotationValue.ForTypeDescription.equals(Object other) |
boolean |
AnnotationValue.ForTypeDescription.Loaded.equals(Object other) |
boolean |
AnnotationValue.ForDescriptionArray.equals(Object other) |
boolean |
AnnotationValue.ForDescriptionArray.Loaded.equals(Object other) |
boolean |
AnnotationDescription.AnnotationInvocationHandler.equals(Object other) |
boolean |
AnnotationDescription.AbstractBase.equals(Object other) |
Object |
AnnotationDescription.AnnotationInvocationHandler.invoke(Object proxy,
Method method,
Object[] argument) |
AnnotationValue.Loaded<S> |
AnnotationValue.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForConstant.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForAnnotationDescription.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForEnumerationDescription.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForEnumerationDescription.WithUnknownConstant.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForTypeDescription.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V> |
AnnotationValue.ForDescriptionArray.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V> |
AnnotationValue.ForMissingType.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V> |
AnnotationValue.ForMismatchedType.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V> |
AnnotationValue.ForMissingValue.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V> |
AnnotationValue.ForIncompatibleType.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
static <S extends Annotation> |
AnnotationDescription.AnnotationInvocationHandler.of(ClassLoader classLoader,
Class<S> annotationType,
Map<String,? extends AnnotationValue<?,?>> values)
Creates a proxy instance for the supplied annotation type and values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EnumerationDescription.AbstractBase.equals(Object other) |
Modifier and Type | Method and Description |
---|---|
String |
FieldDescription.AbstractBase.getGenericSignature()
Returns the generic signature of this byte code element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FieldDescription.AbstractBase.equals(Object other) |
boolean |
FieldDescription.Token.equals(Object other) |
boolean |
FieldDescription.SignatureToken.equals(Object other) |
Modifier and Type | Method and Description |
---|---|
AnnotatedElement |
MethodDescription.InDefinedShape.AbstractBase.Executable.getAnnotatedReceiverType(Object value)
Returns the annotated receiver type.
|
AnnotationValue<?,?> |
MethodDescription.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodDescription.ForLoadedMethod.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodDescription.Latent.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodDescription.TypeSubstituting.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodDescription.Token.getDefaultValue()
Returns the default value of the represented method.
|
<T> T |
MethodDescription.getDefaultValue(Class<T> type)
Returns the default value but casts it to the given type.
|
<T> T |
MethodDescription.AbstractBase.getDefaultValue(Class<T> type)
Returns the default value but casts it to the given type.
|
TypeVariableSource |
MethodDescription.AbstractBase.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
String |
MethodDescription.AbstractBase.getGenericSignature()
Returns the generic signature of this byte code element.
|
Integer |
ParameterDescription.Token.getModifiers()
Returns the modifiers of the represented method parameter.
|
String |
ParameterDescription.Token.getName()
Returns the name of the represented method parameter.
|
TypeDescription.Generic |
MethodDescription.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.InDefinedShape.AbstractBase.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.Latent.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.Token.getReceiverType()
Returns the receiver type of this token or
null if the receiver type is implicit. |
Modifier and Type | Method and Description |
---|---|
boolean |
ParameterDescription.AbstractBase.equals(Object other) |
boolean |
ParameterDescription.Token.equals(Object other) |
boolean |
MethodDescription.AbstractBase.equals(Object other) |
boolean |
MethodDescription.Token.equals(Object other) |
boolean |
MethodDescription.SignatureToken.equals(Object other) |
boolean |
MethodDescription.TypeToken.equals(Object other) |
Constructor and Description |
---|
Latent(MethodDescription.InDefinedShape declaringMethod,
TypeDescription.Generic parameterType,
List<? extends AnnotationDescription> declaredAnnotations,
String name,
Integer modifiers,
int index,
int offset)
Creates a latent parameter description.
|
Latent(MethodDescription.InDefinedShape declaringMethod,
TypeDescription.Generic parameterType,
List<? extends AnnotationDescription> declaredAnnotations,
String name,
Integer modifiers,
int index,
int offset)
Creates a latent parameter description.
|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends TypeVariableToken> typeVariables,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new latent method description.
|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends TypeVariableToken> typeVariables,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new latent method description.
|
Token(String name,
int modifiers,
List<? extends TypeVariableToken> typeVariableTokens,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> annotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new token for a method description.
|
Token(String name,
int modifiers,
List<? extends TypeVariableToken> typeVariableTokens,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> annotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new token for a method description.
|
Token(TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations,
String name,
Integer modifiers)
Creates a new parameter token.
|
Token(TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations,
String name,
Integer modifiers)
Creates a new parameter token.
|
Token(TypeDescription.Generic type,
String name,
Integer modifiers)
Creates a parameter token without annotations.
|
Token(TypeDescription.Generic type,
String name,
Integer modifiers)
Creates a parameter token without annotations.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeDescription.Generic.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.ForOwnerType.AnnotatedType.getAnnotatedOwnerType(AnnotatedElement value)
Returns the type's annotated owner type or
null if this feature is not supported. |
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher.getAnnotatedReturnType(Method method)
Resolves the supplied method's annotated return type.
|
AnnotatedElement |
TypeDescription.ForLoadedType.Dispatcher.getAnnotatedSuperclass(Class<?> type)
Resolves the annotated super class of the supplied type.
|
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField.Dispatcher.getAnnotatedType(Field field)
Resolves the supplied method's annotated field type.
|
String |
TypeDescription.getCanonicalName()
Returns the canonical name of this type if it exists.
|
String |
TypeDescription.AbstractBase.OfSimpleType.getCanonicalName()
Returns the canonical name of this type if it exists.
|
String |
TypeDescription.ForLoadedType.getCanonicalName()
Returns the canonical name of this type if it exists.
|
String |
TypeDescription.ArrayProjection.getCanonicalName()
Returns the canonical name of this type if it exists.
|
String |
TypeDescription.SuperTypeLoading.getCanonicalName()
Returns the canonical name of this type if it exists.
|
ClassFileVersion |
TypeDescription.getClassFileVersion()
Attempts to resolve the class file version of this type.
|
ClassFileVersion |
TypeDescription.AbstractBase.getClassFileVersion()
Attempts to resolve the class file version of this type.
|
ClassFileVersion |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getClassFileVersion() |
ClassFileVersion |
TypeDescription.ForLoadedType.getClassFileVersion() |
ClassFileVersion |
TypeDescription.SuperTypeLoading.getClassFileVersion() |
TypeDescription |
TypeDescription.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForErasure.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.ForLoadedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypeDescription.AbstractBase.OfSimpleType.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypeDescription.ForLoadedType.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypeDescription.ArrayProjection.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypeDescription.SuperTypeLoading.getComponentType()
Returns the component type of this type.
|
TypeDefinition |
TypeDefinition.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypeDescription.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
TypeDescription.ForLoadedType.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
TypeDescription.ForPackageDescription.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
TypeDescription.SuperTypeLoading.getDeclaringType()
Returns the declaring type of this instance.
|
Object |
TypeDescription.getDefaultValue()
Returns the default value for this type, i.e.
|
Object |
TypeDescription.AbstractBase.getDefaultValue()
Returns the default value for this type, i.e.
|
MethodDescription.InDefinedShape |
TypeDescription.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypeDescription.ForLoadedType.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypeDescription.ArrayProjection.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypeDescription.ForPackageDescription.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypeDescription.SuperTypeLoading.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
TypeVariableSource |
TypeDescription.AbstractBase.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
TypeDescription |
TypeDescription.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
TypeDescription.ArrayProjection.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
TypeDescription.ForPackageDescription.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
TypeDescription.SuperTypeLoading.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
String |
TypeDescription.AbstractBase.getGenericSignature()
Returns the generic signature of this byte code element.
|
String |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getGenericSignature() |
String |
RecordComponentDescription.AbstractBase.getGenericSignature()
Returns the generic signature of this byte code element.
|
String |
RecordComponentDescription.ForLoadedRecordComponent.getGenericSignature() |
String |
RecordComponentDescription.ForLoadedRecordComponent.RecordComponent.getGenericSignature(Object value)
Returns the record component type's generic signature.
|
Class<?> |
TypeDescription.ForLoadedType.Dispatcher.getNestHost(Class<?> type)
Returns the specified class's nest host.
|
TypeDescription.Generic |
TypeDescription.Generic.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForLoadedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.Latent.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForReifiedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getOwnerType()
Returns the owner type of this type.
|
PackageDescription |
TypeDescription.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
TypeDescription.ForLoadedType.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
TypeDescription.ArrayProjection.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
TypeDescription.Latent.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
TypeDescription.SuperTypeLoading.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
Class<?>[] |
TypeDescription.ForLoadedType.Dispatcher.getPermittedSubclasses(Class<?> type)
Returns the permitted subclasses of the supplied type.
|
Object[] |
TypeDescription.ForLoadedType.Dispatcher.getRecordComponents(Class<?> type)
Resolves a type's record components.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForReifiedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithEagerNavigation.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ForLoadedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ArrayProjection.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Latent.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ForPackageDescription.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.SuperTypeLoading.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDefinition.getSuperClass()
Returns the super class of this type.
|
static TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.of(Class<?> type)
Creates a new lazy projection of a type's super class.
|
protected static TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.of(TypeDescription.Generic.LazyProjection delegate)
Resolves a lazy super class description.
|
String[] |
TypeList.toInternalNames()
Returns a list of internal names of all types represented by this list.
|
String[] |
TypeList.AbstractBase.toInternalNames()
Returns a list of internal names of all types represented by this list.
|
String[] |
TypeList.ForLoadedTypes.toInternalNames()
Returns a list of internal names of all types represented by this list.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TypeDescription.Generic.OfParameterizedType.RenderingDelegate.apply(StringBuilder stringBuilder,
TypeDescription erasure,
TypeDescription.Generic ownerType)
Applies this rendering delegate.
|
boolean |
TypeVariableToken.equals(Object other) |
boolean |
TypeDescription.Generic.OfNonGenericType.equals(Object other) |
boolean |
TypeDescription.Generic.OfGenericArray.equals(Object other) |
boolean |
TypeDescription.Generic.OfWildcardType.equals(Object other) |
boolean |
TypeDescription.Generic.OfParameterizedType.equals(Object other) |
boolean |
TypeDescription.Generic.OfTypeVariable.equals(Object other) |
boolean |
TypeDescription.Generic.OfTypeVariable.Symbolic.equals(Object other) |
boolean |
TypeDescription.Generic.LazyProjection.equals(Object other) |
boolean |
TypeDescription.AbstractBase.equals(Object other) |
boolean |
RecordComponentDescription.AbstractBase.equals(Object other) |
boolean |
RecordComponentDescription.Token.equals(Object other) |
boolean |
PackageDescription.AbstractBase.equals(Object other) |
Object |
TypeDescription.Generic.LazyProxy.invoke(Object proxy,
Method method,
Object[] argument) |
Object |
TypeDescription.LazyProxy.invoke(Object proxy,
Method method,
Object[] argument) |
Class<?> |
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.load(String name,
ClassLoader classLoader)
Loads a type.
|
Class<?> |
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple.load(String name,
ClassLoader classLoader)
Loads a type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(Class<?> rawType,
Type ownerType,
List<? extends Type> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
Collection<? extends TypeDefinition> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(Class<?> type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description where the supplied owner type is used as .
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(TypeDescription type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description.
|
Constructor and Description |
---|
ClassLoadingTypeList(TypeList.Generic delegate,
ClassLoader classLoader,
TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type list.
|
ClassLoadingTypeProjection(TypeDescription.Generic delegate,
ClassLoader classLoader,
TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type description.
|
Latent(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type.
|
Latent(String name,
int modifiers,
TypeDescription.Generic superClass,
TypeDescription.Generic... anInterface)
Creates a new latent type.
|
Latent(TypeDescription typeDescription,
TypeDescription.Generic declaringType,
AnnotationSource annotationSource)
Creates a non-generic type.
|
Latent(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameters,
AnnotationSource annotationSource)
Creates a description of a latent parameterized type.
|
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType)
Creates a builder for a non-generic type.
|
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType,
List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic type.
|
OfNonGenericType(TypeDescription typeDescription,
TypeDescription ownerType)
Creates a builder for a non-generic type.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a builder for a parameterized type.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes,
List<? extends AnnotationDescription> annotations)
Creates a builder for a parameterized type.
|
SuperTypeLoading(TypeDescription delegate,
ClassLoader classLoader)
Creates a super type loading type description.
|
SuperTypeLoading(TypeDescription delegate,
ClassLoader classLoader,
TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a super type loading type description.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer.getBinaryRepresentation()
Returns the binary representation of the class file that was looked up.
|
ClassLoader |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.getClassLoader()
Returns the underlying class loader.
|
ClassLoader |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default.getClassLoader()
Returns the underlying class loader.
|
ClassLoader |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit.getClassLoader()
Returns the underlying class loader.
|
AnnotationValue<?,?> |
Transformer.ForMethod.TransformedMethod.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
byte[] |
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer.transform(ClassLoader classLoader,
String internalName,
Class<?> redefinedType,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
Modifier and Type | Method and Description |
---|---|
boolean |
Nexus.equals(Object other) |
boolean |
ClassFileLocator.ForClassLoader.WeaklyReferenced.equals(Object other) |
boolean |
ClassFileLocator.ForModule.WeaklyReferenced.equals(Object other) |
static ClassFileLocator |
ClassFileLocator.ForInstrumentation.fromInstalledAgent(ClassLoader classLoader)
Returns an agent-based class file locator for the given class loader and an already installed
Byte Buddy-agent.
|
<S extends ClassLoader> |
TypeResolutionStrategy.Resolved.initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
<S extends ClassLoader> |
TypeResolutionStrategy.Passive.initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
<S extends ClassLoader> |
TypeResolutionStrategy.Active.Resolved.initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
<S extends ClassLoader> |
TypeResolutionStrategy.Lazy.initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
<S extends ClassLoader> |
TypeResolutionStrategy.Disabled.initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
protected static boolean |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoader.isDelegating(ClassLoader classLoader)
Checks if a class loader is a delegating class loader.
|
DynamicType.Loaded<T> |
DynamicType.Unloaded.load(ClassLoader classLoader)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
DynamicType.Loaded<T> |
DynamicType.Default.Unloaded.load(ClassLoader classLoader)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
<S extends ClassLoader> |
DynamicType.Unloaded.load(S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
<S extends ClassLoader> |
DynamicType.Default.Unloaded.load(S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Attempts to load this dynamic type including all of its auxiliary types, if any.
|
protected DynamicType.Builder.FieldDefinition.Optional<U> |
DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter.materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Transformer<FieldDescription> transformer,
Object defaultValue) |
protected DynamicType.Builder.FieldDefinition.Optional<U> |
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Transformer<FieldDescription> transformer,
Object defaultValue) |
static ClassFileLocator |
ClassFileLocator.ForClassLoader.of(ClassLoader classLoader)
Creates a class file locator for a given class loader.
|
static ClassFileLocator |
ClassFileLocator.ForClassLoader.WeaklyReferenced.of(ClassLoader classLoader)
Creates a class file locator for a given class loader.
|
static ClassFileLocator.ForInstrumentation.ClassLoadingDelegate |
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default.of(ClassLoader classLoader)
Creates a class loading delegate for the given class loader.
|
void |
NexusAccessor.register(String name,
ClassLoader classLoader,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a loaded type initializer in Byte Buddy's
Nexus which is injected into the system class loader. |
void |
NexusAccessor.Dispatcher.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
void |
NexusAccessor.Dispatcher.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
void |
NexusAccessor.Dispatcher.Available.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
void |
NexusAccessor.Dispatcher.Available.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
void |
NexusAccessor.Dispatcher.Unavailable.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
void |
NexusAccessor.Dispatcher.Unavailable.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.
|
static void |
Nexus.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
Object typeInitializer)
Registers a new loaded type initializer.
|
static void |
Nexus.register(String name,
ClassLoader classLoader,
ReferenceQueue<? super ClassLoader> referenceQueue,
int identification,
Object typeInitializer)
Registers a new loaded type initializer.
|
byte[] |
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer.transform(ClassLoader classLoader,
String internalName,
Class<?> redefinedType,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
byte[] |
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer.transform(ClassLoader classLoader,
String internalName,
Class<?> redefinedType,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
byte[] |
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer.transform(ClassLoader classLoader,
String internalName,
Class<?> redefinedType,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation) |
Constructor and Description |
---|
Explicit(ClassLoader classLoader,
Collection<? extends Class<?>> types)
Creates a new class loading delegate with a possibility of looking up explicitly
registered classes.
|
ExtractionClassFileTransformer(ClassLoader classLoader,
String typeName)
Creates a class file transformer for the purpose of extraction.
|
FieldDefinitionAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Transformer<FieldDescription> transformer,
Object defaultValue,
FieldDescription.Token token)
Creates a new field definition adapter.
|
FieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Transformer<FieldDescription> transformer,
Object defaultValue,
LatentMatcher<? super FieldDescription> matcher)
Creates a new field match adapter.
|
ForInstrumentation(Instrumentation instrumentation,
ClassLoader classLoader)
Creates an agent-based class file locator.
|
NexusAccessor(ReferenceQueue<? super ClassLoader> referenceQueue)
Creates a new accessor for a
Nexus where any GC eligible are enqueued to the supplied reference queue. |
Modifier and Type | Field and Description |
---|---|
protected Object |
ByteArrayClassLoader.accessControlContext
The access control context to use for loading classes or
null if this is not supported on the current VM. |
protected Method |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.getDefinedPackage
An instance of
java.lang.ClassLoader#getDefinedPackage(String) . |
protected ProtectionDomain |
ByteArrayClassLoader.protectionDomain
The protection domain to apply.
|
protected URL |
PackageDefinitionStrategy.Definition.Simple.sealBase
The seal base or
null if the package is not sealed. |
Modifier and Type | Method and Description |
---|---|
Package |
ByteArrayClassLoader.PackageLookupStrategy.apply(ByteArrayClassLoader classLoader,
String name)
Returns a package for a given byte array class loader and a name.
|
Package |
ByteArrayClassLoader.PackageLookupStrategy.ForLegacyVm.apply(ByteArrayClassLoader classLoader,
String name)
Returns a package for a given byte array class loader and a name.
|
Package |
ByteArrayClassLoader.PackageLookupStrategy.ForJava9CapableVm.apply(ByteArrayClassLoader classLoader,
String name)
Returns a package for a given byte array class loader and a name.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.findClass(ClassLoader classLoader,
String name)
Looks up a class from the given class loader.
|
protected URL |
ByteArrayClassLoader.findResource(String name) |
URL |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
URL |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing.findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
URL |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue.findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
URL |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl.findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
protected ClassLoader |
ClassInjector.UsingInstrumentation.Target.getClassLoader()
Returns the class loader to load classes from.
|
Package |
ClassInjector.UsingReflection.Dispatcher.getDefinedPackage(ClassLoader classLoader,
String name)
Looks up a package from a class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.getDefinedPackage(ClassLoader classLoader,
String name)
Looks up a package from a class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.getDefinedPackage(ClassLoader classLoader,
String name)
Looks up a package from a class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.getDefinedPackage(ClassLoader classLoader,
String name)
Looks up a package from a class loader.
|
String |
PackageDefinitionStrategy.Definition.getImplementationTitle()
Returns the package implementation's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.Trivial.getImplementationTitle()
Returns the package implementation's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getImplementationTitle()
Returns the package implementation's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.getImplementationVendor()
Returns the package implementation's vendor or
null if no such vendor exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getImplementationVendor()
Returns the package implementation's vendor or
null if no such vendor exists. |
String |
PackageDefinitionStrategy.Definition.getImplementationVersion()
Returns the package implementation's version or
null if no such version exists. |
String |
PackageDefinitionStrategy.Definition.Trivial.getImplementationVersion()
Returns the package implementation's version or
null if no such version exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getImplementationVersion()
Returns the package implementation's version or
null if no such version exists. |
Package |
ClassInjector.UsingReflection.Dispatcher.getPackage(ClassLoader classLoader,
String name)
Looks up a package from a class loader or its ancestor.
|
URL |
PackageDefinitionStrategy.Definition.getSealBase()
The URL representing the seal base.
|
URL |
PackageDefinitionStrategy.Definition.Trivial.getSealBase()
The URL representing the seal base.
|
URL |
PackageDefinitionStrategy.Definition.Simple.getSealBase()
The URL representing the seal base.
|
Object |
ClassInjector.UsingReflection.System.getSecurityManager()
Returns the current security manager or
null if not available. |
Object |
ClassInjector.UsingUnsafe.System.getSecurityManager()
Returns the current security manager or
null if not available. |
String |
PackageDefinitionStrategy.Definition.getSpecificationTitle()
Returns the package specification's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.Trivial.getSpecificationTitle()
Returns the package specification's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getSpecificationTitle()
Returns the package specification's title or
null if no such title exists. |
String |
PackageDefinitionStrategy.Definition.getSpecificationVendor()
Returns the package specification's vendor or
null if no such vendor exists. |
String |
PackageDefinitionStrategy.Definition.Trivial.getSpecificationVendor()
Returns the package specification's vendor or
null if no such vendor exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getSpecificationVendor()
Returns the package specification's vendor or
null if no such vendor exists. |
String |
PackageDefinitionStrategy.Definition.getSpecificationVersion()
Returns the package specification's version or
null if no such version exists. |
String |
PackageDefinitionStrategy.Definition.Trivial.getSpecificationVersion()
Returns the package specification's version or
null if no such version exists. |
String |
PackageDefinitionStrategy.Definition.Simple.getSpecificationVersion()
Returns the package specification's version or
null if no such version exists. |
protected abstract byte[] |
ByteArrayClassLoader.PersistenceHandler.lookup(String name,
ConcurrentMap<String,byte[]> typeDefinitions)
Performs a lookup of a class file by its name.
|
URL |
ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction.Dispatcher.of(URI uri,
URLStreamHandler handler)
Resolves a URL from an URI, if possible.
|
byte[] |
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassResettingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
protected abstract URL |
ByteArrayClassLoader.PersistenceHandler.url(String resourceName,
ConcurrentMap<String,byte[]> typeDefinitions)
Returns a URL representing a class file.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.Direct.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingReflection.Dispatcher.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class for the given class loader.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.Enabled.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.Enabled.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingUnsafe.Dispatcher.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.Enabled.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.Enabled.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.Unavailable.defineClass(ClassLoader classLoader,
String name,
byte[] binaryRepresentation,
ProtectionDomain protectionDomain)
Defines a class.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Direct.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
Package |
ClassInjector.UsingReflection.Dispatcher.Unavailable.definePackage(ClassLoader classLoader,
String name,
String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Defines a package for the given class loader.
|
boolean |
PackageDefinitionStrategy.Definition.Simple.equals(Object other) |
boolean |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue.equals(Object other) |
Class<?> |
ClassInjector.UsingJna.Dispatcher.Jvm.JVM_DefineClass(JNIEnv env,
String name,
ClassLoader classLoader,
byte[] binaryRepresentation,
int length,
ProtectionDomain protectionDomain)
Defines a new class into a given class loader.
|
Class<?> |
ClassInjector.UsingJna.Dispatcher.Jvm.JVM_DefineClass(JNIEnv env,
String name,
ClassLoader classLoader,
byte[] binaryRepresentation,
int length,
ProtectionDomain protectionDomain)
Defines a new class into a given class loader.
|
Map<TypeDescription,Class<?>> |
ClassReloadingStrategy.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.Default.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.Default.InjectionDispatcher.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.Default.WrappingDispatcher.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.UsingLookup.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.ForBootstrapInjection.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.ForUnsafeInjection.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.ForJnaInjection.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given set of class descriptions and their binary representations.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given set of class descriptions and their binary representations using a child-first class loader.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean forbidExisting,
boolean sealed)
Loads a given set of class descriptions and their binary representations.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean forbidExisting,
boolean sealed)
Loads a given set of class descriptions and their binary representations.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean forbidExisting,
boolean sealed)
Loads a given set of class descriptions and their binary representations using a child-first class loader.
|
static Map<TypeDescription,Class<?>> |
ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean forbidExisting,
boolean sealed)
Loads a given set of class descriptions and their binary representations using a child-first class loader.
|
Map<TypeDescription,Class<?>> |
InjectionClassLoader.Strategy.load(InjectionClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
Map<TypeDescription,Class<?>> |
ClassLoadingStrategy.load(T classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
ClassInjector |
ClassInjector.UsingUnsafe.Factory.make(ClassLoader classLoader)
Creates a new class injector for the given class loader without a
ProtectionDomain . |
ClassInjector |
ClassInjector.UsingUnsafe.Factory.make(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new class injector for the given class loader and protection domain.
|
ClassInjector |
ClassInjector.UsingUnsafe.Factory.make(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new class injector for the given class loader and protection domain.
|
byte[] |
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassResettingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassResettingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassResettingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassReloadingStrategy.Strategy.ClassResettingTransformer.transform(ClassLoader classLoader,
String internalTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
byte[] |
ClassFilePostProcessor.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
byte[] |
ClassFilePostProcessor.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
byte[] |
ClassFilePostProcessor.NoOp.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
byte[] |
ClassFilePostProcessor.NoOp.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
byte[] |
ClassFilePostProcessor.ForClassFileTransformer.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
byte[] |
ClassFilePostProcessor.ForClassFileTransformer.transform(ClassLoader classLoader,
String name,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Transforms a class file for a given class.
|
Constructor and Description |
---|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.
|
ByteArrayClassLoader(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
boolean sealed,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.
|
ChildFirst(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.
|
Direct(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage)
Creates a new direct injection dispatcher.
|
ForFixedValue(URL sealBase)
Creates a new seal base locator for a fixed URL.
|
ForJava7CapableVm(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage,
Method getClassLoadingLock)
Creates a new resolved reflection store for a VM running at least Java 7.
|
ForJava7CapableVm(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage,
Method getClassLoadingLock)
Creates a new resolved class injector using unsafe field injection for a VM running at least Java 7.
|
ForJnaInjection(ProtectionDomain protectionDomain)
Creates a new class loading strategy for JNA-based injection.
|
ForLegacyVm(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage)
Creates a new resolved reflection store for a VM prior to Java 8.
|
ForLegacyVm(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage)
Creates a new resolved class injector using unsafe field injection for a VM prior to Java 7.
|
ForUnsafeInjection(ProtectionDomain protectionDomain)
Creates a new class loading strategy for unsafe injection.
|
InjectionClassLoader(ClassLoader parent,
boolean sealed)
Creates a new injection class loader.
|
MultipleParentClassLoader(ClassLoader parent,
List<? extends ClassLoader> parents)
Creates a new class loader with multiple parents.
|
MultipleParentClassLoader(ClassLoader parent,
List<? extends ClassLoader> parents,
boolean sealed)
Creates a new class loader with multiple parents.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
Simple(String specificationTitle,
String specificationVersion,
String specificationVendor,
String implementationTitle,
String implementationVersion,
String implementationVendor,
URL sealBase)
Creates a new simple package definition.
|
UsingJna(ClassLoader classLoader)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingJna(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new JNA injector for the given class loader with a default protection domain.
|
UsingJna(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new JNA injector for the given class loader with a default protection domain.
|
UsingReflection(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new injector for the given
ClassLoader and a default PackageDefinitionStrategy where the
injection of existent classes does not trigger an error. |
UsingReflection(ClassLoader classLoader,
ProtectionDomain protectionDomain,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean forbidExisting)
Creates a new injector for the given
ClassLoader and ProtectionDomain . |
UsingUnsafe(ClassLoader classLoader)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingUnsafe(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingUnsafe(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingUnsafe(ClassLoader classLoader,
ProtectionDomain protectionDomain,
ClassInjector.UsingUnsafe.Dispatcher.Initializable dispatcher)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingUnsafe(ClassLoader classLoader,
ProtectionDomain protectionDomain,
ClassInjector.UsingUnsafe.Dispatcher.Initializable dispatcher)
Creates a new unsafe injector for the given class loader with a default protection domain.
|
UsingUnsafeInjection(Object accessor,
Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage,
Method getClassLoadingLock)
Creates a new class loading injection dispatcher using an unsafe injected dispatcher.
|
UsingUnsafeOverride(Method findLoadedClass,
Method defineClass,
Method getDefinedPackage,
Method getPackage,
Method definePackage)
Creates a new unsafe field injecting injection dispatcher.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
TypeWriter.Default.DUMP_FOLDER
A folder for dumping class files or
null if no dump should be generated. |
Modifier and Type | Method and Description |
---|---|
ClassFileVersion |
InstrumentedType.Frozen.getClassFileVersion() |
TypeDescription |
InstrumentedType.Default.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
InstrumentedType.Frozen.getDeclaringType()
Returns the declaring type of this instance.
|
AnnotationValue<?,?> |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
protected Object |
FieldRegistry.Default.Entry.getDefaultValue()
Returns the default value to write to the field or
null if no default value is to be set for the field. |
MethodDescription.InDefinedShape |
InstrumentedType.Default.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
InstrumentedType.Frozen.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
TypeDescription |
InstrumentedType.Default.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
InstrumentedType.Frozen.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
String |
InstrumentedType.Frozen.getGenericSignature()
Returns the generic signature of this byte code element.
|
PackageDescription |
InstrumentedType.Default.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
PackageDescription |
InstrumentedType.Frozen.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
TypeDescription.Generic |
InstrumentedType.Default.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
InstrumentedType.Frozen.getSuperClass()
Returns the super class of this type.
|
protected AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitAnnotation(String descriptor,
boolean visible) |
protected AnnotationVisitor |
TypeWriter.Default.ForInlining.WithDecorationOnly.DecorationClassVisitor.onVisitAnnotation(String descriptor,
boolean visible) |
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
protected MethodVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
protected RecordComponentVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitRecordComponent(String name,
String descriptor,
String genericSignature) |
protected AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
protected AnnotationVisitor |
TypeWriter.Default.ForInlining.WithDecorationOnly.DecorationClassVisitor.onVisitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
protected MethodVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(MethodDescription methodDescription,
boolean abstractOrigin,
int modifiers,
String genericSignature)
Redefines a given method if this is required by looking up a potential implementation from the
TypeWriter.MethodPool . |
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(TypeWriter.FieldPool.Record record,
Object value,
int modifiers,
String genericSignature)
Redefines a field using the given explicit field pool record and default value.
|
protected RecordComponentVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(TypeWriter.RecordComponentPool.Record record,
String genericSignature)
Redefines a record component using the given explicit record component pool record.
|
Object |
TypeWriter.FieldPool.Record.resolveDefault(Object defaultValue)
Resolves the default value that this record represents.
|
Object |
TypeWriter.FieldPool.Record.ForExplicitField.resolveDefault(Object defaultValue)
Resolves the default value that this record represents.
|
AnnotationVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ValidatingClassVisitor.ValidatingMethodVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor.visitAnnotation(String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ValidatingClassVisitor.ValidatingMethodVisitor.visitAnnotationDefault() |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor.visitAnnotationDefault() |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor.visitAnnotationDefault() |
FieldVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
MethodVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exceptionInternalName) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor.visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor.visitParameterAnnotation(int index,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyzeNullable(TypeDescription.Generic typeDescription,
Map<TypeDefinition,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description.
|
boolean |
TypeWriter.Default.SignatureKey.equals(Object other) |
boolean |
MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token.equals(Object other) |
boolean |
MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token.equals(Object other) |
boolean |
MethodGraph.Compiler.Default.Key.equals(Object other) |
boolean |
MethodGraph.Compiler.Default.Key.Store.Entry.Initial.equals(Object other) |
boolean |
FieldRegistry.Default.Compiled.Entry.matches(FieldDescription target)
Matches a target against this element matcher.
|
boolean |
RecordComponentRegistry.Default.Compiled.Entry.matches(RecordComponentDescription target)
Matches a target against this element matcher.
|
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
protected FieldVisitor |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
protected FieldVisitor |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
protected void |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
protected void |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
protected void |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
protected void |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
protected MethodVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
protected MethodVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
protected MethodVisitor |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
protected MethodVisitor |
TypeWriter.Default.ForCreation.CreationClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
protected void |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitOuterClass(String owner,
String name,
String descriptor) |
protected void |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitOuterClass(String owner,
String name,
String descriptor) |
protected RecordComponentVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.onVisitRecordComponent(String name,
String descriptor,
String genericSignature) |
FieldRegistry |
FieldRegistry.prepend(LatentMatcher<? super FieldDescription> matcher,
FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Object defaultValue,
Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.
|
FieldRegistry |
FieldRegistry.Default.prepend(LatentMatcher<? super FieldDescription> matcher,
FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Object defaultValue,
Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.
|
protected MethodVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(MethodDescription methodDescription,
boolean abstractOrigin,
int modifiers,
String genericSignature)
Redefines a given method if this is required by looking up a potential implementation from the
TypeWriter.MethodPool . |
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(TypeWriter.FieldPool.Record record,
Object value,
int modifiers,
String genericSignature)
Redefines a field using the given explicit field pool record and default value.
|
protected FieldVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(TypeWriter.FieldPool.Record record,
Object value,
int modifiers,
String genericSignature)
Redefines a field using the given explicit field pool record and default value.
|
protected RecordComponentVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(TypeWriter.RecordComponentPool.Record record,
String genericSignature)
Redefines a record component using the given explicit record component pool record.
|
Object |
TypeWriter.FieldPool.Record.resolveDefault(Object defaultValue)
Resolves the default value that this record represents.
|
Object |
TypeWriter.FieldPool.Record.ForImplicitField.resolveDefault(Object defaultValue)
Resolves the default value that this record represents.
|
Object |
TypeWriter.FieldPool.Record.ForExplicitField.resolveDefault(Object defaultValue)
Resolves the default value that this record represents.
|
void |
TypeWriter.Default.ValidatingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superName,
String[] interfaceInternalName) |
void |
TypeWriter.Default.ValidatingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superName,
String[] interfaceInternalName) |
void |
TypeWriter.Default.ValidatingClassVisitor.visit(int version,
int modifiers,
String name,
String signature,
String superName,
String[] interfaceInternalName) |
FieldVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
FieldVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitField(int modifiers,
String name,
String descriptor,
String signature,
Object value) |
void |
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
MethodVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exceptionInternalName) |
MethodVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitMethod(int modifiers,
String name,
String descriptor,
String signature,
String[] exceptionInternalName) |
AnnotationVisitor |
TypeWriter.Default.ValidatingClassVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
InstrumentedType |
InstrumentedType.withDeclaringType(TypeDescription declaringType)
Creates a new instrumented type that is declared by the supplied type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withDeclaringType(TypeDescription declaringType)
Creates a new instrumented type that is declared by the supplied type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withDeclaringType(TypeDescription declaringType)
Creates a new instrumented type that is declared by the supplied type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withDeclaringType(TypeDescription declaringType)
Creates a new instrumented type that is declared by the supplied type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withEnclosingType(TypeDescription enclosingType)
Creates a new instrumented type with the supplied enclosing type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withEnclosingType(TypeDescription enclosingType)
Creates a new instrumented type with the supplied enclosing type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withEnclosingType(TypeDescription enclosingType)
Creates a new instrumented type with the supplied enclosing type.
|
InstrumentedType |
InstrumentedType.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
Constructor and Description |
---|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
Map<String,Object> auxiliaryFieldValues,
List<? extends MethodDescription.Token> methodTokens,
List<? extends RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Entry(ElementMatcher<? super FieldDescription> matcher,
FieldAttributeAppender fieldAttributeAppender,
Object defaultValue,
Transformer<FieldDescription> transformer)
Creates a new entry.
|
Entry(LatentMatcher<? super FieldDescription> matcher,
FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
Object defaultValue,
Transformer<FieldDescription> transformer)
Creates a new entry.
|
ForExplicitField(FieldAttributeAppender attributeAppender,
Object defaultValue,
FieldDescription fieldDescription)
Creates a record for a rich field.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue<?,?> |
Implementation.Context.Default.AccessorMethod.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
Implementation.Context.Default.FieldGetter.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
Implementation.Context.Default.FieldSetter.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
protected abstract T |
FieldAccessor.ForSetter.initialize(TypeDescription instrumentedType)
Initializes a value to be used during method instrumentation.
|
String |
ToStringMethod.PrefixResolver.resolve(TypeDescription instrumentedType)
Resolves the prefixed value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Implementation.SpecialMethodInvocation.AbstractBase.equals(Object other) |
boolean |
Implementation.Context.Default.FieldCacheEntry.equals(Object other) |
protected abstract void |
Implementation.Context.FrameGeneration.generate(MethodVisitor methodVisitor,
int type,
int stackCount,
Object[] stack,
int changedLocalVariableCount,
Object[] changedLocalVariable,
int fullLocalVariableCount,
Object[] fullLocalVariable)
Writes frames to a
MethodVisitor , if applicable. |
protected abstract void |
Implementation.Context.FrameGeneration.generate(MethodVisitor methodVisitor,
int type,
int stackCount,
Object[] stack,
int changedLocalVariableCount,
Object[] changedLocalVariable,
int fullLocalVariableCount,
Object[] fullLocalVariable)
Writes frames to a
MethodVisitor , if applicable. |
protected abstract void |
Implementation.Context.FrameGeneration.generate(MethodVisitor methodVisitor,
int type,
int stackCount,
Object[] stack,
int changedLocalVariableCount,
Object[] changedLocalVariable,
int fullLocalVariableCount,
Object[] fullLocalVariable)
Writes frames to a
MethodVisitor , if applicable. |
static MethodCall.ArgumentLoader.Factory |
MethodCall.ArgumentLoader.ForStackManipulation.of(Object value)
Creates an argument loader that loads the supplied value as a constant.
|
protected StackManipulation |
FieldAccessor.ForSetter.OfFieldValue.resolve(FieldAccessor.FieldLocation.Prepared target,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
protected StackManipulation |
FieldAccessor.ForSetter.OfReferenceValue.resolve(FieldDescription.InDefinedShape target,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
protected abstract StackManipulation |
FieldAccessor.ForSetter.resolve(T initialized,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
protected StackManipulation |
FieldAccessor.ForSetter.OfParameterValue.resolve(Void unused,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
protected StackManipulation |
FieldAccessor.ForSetter.OfDefaultValue.resolve(Void initialized,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
protected StackManipulation |
FieldAccessor.ForSetter.OfConstantValue.resolve(Void unused,
FieldDescription fieldDescription,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.
|
Implementation.Composable |
FieldAccessor.ForImplicitProperty.setsValue(Object value)
Defines a setter of a given value for the described field.
|
Constructor and Description |
---|
Appender(TypeDescription instrumentedType,
T initialized,
FieldAccessor.FieldLocation.Prepared fieldLocation)
Creates a new appender for a field setter.
|
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
AnnotationAppender.Target.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnType.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnField.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnMethod.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnMethodParameter.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnRecordComponent.visit(String annotationTypeDescriptor,
boolean visible)
Creates an annotation visitor for writing the specified annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnType.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnField.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnMethod.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnMethodParameter.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
AnnotationVisitor |
AnnotationAppender.Target.OnRecordComponent.visit(String annotationTypeDescriptor,
boolean visible,
int typeReference,
String typePath)
Creates an annotation visitor for writing the specified type annotation.
|
Modifier and Type | Method and Description |
---|---|
static void |
AnnotationAppender.Default.apply(AnnotationVisitor annotationVisitor,
TypeDescription valueType,
String name,
Object value)
Performs the writing of a given annotation value to an annotation visitor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
MethodDelegationBinder.MethodBinding.getTargetParameterIndex(Object parameterBindingToken)
Returns the target method's parameter index for a given parameter binding token.
|
Integer |
MethodDelegationBinder.MethodBinding.Builder.Build.getTargetParameterIndex(Object parameterBindingToken)
Returns the target method's parameter index for a given parameter binding token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ArgumentTypeResolver.ParameterIndexToken.equals(Object other) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.bind(AnnotationDescription.Loadable<S> annotation,
MethodDescription source,
ParameterDescription target)
Resolves a value for the given annotation on a parameter that is processed by a
MethodDelegation . |
protected Object |
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant.bind(AnnotationDescription.Loadable<U> annotation,
MethodDescription source,
ParameterDescription target) |
Modifier and Type | Method and Description |
---|---|
boolean |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.DefaultArgument.equals(Object other) |
static <V extends Annotation> |
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant.of(Class<V> type,
Object value)
Creates a binder for binding a fixed value to a given annotation.
|
Constructor and Description |
---|
OfConstant(Class<U> type,
Object value)
Creates a binder for binding a fixed value to a parameter annotated with the given annotation.
|
Modifier and Type | Field and Description |
---|---|
protected static MethodDescription.InDefinedShape |
MethodConstant.DO_PRIVILEGED
The
java.security.AccessController#doPrivileged(PrivilegedExceptionAction) method or null if
this method is not available on the current VM. |
Modifier and Type | Method and Description |
---|---|
boolean |
MethodConstant.equals(Object other) |
boolean |
MethodConstant.PrivilegedLookup.equals(Object other) |
boolean |
MethodConstant.CachedMethod.equals(Object other) |
boolean |
MethodConstant.CachedConstructor.equals(Object other) |
boolean |
FieldConstant.equals(Object other) |
boolean |
FieldConstant.Cached.equals(Object other) |
static StackManipulation |
SerializedConstant.of(Serializable value)
Creates a new stack manipulation to load the supplied value onto the stack.
|
Modifier and Type | Method and Description |
---|---|
static <T> ElementMatcher.Junction<T> |
ElementMatchers.is(Object value)
Matches the given value which can also be
null by the Object.equals(Object) method or
by a null-check. |
static <T extends ClassLoader> |
ElementMatchers.isChildOf(ClassLoader classLoader)
Matches any class loader that is either the given class loader or a child of the given class loader.
|
static <T extends ClassLoader> |
ElementMatchers.isParentOf(ClassLoader classLoader)
Matches any class loader that is either the given class loader or a parent of the given class loader.
|
boolean |
NullMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
NegatingMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
FailSafeMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
EqualityMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
ClassLoaderParentMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
ClassLoaderHierarchyMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
CachingMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
BooleanMatcher.matches(T target)
Matches a target against this element matcher.
|
boolean |
ElementMatcher.Junction.ForNonNullValues.matches(W target)
Matches a target against this element matcher.
|
protected boolean |
CachingMatcher.WithInlineEviction.onCacheMiss(S target)
Invoked if the cache is not hit.
|
protected boolean |
CachingMatcher.onCacheMiss(T target)
Invoked if the cache is not hit.
|
Constructor and Description |
---|
ClassLoaderParentMatcher(ClassLoader classLoader)
Creates a class loader parent element matcher.
|
Modifier and Type | Field and Description |
---|---|
protected String |
TypePool.Default.GenericTypeExtractor.ForSignature.currentTypeParameter
The name of the currently constructed type.
|
static String |
TypePool.AbstractBase.ComponentTypeReference.NO_ARRAY
Indicates that no component type is defined for the property.
|
static TypePool.Resolution |
TypePool.CacheProvider.UNRESOLVED
The value that is returned on a cache-miss.
|
Modifier and Type | Method and Description |
---|---|
TypePool.Resolution |
TypePool.CacheProvider.find(String name)
Attempts to find a resolution in this cache.
|
TypePool.Resolution |
TypePool.CacheProvider.NoOp.find(String name)
Attempts to find a resolution in this cache.
|
TypePool.Resolution |
TypePool.CacheProvider.Simple.find(String name)
Attempts to find a resolution in this cache.
|
TypePool.Resolution |
TypePool.CacheProvider.Simple.UsingSoftReference.find(String name)
Attempts to find a resolution in this cache.
|
TypePool.Resolution |
TypePool.CacheProvider.Discriminating.find(String name)
Attempts to find a resolution in this cache.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getComponentType()
Returns the component type of this type.
|
TypeDescription |
TypePool.Default.LazyTypeDescription.getDeclaringType()
Returns the declaring type of this instance.
|
MethodDescription.InDefinedShape |
TypePool.Default.LazyTypeDescription.getEnclosingMethod()
Returns a description of the method that encloses this type.
|
MethodDescription.InDefinedShape |
TypePool.Default.LazyTypeDescription.TypeContainment.getEnclosingMethod(TypePool typePool)
Returns the enclosing method or
null if no such method exists. |
MethodDescription.InDefinedShape |
TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained.getEnclosingMethod(TypePool typePool)
Returns the enclosing method or
null if no such method exists. |
MethodDescription.InDefinedShape |
TypePool.Default.LazyTypeDescription.TypeContainment.WithinType.getEnclosingMethod(TypePool typePool)
Returns the enclosing method or
null if no such method exists. |
TypeDescription |
TypePool.Default.LazyTypeDescription.getEnclosingType()
Returns a description of this type's enclosing type if any.
|
TypeDescription |
TypePool.Default.LazyTypeDescription.TypeContainment.getEnclosingType(TypePool typePool)
Returns the enclosing type or
null if no such type exists. |
TypeDescription |
TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained.getEnclosingType(TypePool typePool)
Returns the enclosing type or
null if no such type exists. |
String |
TypePool.Default.LazyTypeDescription.getGenericSignature() |
protected Integer |
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken.getModifiers()
Returns the modifiers of the parameter or
null if no modifiers are known. |
protected String |
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken.getName()
Returns the name of the parameter or
null if there is no such name. |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.
|
PackageDescription |
TypePool.Default.LazyTypeDescription.getPackage()
Returns the package of the type described by this instance or
null if the described type
is a primitive type or an array. |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.getSuperClass()
Returns the super class of this type.
|
String |
TypePool.AbstractBase.ComponentTypeReference.resolve()
Lazily resolves the binary name of the array component type of an annotation value.
|
String |
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty.Bound.resolve()
Lazily resolves the binary name of the array component type of an annotation value.
|
String[] |
TypePool.Default.LazyTypeDescription.LazyTypeList.toInternalNames()
Returns a list of internal names of all types represented by this list.
|
MethodVisitor |
TypePool.Default.TypeExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
AnnotationVisitor |
TypePool.Default.TypeExtractor.FieldExtractor.visitTypeAnnotation(int rawTypeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypePool.Default.TypeExtractor.MethodExtractor.visitTypeAnnotation(int rawTypeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType |
TypePool.Default.GenericTypeExtractor.ForSignature.OfType.extract(String genericSignature)
Extracts a generic type resolution of a type signature.
|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField |
TypePool.Default.GenericTypeExtractor.ForSignature.OfField.extract(String genericSignature)
Extracts a generic field resolution of a field signature.
|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod |
TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod.extract(String genericSignature)
Extracts a generic method resolution of a method signature.
|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent |
TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent.extract(String genericSignature)
Extracts a generic field resolution of a field signature.
|
static TypePool |
TypePool.Default.of(ClassLoader classLoader)
Returns a type pool for the provided class loader.
|
static TypePool |
TypePool.Default.WithLazyResolution.of(ClassLoader classLoader)
Returns a default
TypePool with lazy resolution for the provided class loader. |
static TypePool |
TypePool.ClassLoading.of(ClassLoader classLoader)
Returns a type pool that attempts type descriptions by loadings types from the given class loader.
|
static TypePool |
TypePool.ClassLoading.of(ClassLoader classLoader,
TypePool parent)
Returns a type pool that attempts type descriptions by loadings types from the given class loader.
|
protected static TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList.of(TypePool typePool,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
List<String> descriptors)
Creates generic type list only representing raw types.
|
protected static TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.of(TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
String descriptor)
Creates a new raw annotated type.
|
protected static TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.of(TypePool typePool,
TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken,
String rawTypeDescriptor,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeVariableSource typeVariableSource)
Creates a new generic type description for a tokenized generic type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
void |
TypePool.Default.TypeExtractor.visit(int classFileVersion,
int modifiers,
String internalName,
String genericSignature,
String superClassName,
String[] interfaceName) |
void |
TypePool.Default.TypeExtractor.visit(int classFileVersion,
int modifiers,
String internalName,
String genericSignature,
String superClassName,
String[] interfaceName) |
void |
TypePool.Default.TypeExtractor.visit(int classFileVersion,
int modifiers,
String internalName,
String genericSignature,
String superClassName,
String[] interfaceName) |
FieldVisitor |
TypePool.Default.TypeExtractor.visitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
FieldVisitor |
TypePool.Default.TypeExtractor.visitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
void |
TypePool.Default.TypeExtractor.visitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
void |
TypePool.Default.TypeExtractor.visitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
MethodVisitor |
TypePool.Default.TypeExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
MethodVisitor |
TypePool.Default.TypeExtractor.visitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
void |
TypePool.Default.TypeExtractor.visitOuterClass(String typeName,
String methodName,
String methodDescriptor) |
void |
TypePool.Default.TypeExtractor.visitOuterClass(String typeName,
String methodName,
String methodDescriptor) |
RecordComponentVisitor |
TypePool.Default.TypeExtractor.visitRecordComponent(String name,
String descriptor,
String signature) |
AnnotationVisitor |
TypePool.Default.TypeExtractor.visitTypeAnnotation(int rawTypeReference,
TypePath typePath,
String descriptor,
boolean visible) |
AnnotationVisitor |
TypePool.Default.TypeExtractor.FieldExtractor.visitTypeAnnotation(int rawTypeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
<T> Queue<T> |
QueueFactory.Dispatcher.arrayDeque()
Creates a new array deque.
|
<T> Queue<T> |
QueueFactory.Dispatcher.arrayDeque(Collection<? extends T> elements)
Creates a new array deque.
|
ClassLoader |
JavaModule.getClassLoader()
Returns the class loader of this module.
|
ClassLoader |
JavaModule.Module.getClassLoader(Object value)
Returns the class loader of a module.
|
Object |
JavaModule.Resolver.getModule(Class<?> type)
Resolves the
java.lang.Module of the supplied type. |
InputStream |
JavaModule.Module.getResourceAsStream(Object value,
String name)
Returns a resource stream for this module for a resource of the given name or
null if such a resource does not exist. |
InputStream |
JavaModule.getResourceAsStream(String name)
Returns a resource stream for this module for a resource of the given name or
null if such a resource does not exist. |
Object |
Invoker.invoke(Method method,
Object instance,
Object[] argument)
Invokes a method via
Method.invoke(Object, Object...) . |
protected static JavaConstant |
JavaConstant.Simple.ofLoadedOrNull(Object value)
Resolves a loaded Java value to a Java constant representation.
|
static JavaModule |
JavaModule.ofType(Class<?> type)
Returns a representation of the supplied type's
java.lang.Module or null if the current VM does not support modules. |
static ConstantValue |
ConstantValue.Simple.wrapOrNull(Object value)
Returns a constant value for the supplied constant value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JavaModule.equals(Object other) |
boolean |
JavaConstant.Simple.equals(Object object) |
boolean |
JavaConstant.MethodType.equals(Object other) |
boolean |
JavaConstant.MethodHandle.equals(Object other) |
boolean |
JavaConstant.Dynamic.equals(Object object) |
static String |
RandomString.hashOf(Object value)
Represents a object value as a string hash.
|
Object |
Invoker.invoke(Method method,
Object instance,
Object[] argument)
Invokes a method via
Method.invoke(Object, Object...) . |
Object |
Invoker.invoke(Method method,
Object instance,
Object[] argument)
Invokes a method via
Method.invoke(Object, Object...) . |
boolean |
JavaModule.isExported(PackageDescription packageDescription,
JavaModule module)
Returns
true if this module exports the supplied package to this module. |
boolean |
JavaModule.isOpened(PackageDescription packageDescription,
JavaModule module)
Returns
true if this module opens the supplied package to this module. |
static JavaConstant |
JavaConstant.Simple.ofDescription(Object value,
ClassLoader classLoader)
Creates a Java constant value from a
java.lang.constant.ConstantDesc . |
Constructor and Description |
---|
LatentTypeWithSimpleName(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type with a simple name.
|
Modifier and Type | Method and Description |
---|---|
Object |
JavaDispatcher.Dispatcher.invoke(Object[] argument)
Invokes the proxied action.
|
Object |
JavaDispatcher.Dispatcher.ForDefaultValue.invoke(Object[] argument)
Invokes the proxied action.
|
Object |
JavaDispatcher.Dispatcher.ForStaticMethod.invoke(Object[] argument)
Invokes the proxied action.
|
Object |
JavaDispatcher.ProxiedInvocationHandler.invoke(Object proxy,
Method method,
Object[] argument) |
Modifier and Type | Method and Description |
---|---|
void |
JavaDispatcher.DynamicClassLoader.Resolver.accept(ClassLoader classLoader,
Class<?> target)
Adjusts a module graph if necessary.
|
void |
JavaDispatcher.DynamicClassLoader.Resolver.NoOp.accept(ClassLoader classLoader,
Class<?> target)
Adjusts a module graph if necessary.
|
void |
JavaDispatcher.DynamicClassLoader.Resolver.ForModuleSystem.accept(ClassLoader classLoader,
Class<?> target)
Adjusts a module graph if necessary.
|
Object |
JavaDispatcher.ProxiedInvocationHandler.invoke(Object proxy,
Method method,
Object[] argument) |
protected static <T> PrivilegedAction<T> |
JavaDispatcher.of(Class<T> type,
ClassLoader classLoader)
Resolves an action for creating a dispatcher for the provided type.
|
protected static <T> PrivilegedAction<T> |
JavaDispatcher.of(Class<T> type,
ClassLoader classLoader,
boolean generate)
Resolves an action for creating a dispatcher for the provided type.
|
Constructor and Description |
---|
JavaDispatcher(Class<T> proxy,
ClassLoader classLoader,
boolean generate)
Creates a new dispatcher.
|
Modifier and Type | Method and Description |
---|---|
Method |
GetMethodAction.run() |
Modifier and Type | Method and Description |
---|---|
protected AnnotationVisitor |
MetadataAwareClassVisitor.onVisitAnnotation(String descriptor,
boolean visible)
An order-sensitive invocation of
ClassVisitor.visitAnnotation(String, boolean) . |
protected FieldVisitor |
MetadataAwareClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value)
An order-sensitive invocation of
ClassVisitor.visitField(int, String, String, String, Object) . |
protected MethodVisitor |
MetadataAwareClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception)
An order-sensitive invocation of
ClassVisitor.visitMethod(int, String, String, String, String[]) . |
protected RecordComponentVisitor |
MetadataAwareClassVisitor.onVisitRecordComponent(String name,
String descriptor,
String signature)
An order-sensitive invocation of
ClassVisitor.visitRecordComponent(String, String, String) . |
protected AnnotationVisitor |
MetadataAwareClassVisitor.onVisitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible)
An order-sensitive invocation of
ClassVisitor.visitTypeAnnotation(int, TypePath, String, boolean) . |
AnnotationVisitor |
MetadataAwareClassVisitor.visitAnnotation(String descriptor,
boolean visible) |
FieldVisitor |
MetadataAwareClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
MethodVisitor |
MetadataAwareClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
RecordComponentVisitor |
MetadataAwareClassVisitor.visitRecordComponent(String name,
String descriptor,
String signature) |
AnnotationVisitor |
MetadataAwareClassVisitor.visitTypeAnnotation(int typeReference,
TypePath typePath,
String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
protected FieldVisitor |
MetadataAwareClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value)
An order-sensitive invocation of
ClassVisitor.visitField(int, String, String, String, Object) . |
protected FieldVisitor |
MetadataAwareClassVisitor.onVisitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value)
An order-sensitive invocation of
ClassVisitor.visitField(int, String, String, String, Object) . |
protected void |
MetadataAwareClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers)
An order-sensitive invocation of
ClassVisitor.visitInnerClass(String, String, String, int) . |
protected void |
MetadataAwareClassVisitor.onVisitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers)
An order-sensitive invocation of
ClassVisitor.visitInnerClass(String, String, String, int) . |
protected MethodVisitor |
MetadataAwareClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception)
An order-sensitive invocation of
ClassVisitor.visitMethod(int, String, String, String, String[]) . |
protected MethodVisitor |
MetadataAwareClassVisitor.onVisitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception)
An order-sensitive invocation of
ClassVisitor.visitMethod(int, String, String, String, String[]) . |
protected void |
MetadataAwareClassVisitor.onVisitOuterClass(String owner,
String name,
String descriptor)
An order-sensitive invocation of
ClassVisitor.visitOuterClass(String, String, String) . |
protected void |
MetadataAwareClassVisitor.onVisitOuterClass(String owner,
String name,
String descriptor)
An order-sensitive invocation of
ClassVisitor.visitOuterClass(String, String, String) . |
protected RecordComponentVisitor |
MetadataAwareClassVisitor.onVisitRecordComponent(String name,
String descriptor,
String signature)
An order-sensitive invocation of
ClassVisitor.visitRecordComponent(String, String, String) . |
FieldVisitor |
MetadataAwareClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
FieldVisitor |
MetadataAwareClassVisitor.visitField(int modifiers,
String internalName,
String descriptor,
String signature,
Object value) |
void |
StackAwareMethodVisitor.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
StackAwareMethodVisitor.visitFrame(int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack) |
void |
MetadataAwareClassVisitor.visitInnerClass(String name,
String outerName,
String innerName,
int modifiers) |
void |
MetadataAwareClassVisitor.visitInnerClass(String name,
String outerName,
String innerName,
int modifiers) |
MethodVisitor |
MetadataAwareClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
MethodVisitor |
MetadataAwareClassVisitor.visitMethod(int modifiers,
String internalName,
String descriptor,
String signature,
String[] exception) |
void |
MetadataAwareClassVisitor.visitOuterClass(String owner,
String name,
String descriptor) |
void |
MetadataAwareClassVisitor.visitOuterClass(String owner,
String name,
String descriptor) |
RecordComponentVisitor |
MetadataAwareClassVisitor.visitRecordComponent(String name,
String descriptor,
String signature) |
void |
StackAwareMethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
Copyright © 2014–2024. All rights reserved.