Uses of Class
net.bytebuddy.utility.nullability.MaybeNull
-
Packages that use MaybeNull 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.build.maven A package containing classes for applying Byte Buddy transformers within a Maven build.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 bybyte
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 creatingTypeDescription
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 containingPrivilegedAction
s that are used for invoking sensitive methods.net.bytebuddy.utility.visitor A package containing visitor classes for ASM. -
-
Uses of MaybeNull in net.bytebuddy
Fields in net.bytebuddy with annotations of type MaybeNull Modifier and Type Field Description private java.lang.ClassLoader
TypeCache.LookupKey. classLoader
The referenced class loader ornull
for the bootstrap loader.private static AuxiliaryType.NamingStrategy
ByteBuddy. DEFAULT_AUXILIARY_NAMING_STRATEGY
The default auxiliary naming strategy ornull
if no such strategy is set.private static Implementation.Context.Factory
ByteBuddy. DEFAULT_IMPLEMENTATION_CONTEXT_FACTORY
The default implementation context factory ornull
if no such factory is set.private static NamingStrategy
ByteBuddy. DEFAULT_NAMING_STRATEGY
The default naming strategy ornull
if no such strategy is set.Methods in net.bytebuddy with annotations of type MaybeNull Modifier and Type Method Description private static <T> T
ByteBuddy. doPrivileged(java.security.PrivilegedAction<T> action)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.java.lang.Class<?>
TypeCache. find(java.lang.ClassLoader classLoader, T key)
Finds a stored type or returnsnull
if no type was stored.Method parameters in net.bytebuddy with annotations of type MaybeNull Modifier and Type Method Description boolean
ClassFileVersion. equals(java.lang.Object other)
boolean
TypeCache.LookupKey. equals(java.lang.Object other)
boolean
TypeCache.SimpleKey. equals(java.lang.Object other)
boolean
TypeCache.StorageKey. equals(java.lang.Object other)
java.lang.Class<?>
TypeCache. find(java.lang.ClassLoader classLoader, T key)
Finds a stored type or returnsnull
if no type was stored.java.lang.Class<?>
TypeCache.WithInlineExpunction. find(java.lang.ClassLoader classLoader, S key)
Finds a stored type or returnsnull
if no type was stored.java.lang.Class<?>
TypeCache. findOrInsert(java.lang.ClassLoader classLoader, T key, java.util.concurrent.Callable<java.lang.Class<?>> lazy)
Finds an existing type or inserts a new one if the previous type was not found.java.lang.Class<?>
TypeCache. findOrInsert(java.lang.ClassLoader classLoader, T key, java.util.concurrent.Callable<java.lang.Class<?>> lazy, java.lang.Object monitor)
Finds an existing type or inserts a new one if the previous type was not found.java.lang.Class<?>
TypeCache.WithInlineExpunction. findOrInsert(java.lang.ClassLoader classLoader, S key, java.util.concurrent.Callable<java.lang.Class<?>> builder)
Finds an existing type or inserts a new one if the previous type was not found.java.lang.Class<?>
TypeCache.WithInlineExpunction. findOrInsert(java.lang.ClassLoader classLoader, S key, java.util.concurrent.Callable<java.lang.Class<?>> builder, java.lang.Object monitor)
Finds an existing type or inserts a new one if the previous type was not found.java.lang.Class<?>
TypeCache. insert(java.lang.ClassLoader classLoader, T key, java.lang.Class<?> type)
Inserts a new type into the cache.java.lang.Class<?>
TypeCache.WithInlineExpunction. insert(java.lang.ClassLoader classLoader, S key, java.lang.Class<?> type)
Inserts a new type into the cache.Constructor parameters in net.bytebuddy with annotations of type MaybeNull Constructor Description LookupKey(java.lang.ClassLoader classLoader)
Creates a new lookup key.StorageKey(java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue)
Creates a new storage key. -
Uses of MaybeNull in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder with annotations of type MaybeNull Modifier and Type Field Description private java.lang.Object
AgentBuilder.Default.ExecutingTransformer. accessControlContext
The access control context to use for loading classes ornull
if the access controller is not available on the current VM.private AgentBuilder.RedefinitionStrategy.ResubmissionScheduler.Cancelable
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener. cancelable
This scheduler's cancelable ornull
if no cancelable was registered.private java.lang.Class<?>
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher. classBeingRedefined
The class being redefined ornull
if no such class exists.private java.lang.Class<?>
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher. classBeingRedefined
The class being redefined ornull
if no such class exists.private java.lang.Class<?>
AgentBuilder.Default.Transformation.TransformerIterator. classBeingRedefined
The class being redefined ornull
if the type was not previously loaded.private java.lang.ClassLoader
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher. classLoader
The type's class loader ornull
if the type is loaded by the bootstrap loader.private java.lang.ClassLoader
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher. classLoader
The type's class loader ornull
if the bootstrap class loader is represented.private java.lang.ClassLoader
AgentBuilder.Default.Transformation.TransformerIterator. classLoader
The type's class loader.private java.lang.ClassLoader
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate.SimpleClassLoadingAction. classLoader
The type's class loader ornull
if the type is loaded by the bootstrap loader.private java.lang.ClassLoader
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey. classLoader
The represented class loader.private java.util.Iterator<? extends java.util.List<java.lang.Class<?>>>
AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator. current
The current iterator ornull
if no such iterator is defined.private java.lang.String
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher. internalTypeName
The type's internal name ornull
if no such name exists.private java.lang.String
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher. internalTypeName
The type's internal name ornull
if no such name exists.private JavaModule
AgentBuilder.Default.Transformation.TransformerIterator. module
The type's module.private java.security.ProtectionDomain
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher. protectionDomain
The type's protection domain ornull
if not available.private java.security.ProtectionDomain
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher. protectionDomain
The type's protection domain ornull
if not available.private java.security.ProtectionDomain
AgentBuilder.Default.Transformation.TransformerIterator. protectionDomain
The type's protection domain ornull
if not available.private java.util.List<java.lang.Class<?>>
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.ReiteratingIterator. types
The current list of types ornull
if the current list of types is not prepared.private java.util.List<java.lang.Class<?>>
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating.WithSortOrderAssumption.OrderedReiteratingIterator. types
The current list of types ornull
if the current list of types is not prepared.Methods in net.bytebuddy.agent.builder with annotations of type MaybeNull Modifier and Type Method Description private byte[]
AgentBuilder.Default.ExecutingTransformer. doTransform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, boolean loaded, java.security.ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private static java.lang.Object
AgentBuilder.Default.ExecutingTransformer. getContext()
A proxy forjava.security.AccessController#getContext
that is activated if available.java.lang.Throwable
AgentBuilder.InstallationListener.Compound. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener.ErrorSuppressing. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.byte[]
AgentBuilder.Default.ExecutingTransformer.Java9CapableVmDispatcher. run()
byte[]
AgentBuilder.Default.ExecutingTransformer.LegacyVmDispatcher. run()
byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
protected byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.byte[]
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher. transform(java.lang.instrument.ClassFileTransformer target, java.lang.Object module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class.Method parameters in net.bytebuddy.agent.builder with annotations of type MaybeNull Modifier and Type Method Description TypeDescription
AgentBuilder.DescriptionStrategy. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.TypeDescription
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous. apply(java.lang.String name, java.lang.Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, java.lang.ClassLoader classLoader, JavaModule module)
Describes the given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy.ForBuildEntryPoint. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy.ForBuildEntryPoint. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy.ForBuildEntryPoint. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.ClassFileLocator
AgentBuilder.LocationStrategy. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.Compound. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.Compound. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.NoOp. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.NoOp. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.Simple. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.Simple. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.private void
AgentBuilder.RedefinitionStrategy.Collector. doConsider(AgentBuilder.RawMatcher matcher, AgentBuilder.Listener listener, TypeDescription typeDescription, java.lang.Class<?> type, java.lang.Class<?> classBeingRedefined, JavaModule module, boolean modifiable)
Does consider the retransformation or redefinition of a loaded type.private void
AgentBuilder.RedefinitionStrategy.Collector. doConsider(AgentBuilder.RawMatcher matcher, AgentBuilder.Listener listener, TypeDescription typeDescription, java.lang.Class<?> type, java.lang.Class<?> classBeingRedefined, JavaModule module, boolean modifiable)
Does consider the retransformation or redefinition of a loaded type.private static <T> T
AgentBuilder.Default.ExecutingTransformer. doPrivileged(java.security.PrivilegedAction<T> action, java.lang.Object context)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.private byte[]
AgentBuilder.Default.ExecutingTransformer. doTransform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, boolean loaded, java.security.ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. doTransform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, boolean loaded, java.security.ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. doTransform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, boolean loaded, java.security.ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. doTransform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, boolean loaded, java.security.ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator)
Applies a transformation for a class that was captured by thisClassFileTransformer
.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey. equals(java.lang.Object other)
boolean
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey. equals(java.lang.Object other)
boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.boolean
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter. isEnforced(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined)
Returnstrue
if a class should be scheduled for resubmission.protected abstract boolean
AgentBuilder.LambdaInstrumentationStrategy. isInstrumented(java.lang.Class<?> type)
Validates if the supplied class is instrumented.java.util.Iterator<AgentBuilder.Transformer>
AgentBuilder.Default.ExecutingTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
AgentBuilder.Default.ExecutingTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
AgentBuilder.Default.ExecutingTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
AgentBuilder.Default.ExecutingTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation.Substitutable. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation.Substitutable. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation.Substitutable. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.util.Iterator<AgentBuilder.Transformer>
ResettableClassFileTransformer.WithDelegation.Substitutable. iterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Creates an iterator over the transformers that are applied for a given type.java.lang.Class<?>
AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.ThreadSwitchingClassLoadingDelegate. load(java.lang.String name, java.lang.ClassLoader classLoader)
Loads a type.java.lang.Class<?>
AgentBuilder.DescriptionStrategy.SuperTypeLoading.UnlockingClassLoadingDelegate. load(java.lang.String name, java.lang.ClassLoader classLoader)
Loads a type.protected abstract TypePool.CacheProvider
AgentBuilder.PoolStrategy.WithTypePoolCache. locate(java.lang.ClassLoader classLoader)
Locates a cache provider for a given class loader.protected TypePool.CacheProvider
AgentBuilder.PoolStrategy.WithTypePoolCache.Simple. locate(java.lang.ClassLoader classLoader)
boolean
AgentBuilder.Default.Transformation.DifferentialMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.DifferentialMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.DifferentialMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.DifferentialMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.SimpleMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.SimpleMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.SimpleMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.Default.Transformation.SimpleMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Conjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Conjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Conjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Conjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Disjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Disjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Disjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Disjunction. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForElementMatchers. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForElementMatchers. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForElementMatchers. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForElementMatchers. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForLoadState. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForLoadState. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForLoadState. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForLoadState. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForResolvableTypes. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForResolvableTypes. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForResolvableTypes. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.ForResolvableTypes. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Inversion. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Inversion. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Inversion. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Inversion. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Trivial. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Trivial. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Trivial. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RawMatcher.Trivial. matches(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain)
Decides if the giventypeDescription
should be instrumented with the entailedAgentBuilder.Transformer
s.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial. matches(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.boolean
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial. matches(java.lang.Throwable throwable, java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module)
Returnstrue
if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.void
AgentBuilder.Listener.Adapter. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Adapter. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Compound. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Compound. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Filtering. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Filtering. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.NoOp. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.NoOp. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.StreamWriting. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.StreamWriting. onComplete(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked after a class was attempted to be loaded, independently of its treatment.void
AgentBuilder.Listener.Adapter. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Adapter. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Compound. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Compound. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Filtering. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Filtering. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.NoOp. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.NoOp. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.StreamWriting. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.StreamWriting. onDiscovery(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked upon a type being supplied to a transformer.void
AgentBuilder.Listener.Adapter. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Adapter. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Compound. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Compound. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Filtering. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Filtering. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.NoOp. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.NoOp. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.StreamWriting. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.StreamWriting. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.WithErrorsOnly. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
void
AgentBuilder.Listener.WithErrorsOnly. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
void
AgentBuilder.Listener.WithTransformationsOnly. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
void
AgentBuilder.Listener.WithTransformationsOnly. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter. onError(java.lang.String typeName, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, java.lang.Throwable throwable)
Invoked when an error has occurred during transformation.void
AgentBuilder.Listener.Adapter. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Adapter. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Compound. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Compound. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Filtering. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Filtering. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.NoOp. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.NoOp. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.StreamWriting. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.StreamWriting. onIgnored(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded)
Invoked when a type is not transformed but ignored.void
AgentBuilder.Listener.Adapter. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Adapter. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Compound. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Compound. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Filtering. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.Filtering. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.ModuleReadEdgeCompleting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
void
AgentBuilder.Listener.ModuleReadEdgeCompleting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
void
AgentBuilder.Listener.NoOp. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.NoOp. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.StreamWriting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.StreamWriting. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
Invoked prior to a successful transformation being applied.void
AgentBuilder.Listener.WithTransformationsOnly. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
void
AgentBuilder.Listener.WithTransformationsOnly. onTransformation(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType)
void
AgentBuilder.InitializationStrategy.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.Dispatcher. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.Minimal. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.Minimal. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.NoOp. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.void
AgentBuilder.InitializationStrategy.NoOp. register(DynamicType dynamicType, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.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, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, AgentBuilder.InjectionStrategy injectionStrategy)
Registers a dynamic type for initialization and/or begins the initialization process.ClassFileLocator
AgentBuilder.ClassFileBufferStrategy. resolve(java.lang.String name, byte[] binaryRepresentation, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.ClassFileLocator
AgentBuilder.ClassFileBufferStrategy. resolve(java.lang.String name, byte[] binaryRepresentation, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.ClassFileLocator
AgentBuilder.ClassFileBufferStrategy. resolve(java.lang.String name, byte[] binaryRepresentation, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Resolves a class file locator for the class file buffer that is provided to the class file transformer.ClassInjector
AgentBuilder.InjectionStrategy.Disabled. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.Disabled. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingInstrumentation. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingInstrumentation. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingJna. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingJna. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingReflection. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingReflection. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingUnsafe. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.ClassInjector
AgentBuilder.InjectionStrategy.UsingUnsafe. resolve(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
protected byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.protected byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.protected byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.protected byte[]
AgentBuilder.Default.ExecutingTransformer. transform(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.private byte[]
AgentBuilder.Default.ExecutingTransformer. transform(JavaModule module, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Applies a transformation for a class that was captured by thisClassFileTransformer
.byte[]
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher. transform(java.lang.instrument.ClassFileTransformer target, java.lang.Object module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class.byte[]
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher. transform(java.lang.instrument.ClassFileTransformer target, java.lang.Object module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class.byte[]
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher. transform(java.lang.instrument.ClassFileTransformer target, java.lang.Object module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class.byte[]
AgentBuilder.Default.WarmupStrategy.Enabled.Dispatcher. transform(java.lang.instrument.ClassFileTransformer target, java.lang.Object module, java.lang.ClassLoader classLoader, java.lang.String name, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class.DynamicType.Builder<?>
AgentBuilder.Transformer.ForAdvice. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer.ForAdvice. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer.ForAdvice. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer.ForBuildPlugin. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer.ForBuildPlugin. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer.ForBuildPlugin. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.DynamicType.Builder<?>
AgentBuilder.Transformer. transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Allows for a transformation of aDynamicType.Builder
.TypePool
AgentBuilder.ClassFileBufferStrategy. typePool(AgentBuilder.PoolStrategy poolStrategy, ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Resolves the type pool for a given type name by the suppliedAgentBuilder.PoolStrategy
.TypePool
AgentBuilder.PoolStrategy.ClassLoading. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.ClassLoading. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.Default. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.Default. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.Eager. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.Eager. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.WithTypePoolCache. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.WithTypePoolCache. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader, java.lang.String name)
Creates a type pool for a given class file locator.protected AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
AgentBuilder.Transformer.ForAdvice. wrap(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.security.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, java.lang.ClassLoader classLoader, JavaModule module, java.security.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, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain, Advice advice)
Allows for decoration of advice for subclass implementations of this transformer.Constructor parameters in net.bytebuddy.agent.builder with annotations of type MaybeNull Constructor Description Java9CapableVmDispatcher(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new legacy dispatcher.Java9CapableVmDispatcher(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new legacy dispatcher.Java9CapableVmDispatcher(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new legacy dispatcher.Java9CapableVmDispatcher(java.lang.Object rawModule, java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new legacy dispatcher.LegacyVmDispatcher(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new type transformation dispatcher.LegacyVmDispatcher(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new type transformation dispatcher.LegacyVmDispatcher(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new type transformation dispatcher.LegacyVmDispatcher(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Creates a new type transformation dispatcher.LookupKey(java.lang.ClassLoader classLoader)
Creates a new lookup key.SimpleClassLoadingAction(java.lang.String name, java.lang.ClassLoader classLoader)
Creates a simple class loading action.StorageKey(java.lang.ClassLoader classLoader)
Creates a new storage key.TransformerIterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, java.util.List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.TransformerIterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, java.util.List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.TransformerIterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, java.util.List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator.TransformerIterator(TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, java.util.List<AgentBuilder.Default.Transformation> transformations)
Creates a new iterator. -
Uses of MaybeNull in net.bytebuddy.asm
Fields in net.bytebuddy.asm with annotations of type MaybeNull Modifier and Type Field Description private TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory. result
The result type ornull
if the type of the substitution result should be targeted.private TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForAssignment. result
The result type ornull
if the type of the substitution result should be targeted.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. sourceConstantDynamic
TheConstantDynamic
type in the original namespace.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. sourceHandle
TheHandle
type in the original namespace.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. sourceType
TheType
type in the original namespace.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. targetConstantDynamic
TheConstantDynamic
type in the targeted namespace.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. targetHandle
TheHandle
type in the targeted namespace.private java.lang.Class<?>
ClassVisitorFactory.ConstantTranslator. targetType
TheType
type in the targeted namespace.private Assigner.Typing
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments. typing
The typing to use ornull
if implicit typing.private Assigner.Typing
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument. typing
The typing to use ornull
if the global typing setting should be applied.private Assigner.Typing
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent. typing
The typing to use ornull
if implicit typing.private Assigner.Typing
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField. typing
The typing to use ornull
if implicit typing.private Assigner.Typing
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference. typing
The typing to use ornull
if implicit typing.Methods in net.bytebuddy.asm with annotations of type MaybeNull Modifier and Type Method Description protected abstract MemberSubstitution.Source.Value
MemberSubstitution.Source. argument(int index, TypeList.Generic parameters, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, MemberSubstitution.Target target, MethodDescription instrumentedMethod)
Resolves a value representation of the parameter of the specified index ornull
if no such parameter is available.protected abstract MemberSubstitution.Source.Value
MemberSubstitution.Source. self(TypeList.Generic parameters, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, MemberSubstitution.Target target, MethodDescription instrumentedMethod)
Resolves a value representation of thethis
reference ornull
if no such reference is available.org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceAnnotationVisitor. visitAnnotation(java.lang.String name, java.lang.String descriptor)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceFieldVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitAnnotationDefault()
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitAnnotationDefault()
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceAnnotationVisitor. visitArray(java.lang.String name)
org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
MemberRemoval.MemberRemovingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitInsnAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitLocalVariableAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] offset, java.lang.String descriptor, boolean visible)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptions)
org.objectweb.asm.MethodVisitor
MemberRemoval.MemberRemovingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitParameterAnnotation(int index, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitParameterAnnotation(int index, java.lang.String descriptor, boolean visible)
org.objectweb.asm.RecordComponentVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableSubstitutor. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Method parameters in net.bytebuddy.asm with annotations of type MaybeNull Modifier and Type Method Description Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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.Unresolved. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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.Delegating. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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.Unresolved. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, java.lang.Object value)
Binds the supplied annotation to a type constant of the supplied value.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bind(java.lang.Class<T> type, java.lang.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
MemberSubstitution.LambdaMetaFactoryMatcher. matches(JavaConstant.MethodHandle target)
Matches a target against this element matcher.boolean
ModifierAdjustment.Adjustment. matches(T target)
Matches a target against this element matcher.static <S extends java.lang.annotation.Annotation>
Advice.OffsetMapping.Factory<S>Advice.OffsetMapping.ForStackManipulation.Factory. of(java.lang.Class<S> annotationType, java.lang.Object value)
Creates a binding for a fixedString
, a primitive value or a method handle or type.static Advice.OffsetMapping.Target
Advice.OffsetMapping.Target.ForStackManipulation. of(java.lang.Object value)
Creates a target for an offset mapping for a constant value ornull
.static <S extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<S>MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation. of(java.lang.Class<S> annotationType, java.lang.Object value)
Resolves an offset mapping that binds the provided annotation type to a given constant value.static MemberSubstitution.TypePoolResolver
MemberSubstitution.TypePoolResolver.ForClassFileLocator. of(java.lang.ClassLoader classLoader)
Creates a new type pool resolver that supplements the supplied class loader to the implicit type pool.void
Advice.AdviceVisitor. onVisitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
Advice.AdviceVisitor. onVisitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toMethodVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, java.lang.Class<?> sourceLabel, java.lang.Class<?> targetLabel, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a builder for a method visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, Implementation appendix)
Creates a builder for a visitor type.private static DynamicType.Builder<?>
ClassVisitorFactory. toVisitorBuilder(ByteBuddy byteBuddy, java.lang.Class<?> sourceVisitor, java.lang.Class<?> targetVisitor, java.lang.Class<?> sourceTypePath, java.lang.Class<?> targetTypePath, Implementation appendix)
Creates a builder for a visitor type.void
Advice.StackMapFrameHandler.Default.ForAdvice. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.ForAdvice. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.protected void
Advice.StackMapFrameHandler.Default. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, java.util.List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.protected void
Advice.StackMapFrameHandler.Default. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, java.util.List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.Trivial. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.Trivial. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.protected void
Advice.StackMapFrameHandler.Default.WithPreservedArguments. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, java.util.List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
protected void
Advice.StackMapFrameHandler.Default.WithPreservedArguments. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, java.util.List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithArgumentCopy. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithArgumentCopy. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithoutArgumentCopy. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.Default.WithPreservedArguments.WithoutArgumentCopy. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.NoOp. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler.NoOp. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
Advice.StackMapFrameHandler. translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
Translates a frame.void
ModifierAdjustment.ModifierAdjustingClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
ModifierAdjustment.ModifierAdjustingClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
ModifierAdjustment.ModifierAdjustingClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypeReferenceAdjustment.TypeReferenceClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName)
void
TypeReferenceAdjustment.TypeReferenceClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName)
void
TypeReferenceAdjustment.TypeReferenceClassVisitor. visit(int version, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName)
org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
AsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
MemberRemoval.MemberRemovingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
MemberRemoval.MemberRemovingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
void
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
ModifierAdjustment.ModifierAdjustingClassVisitor. visitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
void
ModifierAdjustment.ModifierAdjustingClassVisitor. visitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitInsnAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitLocalVariableAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] offset, java.lang.String descriptor, boolean visible)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptions)
org.objectweb.asm.MethodVisitor
AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptions)
org.objectweb.asm.MethodVisitor
MemberRemoval.MemberRemovingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
MemberRemoval.MemberRemovingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
ModifierAdjustment.ModifierAdjustingClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.MethodVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.RecordComponentVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableSubstitutor. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
void
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector. visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, java.lang.String type)
void
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, java.lang.String typeInternalName)
org.objectweb.asm.AnnotationVisitor
Advice.Dispatcher.Inlining.CodeTranslationVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeReferenceAdjustment.TypeReferenceClassVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Constructor parameters in net.bytebuddy.asm with annotations of type MaybeNull Constructor Description ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a new constant translator.ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a new constant translator.ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a new constant translator.ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a new constant translator.ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.Class<?> targetConstantDynamic)
Creates a new constant translator.ConstantTranslator(java.lang.Class<?> sourceHandle, java.lang.Class<?> targetHandle, java.lang.Class<?> sourceType, java.lang.Class<?> targetType, java.lang.Class<?> sourceConstantDynamic, java.lang.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 thethis
reference. -
Uses of MaybeNull in net.bytebuddy.build
Fields in net.bytebuddy.build with annotations of type MaybeNull Modifier and Type Field Description private java.lang.String
HashCodeAndEqualsPlugin. annotationType
Defines the binary name of a runtime-visible annotation type that should be added to the parameter of theObject.equals(Object)
method, ornull
if no such name should be defined.private java.lang.Object
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved. argument
The resolved argument which might benull
.private ClassFileVersion
Plugin.Engine.Default. classFileVersion
The class file version to use for multi-release jars, ornull
.private ClassFileVersion
Plugin.Engine.Default.Preprocessor. classFileVersion
The multi-release class file version ornull
for a regular class.private ClassFileVersion
Plugin.Engine.Default.Preprocessor.Resolved. classFileVersion
The multi-release Java version number ornull
if a regular class.private ClassFileVersion
Plugin.Engine.Dispatcher.Materializable.ForTransformedElement. classFileVersion
The multi-release class file version number ornull
if a regular class.private java.util.Iterator<? extends Plugin.Engine.Source.Element>
Plugin.Engine.Source.Compound.Origin.CompoundIterator. current
The current iterator ornull
if no such iterator is defined.private Plugin.Engine.Source.Element
Plugin.Engine.Source.Origin.Filtering.FilteringIterator. current
The current element ornull
if no further elements are available.private java.lang.String
AccessControllerPlugin. property
The property to control if the access controller should be used even if available ornull
if such a property should not be available.private java.lang.Object
Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex. value
The value to resolve for the represented index.private java.lang.String
Plugin.Factory.UsingReflection.ArgumentResolver.ForIndex.WithDynamicType. value
A string representation of the supplied value.Methods in net.bytebuddy.build with annotations of type MaybeNull Modifier and Type Method Description java.lang.Object
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution. getArgument()
Returns the resolved argument if the resolution was successful.java.lang.Object
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved. getArgument()
Returns the resolved argument if the resolution was successful.java.util.jar.Manifest
Plugin.Engine.Source.Empty. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.java.util.jar.Manifest
Plugin.Engine.Source.ForFolder. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.java.util.jar.Manifest
Plugin.Engine.Source.InMemory. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.java.util.jar.Manifest
Plugin.Engine.Source.Origin.Filtering. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.java.util.jar.Manifest
Plugin.Engine.Source.Origin.ForJarFile. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.java.util.jar.Manifest
Plugin.Engine.Source.Origin. getManifest()
Returns the manifest file of the source location ornull
if no manifest exists.<T> T
Plugin.Engine.Source.Element.ForFile. resolveAs(java.lang.Class<T> type)
Resolves this element to a more specialized form if possible.<T> T
Plugin.Engine.Source.Element.ForJarEntry. resolveAs(java.lang.Class<T> type)
Resolves this element to a more specialized form if possible.<T> T
Plugin.Engine.Source.Element. resolveAs(java.lang.Class<T> type)
Resolves this element to a more specialized form if possible.Method parameters in net.bytebuddy.build with annotations of type MaybeNull Modifier and Type Method Description boolean
Plugin.Engine.Summary. equals(java.lang.Object other)
boolean
HashCodeAndEqualsPlugin. matches(TypeDescription target)
Matches a target against this element matcher.boolean
Plugin.Engine.Source.Filtering.MultiReleaseVersionMatcher. matches(Plugin.Engine.Source.Element target)
Matches a target against this element matcher.boolean
Plugin.Engine.Source.Filtering.NoFolderMatcher. matches(Plugin.Engine.Source.Element target)
Matches a target against this element matcher.boolean
Plugin.ForElementMatcher. matches(TypeDescription target)
Matches a target against this element matcher.boolean
Plugin.NoOp. matches(TypeDescription target)
Matches a target against this element matcher.boolean
ToStringPlugin. matches(TypeDescription target)
Matches a target against this element matcher.void
Plugin.Engine.ErrorHandler.Compound. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.ErrorHandler.Enforcing. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.ErrorHandler. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.Listener.Adapter. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.Listener.Compound. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.Listener.ForErrorHandler. onManifest(java.util.jar.Manifest manifest)
void
Plugin.Engine.Listener.NoOp. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.void
Plugin.Engine.Listener.StreamWriting. onManifest(java.util.jar.Manifest manifest)
Invoked when a manifest was found or found missing.ClassFileLocator
Plugin.Engine.Source.Compound.Origin. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.Empty. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.ForFolder. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.InMemory. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.Origin.Filtering. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.Origin.ForJarFile. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.ClassFileLocator
Plugin.Engine.Source.Origin. toClassFileLocator(ClassFileVersion classFileVersion)
Creates a class file locator for the represented source.Plugin.Engine
Plugin.Engine.Default. with(ClassFileVersion classFileVersion)
Uses the suppliedClassFileVersion
as a base for resolving multi-release jars, ornull
if multi-release jars should not be resolved but be treated as regular jar files.Plugin.Engine
Plugin.Engine. with(ClassFileVersion classFileVersion)
Uses the suppliedClassFileVersion
as a base for resolving multi-release jars, ornull
if multi-release jars should not be resolved but be treated as regular jar files.Plugin.Engine.Target.Sink
Plugin.Engine.Target.Discarding. write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.Plugin.Engine.Target.Sink
Plugin.Engine.Target.ForFolder. write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.Plugin.Engine.Target.Sink
Plugin.Engine.Target.ForJarFile. write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.Plugin.Engine.Target.Sink
Plugin.Engine.Target.InMemory. write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.Plugin.Engine.Target.Sink
Plugin.Engine.Target. write(java.util.jar.Manifest manifest)
Initializes this target prior to writing.Constructor parameters in net.bytebuddy.build with annotations of type MaybeNull Constructor Description AccessControllerPlugin(java.lang.String property)
Creates a new plugin to weave access controller dispatches.Default(ByteBuddy byteBuddy, Plugin.Engine.TypeStrategy typeStrategy, Plugin.Engine.PoolStrategy poolStrategy, ClassFileLocator classFileLocator, ClassFileVersion classFileVersion, Plugin.Engine.Listener listener, Plugin.Engine.ErrorHandler errorHandler, Plugin.Engine.Dispatcher.Factory dispatcherFactory, ElementMatcher.Junction<? super TypeDescription> ignoredTypeMatcher)
Creates a new default plugin engine.ForIndex(int index, java.lang.Object value)
Creates an argument resolver for a given index.ForTransformedElement(ClassFileVersion classFileVersion, DynamicType dynamicType)
Creates a new materializable for a successfully transformed type.HashCodeAndEqualsPlugin(java.lang.String annotationType)
Creates a new hash code equals plugin.Preprocessor(Plugin.Engine.Source.Element element, java.lang.String typeName, ClassFileLocator classFileLocator, ClassFileVersion classFileVersion, TypePool typePool, Plugin.Engine.Listener listener, java.util.List<Plugin> plugins, java.util.List<Plugin.WithPreprocessor> preprocessors)
Creates a new preprocessor.Resolved(ClassFileVersion classFileVersion, TypeDescription typeDescription)
Creates a new resolved materializable.Resolved(java.lang.Object argument)
Creates a resolved argument resolution.WithDynamicType(int index, java.lang.String value)
Creates an argument resolver for a specific parameter index and attempts a dynamic resolution.WithNonNullableFields(java.lang.String annotationType)
Creates a new hash code equals plugin where fields are assumed nullable by default. -
Uses of MaybeNull in net.bytebuddy.build.maven
Fields in net.bytebuddy.build.maven with annotations of type MaybeNull Modifier and Type Field Description java.util.List<PluginArgument>
Transformation. arguments
A list of arguments that are provided to the plugin for construction.protected java.lang.String
CoordinateConfiguration. artifactId
The artifact id of the project containing the plugin type ornull
if the current project's artifact id should be used.org.sonatype.plexus.build.incremental.BuildContext
ByteBuddyMojo.ForLifecycleTypes. context
The build context to support incremental builds.java.util.List<CoordinateConfiguration>
ByteBuddyMojo.ForExplicitLocations. dependencies
A list of dependencies to be included when resolving class files, additionally to the source jar.Discovery
ByteBuddyMojo. discovery
Determines if the build should discover Byte Buddy build plugins on this Maven plugin's class loader.java.lang.String
Initialization. entryPoint
The fully-qualified name of the entry point or any constant name ofEntryPoint.Default
.protected java.lang.String
CoordinateConfiguration. groupId
The group id of the project containing the plugin type ornull
if the current project's group id should be used.Initialization
ByteBuddyMojo. initialization
The initializer used for creating aByteBuddy
instance and for applying a transformation.java.lang.Integer
ByteBuddyMojo. multiReleaseVersion
Defines the version to use for resolving multi-release jar files.protected java.lang.String
CoordinateConfiguration. packaging
The version of the project containing the plugin type ornull
if the current project's packaging should be used.java.lang.String
Transformation. plugin
The fully-qualified name of the plugin type.org.eclipse.aether.RepositorySystemSession
ByteBuddyMojo. repositorySystemSession
The currently used system session for the repository system.java.lang.String
ByteBuddyMojo. suffix
Specifies the method name suffix that is used when type's method need to be rebased.java.lang.String
ByteBuddyMojo.ForDependencyFolder. target
The target folder that contains the project's dependencies ornull
if theByteBuddyMojo.ForDependencyFolder.source
folder should be used.java.util.List<Transformation>
ByteBuddyMojo. transformations
The list of transformations.java.lang.String
PluginArgument. value
The argument value.protected java.lang.String
CoordinateConfiguration. version
The version of the project containing the plugin type ornull
if the current project's version should be used.Methods in net.bytebuddy.build.maven with annotations of type MaybeNull Modifier and Type Method Description private static java.lang.String
ByteBuddyMojo. findJavaVersionString(org.apache.maven.project.MavenProject project, java.lang.String property)
Makes a best effort of locating the configured Java version.protected java.lang.String
ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes. getSourceDirectory()
protected java.lang.String
ByteBuddyMojo.ForLifecycleTypes.ForTestTypes. getSourceDirectory()
protected abstract java.lang.String
ByteBuddyMojo.ForLifecycleTypes. getSourceDirectory()
Returns the source directory that determines the class files to process.Method parameters in net.bytebuddy.build.maven with annotations of type MaybeNull Modifier and Type Method Description boolean
MavenCoordinate. equals(java.lang.Object object)
-
Uses of MaybeNull in net.bytebuddy.description
Methods in net.bytebuddy.description with annotations of type MaybeNull Modifier and Type Method Description TypeDescription.Generic
TypeVariableSource.AbstractBase. findVariable(java.lang.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. findVariable(java.lang.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.java.lang.String
NamedElement.WithDescriptor. getGenericSignature()
Returns the generic signature of this byte code element. -
Uses of MaybeNull in net.bytebuddy.description.annotation
Methods in net.bytebuddy.description.annotation with annotations of type MaybeNull Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
AnnotationDescription.Loadable<T>AnnotationList.AbstractBase. ofType(java.lang.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.<T extends java.lang.annotation.Annotation>
AnnotationDescription.Loadable<T>AnnotationList. ofType(java.lang.Class<T> annotationType)
Finds the first annotation of the given type and returns it.Method parameters in net.bytebuddy.description.annotation with annotations of type MaybeNull Modifier and Type Method Description boolean
AnnotationDescription.AbstractBase. equals(java.lang.Object other)
boolean
AnnotationDescription.AnnotationInvocationHandler. equals(java.lang.Object other)
boolean
AnnotationValue.ForAnnotationDescription. equals(java.lang.Object other)
boolean
AnnotationValue.ForAnnotationDescription.Loaded. equals(java.lang.Object other)
boolean
AnnotationValue.ForConstant. equals(java.lang.Object other)
boolean
AnnotationValue.ForConstant.Loaded. equals(java.lang.Object other)
boolean
AnnotationValue.ForDescriptionArray. equals(java.lang.Object other)
boolean
AnnotationValue.ForDescriptionArray.Loaded. equals(java.lang.Object other)
boolean
AnnotationValue.ForEnumerationDescription. equals(java.lang.Object other)
boolean
AnnotationValue.ForEnumerationDescription.Loaded. equals(java.lang.Object other)
boolean
AnnotationValue.ForTypeDescription. equals(java.lang.Object other)
boolean
AnnotationValue.ForTypeDescription.Loaded. equals(java.lang.Object other)
java.lang.Object
AnnotationDescription.AnnotationInvocationHandler. invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] argument)
AnnotationValue.Loaded<U>
AnnotationValue.ForAnnotationDescription. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<U>
AnnotationValue.ForConstant. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
AnnotationValue.ForDescriptionArray. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<U>
AnnotationValue.ForEnumerationDescription. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<U>
AnnotationValue.ForEnumerationDescription.WithUnknownConstant. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
AnnotationValue.ForIncompatibleType. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
AnnotationValue.ForMismatchedType. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
AnnotationValue.ForMissingType. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
AnnotationValue.ForMissingValue. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<U>
AnnotationValue.ForTypeDescription. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<S>
AnnotationValue. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.static <S extends java.lang.annotation.Annotation>
SAnnotationDescription.AnnotationInvocationHandler. of(java.lang.ClassLoader classLoader, java.lang.Class<S> annotationType, java.util.Map<java.lang.String,? extends AnnotationValue<?,?>> values)
Creates a proxy instance for the supplied annotation type and values. -
Uses of MaybeNull in net.bytebuddy.description.enumeration
Method parameters in net.bytebuddy.description.enumeration with annotations of type MaybeNull Modifier and Type Method Description boolean
EnumerationDescription.AbstractBase. equals(java.lang.Object other)
-
Uses of MaybeNull in net.bytebuddy.description.field
Methods in net.bytebuddy.description.field with annotations of type MaybeNull Modifier and Type Method Description java.lang.String
FieldDescription.AbstractBase. getGenericSignature()
Returns the generic signature of this byte code element.Method parameters in net.bytebuddy.description.field with annotations of type MaybeNull Modifier and Type Method Description boolean
FieldDescription.AbstractBase. equals(java.lang.Object other)
boolean
FieldDescription.SignatureToken. equals(java.lang.Object other)
boolean
FieldDescription.Token. equals(java.lang.Object other)
-
Uses of MaybeNull in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method with annotations of type MaybeNull Modifier and Type Field Description private AnnotationValue<?,?>
MethodDescription.Latent. defaultValue
The default value of this method ornull
if no default annotation value is defined.private AnnotationValue<?,?>
MethodDescription.Token. defaultValue
The default value of the represented method ornull
if no such value exists.private java.lang.Integer
ParameterDescription.Latent. modifiers
The modifiers of the parameter ornull
if no modifiers are explicitly defined.private java.lang.Integer
ParameterDescription.Token. modifiers
The modifiers of the parameter ornull
if no explicit modifiers is defined.private java.lang.String
ParameterDescription.Latent. name
The name of the parameter ornull
if no name is explicitly defined.private java.lang.String
ParameterDescription.Token. name
The name of the parameter ornull
if no explicit name is defined.private TypeDescription.Generic
MethodDescription.Latent. receiverType
The receiver type of this method ornull
if the receiver type is defined implicitly.private TypeDescription.Generic
MethodDescription.Token. receiverType
The receiver type of the represented method ornull
if the receiver type is implicit.Methods in net.bytebuddy.description.method with annotations of type MaybeNull Modifier and Type Method Description java.lang.reflect.AnnotatedElement
MethodDescription.InDefinedShape.AbstractBase.Executable. getAnnotatedReceiverType(java.lang.Object value)
Returns the annotated receiver type.<T> T
MethodDescription.AbstractBase. getDefaultValue(java.lang.Class<T> type)
Returns the default value but casts it to the given type.AnnotationValue<?,?>
MethodDescription.ForLoadedMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.<T> T
MethodDescription. getDefaultValue(java.lang.Class<T> type)
Returns the default value but casts it to the given type.AnnotationValue<?,?>
MethodDescription.Latent. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription.Token. getDefaultValue()
Returns the default value of the represented method.AnnotationValue<?,?>
MethodDescription.TypeSubstituting. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.TypeVariableSource
MethodDescription.AbstractBase. getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.java.lang.String
MethodDescription.AbstractBase. getGenericSignature()
Returns the generic signature of this byte code element.java.lang.Integer
ParameterDescription.Token. getModifiers()
Returns the modifiers of the represented method parameter.java.lang.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 ornull
if the receiver type is implicit.Method parameters in net.bytebuddy.description.method with annotations of type MaybeNull Modifier and Type Method Description boolean
MethodDescription.AbstractBase. equals(java.lang.Object other)
boolean
MethodDescription.SignatureToken. equals(java.lang.Object other)
boolean
MethodDescription.Token. equals(java.lang.Object other)
boolean
MethodDescription.TypeToken. equals(java.lang.Object other)
boolean
ParameterDescription.AbstractBase. equals(java.lang.Object other)
boolean
ParameterDescription.Token. equals(java.lang.Object other)
Constructor parameters in net.bytebuddy.description.method with annotations of type MaybeNull Constructor Description Latent(TypeDescription declaringType, java.lang.String internalName, int modifiers, java.util.List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?,?> defaultValue, TypeDescription.Generic receiverType)
Creates a new latent method description.Latent(TypeDescription declaringType, java.lang.String internalName, int modifiers, java.util.List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?,?> defaultValue, TypeDescription.Generic receiverType)
Creates a new latent method description.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, java.util.List<? extends AnnotationDescription> declaredAnnotations, java.lang.String name, java.lang.Integer modifiers, int index, int offset)
Creates a latent parameter description.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, java.util.List<? extends AnnotationDescription> declaredAnnotations, java.lang.String name, java.lang.Integer modifiers, int index, int offset)
Creates a latent parameter description.Token(java.lang.String name, int modifiers, java.util.List<? extends TypeVariableToken> typeVariableTokens, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.List<? extends AnnotationDescription> annotations, AnnotationValue<?,?> defaultValue, TypeDescription.Generic receiverType)
Creates a new token for a method description.Token(java.lang.String name, int modifiers, java.util.List<? extends TypeVariableToken> typeVariableTokens, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.List<? extends AnnotationDescription> annotations, AnnotationValue<?,?> defaultValue, TypeDescription.Generic receiverType)
Creates a new token for a method description.Token(TypeDescription.Generic type, java.lang.String name, java.lang.Integer modifiers)
Creates a parameter token without annotations.Token(TypeDescription.Generic type, java.lang.String name, java.lang.Integer modifiers)
Creates a parameter token without annotations.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations, java.lang.String name, java.lang.Integer modifiers)
Creates a new parameter token.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations, java.lang.String name, java.lang.Integer modifiers)
Creates a new parameter token. -
Uses of MaybeNull in net.bytebuddy.description.type
Fields in net.bytebuddy.description.type with annotations of type MaybeNull Modifier and Type Field Description private java.lang.ClassLoader
TypeDescription.SuperTypeLoading. classLoader
The class loader to use for loading a super type.private java.lang.ClassLoader
TypeDescription.SuperTypeLoading.ClassLoadingTypeList. classLoader
The class loader to use for loading types which might benull
to represent the bootstrap class loader.private java.lang.ClassLoader
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection. classLoader
The class loader to use for loading types which might benull
to represent the bootstrap class loader.private TypeDescription.Generic
TypeDescription.Generic.OfNonGenericType.Latent. declaringType
The non-generic type's declaring type.private TypeDescription.Generic
TypeDescription.Generic.Builder.OfNonGenericType. ownerType
The raw type's (annotated) declaring type ornull
if no such type is defined.private TypeDescription.Generic
TypeDescription.Generic.Builder.OfParameterizedType. ownerType
The generic owner type.private TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType.Latent. ownerType
This parameterized type's owner type ornull
if no owner type exists.private TypeDescription.Generic
TypeDescription.Latent. superClass
The super type ornull
if no such type exists.Methods in net.bytebuddy.description.type with annotations of type MaybeNull Modifier and Type Method Description TypeDescription.Generic
TypeDescription.Generic. 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.TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType. findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.java.lang.reflect.AnnotatedElement
TypeDescription.Generic.AnnotationReader.ForOwnerType.AnnotatedType. getAnnotatedOwnerType(java.lang.reflect.AnnotatedElement value)
Returns the type's annotated owner type ornull
if this feature is not supported.java.lang.reflect.AnnotatedElement
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher. getAnnotatedReturnType(java.lang.reflect.Method method)
Resolves the supplied method's annotated return type.java.lang.reflect.AnnotatedElement
TypeDescription.ForLoadedType.Dispatcher. getAnnotatedSuperclass(java.lang.Class<?> type)
Resolves the annotated super class of the supplied type.java.lang.reflect.AnnotatedElement
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField.Dispatcher. getAnnotatedType(java.lang.reflect.Field field)
Resolves the supplied method's annotated field type.java.lang.String
TypeDescription.AbstractBase.OfSimpleType. getCanonicalName()
Returns the canonical name of this type if it exists.java.lang.String
TypeDescription.ArrayProjection. getCanonicalName()
Returns the canonical name of this type if it exists.java.lang.String
TypeDescription.ForLoadedType. getCanonicalName()
Returns the canonical name of this type if it exists.java.lang.String
TypeDescription. getCanonicalName()
Returns the canonical name of this type if it exists.java.lang.String
TypeDescription.SuperTypeLoading. getCanonicalName()
Returns the canonical name of this type if it exists.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. getClassFileVersion()
Attempts to resolve the class file version of this type.ClassFileVersion
TypeDescription.SuperTypeLoading. getClassFileVersion()
TypeDefinition
TypeDefinition. getComponentType()
Returns the component type of this type.TypeDescription
TypeDescription.AbstractBase.OfSimpleType. getComponentType()
Returns the component type of this type.TypeDescription
TypeDescription.ArrayProjection. getComponentType()
Returns the component type of this type.TypeDescription
TypeDescription.ForLoadedType. getComponentType()
Returns the component type of this type.TypeDescription.Generic
TypeDescription.Generic. getComponentType()
Returns the component type of this type.TypeDescription.Generic
TypeDescription.Generic.LazyProjection. 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.OfNonGenericType.ForErasure. 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.ForReifiedErasure. getComponentType()
Returns the component type of this type.TypeDescription.Generic
TypeDescription.Generic.OfNonGenericType.Latent. getComponentType()
Returns the component type of this type.TypeDescription
TypeDescription. getComponentType()
Returns the component type of this type.TypeDescription
TypeDescription.SuperTypeLoading. getComponentType()
Returns the component type of this type.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. getDeclaringType()
Returns the declaring type of this instance.TypeDescription
TypeDescription.SuperTypeLoading. getDeclaringType()
Returns the declaring type of this instance.java.lang.Object
TypeDescription.AbstractBase. getDefaultValue()
Returns the default value for this type, i.e.java.lang.Object
TypeDescription. getDefaultValue()
Returns the default value for this type, i.e.MethodDescription.InDefinedShape
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. 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.ForLoadedType. 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. 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.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. 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.java.lang.String
RecordComponentDescription.AbstractBase. getGenericSignature()
Returns the generic signature of this byte code element.java.lang.String
RecordComponentDescription.ForLoadedRecordComponent. getGenericSignature()
java.lang.String
RecordComponentDescription.ForLoadedRecordComponent.RecordComponent. getGenericSignature(java.lang.Object value)
Returns the record component type's generic signature.java.lang.String
TypeDescription.AbstractBase. getGenericSignature()
Returns the generic signature of this byte code element.java.lang.String
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getGenericSignature()
java.lang.Class<?>
TypeDescription.ForLoadedType.Dispatcher. getNestHost(java.lang.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.LazyProjection. 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.OfNonGenericType.ForErasure. 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.ForReifiedErasure. 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.OfParameterizedType.ForGenerifiedErasure. 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.ForReifiedType. getOwnerType()
Returns the owner type of this type.TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType.Latent. getOwnerType()
Returns the owner type of this type.PackageDescription
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getPackage()
Returns the package of the type described by this instance ornull
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 ornull
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 ornull
if the described type is a primitive type or an array.PackageDescription
TypeDescription. getPackage()
Returns the package of the type described by this instance ornull
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 ornull
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 ornull
if the described type is a primitive type or an array.java.lang.Class<?>[]
TypeDescription.ForLoadedType.Dispatcher. getPermittedSubclasses(java.lang.Class<?> type)
Returns the permitted subclasses of the supplied type.java.lang.Object[]
TypeDescription.ForLoadedType.Dispatcher. getRecordComponents(java.lang.Class<?> type)
Resolves a type's record components.TypeDescription.Generic
TypeDefinition. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.ArrayProjection. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.ForLoadedType. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.ForPackageDescription. 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.Generic.LazyProjection.WithLazyNavigation. 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.OfNonGenericType.ForReifiedErasure. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.Generic.OfNonGenericType. 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.OfParameterizedType. 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.OfWildcardType. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.Latent. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection. getSuperClass()
Returns the super class of this type.TypeDescription.Generic
TypeDescription.SuperTypeLoading. getSuperClass()
Returns the super class of this type.static TypeDescription.Generic
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass. of(java.lang.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.java.lang.String[]
TypeList.AbstractBase. toInternalNames()
Returns a list of internal names of all types represented by this list.java.lang.String[]
TypeList.ForLoadedTypes. toInternalNames()
Returns a list of internal names of all types represented by this list.java.lang.String[]
TypeList. toInternalNames()
Returns a list of internal names of all types represented by this list.Method parameters in net.bytebuddy.description.type with annotations of type MaybeNull Modifier and Type Method Description protected abstract void
TypeDescription.Generic.OfParameterizedType.RenderingDelegate. apply(java.lang.StringBuilder stringBuilder, TypeDescription erasure, TypeDescription.Generic ownerType)
Applies this rendering delegate.protected static TypeDescription.Generic
TypeDefinition.Sort. describeOrNull(java.lang.reflect.Type type, TypeDescription.Generic.AnnotationReader annotationReader)
Describes the generic type while using the supplied annotation reader for resolving type annotations if this language feature is available on the current JVM.boolean
PackageDescription.AbstractBase. equals(java.lang.Object other)
boolean
RecordComponentDescription.AbstractBase. equals(java.lang.Object other)
boolean
RecordComponentDescription.Token. equals(java.lang.Object other)
boolean
TypeDescription.AbstractBase. equals(java.lang.Object other)
boolean
TypeDescription.Generic.LazyProjection. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfGenericArray. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfNonGenericType. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfParameterizedType. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfTypeVariable. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfTypeVariable.Symbolic. equals(java.lang.Object other)
boolean
TypeDescription.Generic.OfWildcardType. equals(java.lang.Object other)
boolean
TypeVariableToken. equals(java.lang.Object other)
java.lang.Object
TypeDescription.Generic.LazyProxy. invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] argument)
java.lang.Object
TypeDescription.LazyProxy. invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] argument)
java.lang.Class<?>
TypeDescription.SuperTypeLoading.ClassLoadingDelegate. load(java.lang.String name, java.lang.ClassLoader classLoader)
Loads a type.java.lang.Class<?>
TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple. load(java.lang.String name, java.lang.ClassLoader classLoader)
Loads a type.static TypeDescription.Generic.Builder
TypeDescription.Generic.Builder. parameterizedType(java.lang.Class<?> rawType, java.lang.reflect.Type ownerType, java.util.List<? extends java.lang.reflect.Type> parameters)
Creates a parameterized type.static TypeDescription.Generic.Builder
TypeDescription.Generic.Builder. parameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, java.util.Collection<? extends TypeDefinition> parameters)
Creates a parameterized type.static TypeDescription.Generic.Builder
TypeDescription.Generic.Builder. rawType(java.lang.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 parameters in net.bytebuddy.description.type with annotations of type MaybeNull Constructor Description ClassLoadingTypeList(TypeList.Generic delegate, java.lang.ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type list.ClassLoadingTypeProjection(TypeDescription.Generic delegate, java.lang.ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type description.Latent(TypeDescription typeDescription, TypeDescription.Generic declaringType, AnnotationSource annotationSource)
Creates a non-generic type.Latent(TypeDescription typeDescription, TypeDescription declaringType, AnnotationSource annotationSource)
Creates a non-generic type with a raw owner type.Latent(TypeDescription rawType, TypeDescription.Generic ownerType, java.util.List<? extends TypeDescription.Generic> parameters, AnnotationSource annotationSource)
Creates a description of a latent parameterized type.Latent(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type.Latent(java.lang.String name, int modifiers, TypeDescription.Generic superClass, TypeDescription.Generic... anInterface)
Creates a new latent type.OfNonGenericType(TypeDescription typeDescription, TypeDescription ownerType)
Creates a builder for a non-generic type.OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType)
Creates a builder for a non-generic type.OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType, java.util.List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic type.OfParameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, java.util.List<? extends TypeDescription.Generic> parameterTypes)
Creates a builder for a parameterized type.OfParameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, java.util.List<? extends TypeDescription.Generic> parameterTypes, java.util.List<? extends AnnotationDescription> annotations)
Creates a builder for a parameterized type.SuperTypeLoading(TypeDescription delegate, java.lang.ClassLoader classLoader)
Creates a super type loading type description.SuperTypeLoading(TypeDescription delegate, java.lang.ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a super type loading type description. -
Uses of MaybeNull in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic with annotations of type MaybeNull Modifier and Type Field Description private byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. binaryRepresentation
The binary representation of the looked-up class.private java.lang.ClassLoader
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. classLoader
The class loader that is expected to have loaded the looked-up a class.protected java.lang.Object
DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter. defaultValue
The field's default value ornull
if no value is to be defined.private java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader>
NexusAccessor. referenceQueue
The reference queue that is notified upon a GC eligibleNexus
entry ornull
if no such queue should be notified.Methods in net.bytebuddy.dynamic with annotations of type MaybeNull Modifier and Type Method Description protected byte[]
ClassFileLocator.ForFolder. doLocate(java.lang.String path)
Resolves a possible multi-release entry, if it exists.protected byte[]
ClassFileLocator.ForJarFile. doLocate(java.lang.String path)
Resolves a possible multi-release entry, if it exists.protected abstract byte[]
ClassFileLocator.MultiReleaseAware. doLocate(java.lang.String path)
Resolves a possible multi-release entry, if it exists.protected byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. getBinaryRepresentation()
Returns the binary representation of the class file that was looked up.java.lang.ClassLoader
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default. getClassLoader()
Returns the underlying class loader.java.lang.ClassLoader
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit. getClassLoader()
Returns the underlying class loader.java.lang.ClassLoader
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate. getClassLoader()
Returns the underlying class loader.AnnotationValue<?,?>
Transformer.ForMethod.TransformedMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalName, java.lang.Class<?> redefinedType, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Method parameters in net.bytebuddy.dynamic with annotations of type MaybeNull Modifier and Type Method Description boolean
ClassFileLocator.ForClassLoader.WeaklyReferenced. equals(java.lang.Object other)
boolean
ClassFileLocator.ForModule.WeaklyReferenced. equals(java.lang.Object other)
boolean
Nexus. equals(java.lang.Object other)
static ClassFileLocator
ClassFileLocator.ForInstrumentation. fromInstalledAgent(java.lang.ClassLoader classLoader)
Returns an agent-based class file locator for the given class loader and an already installed Byte Buddy-agent.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Active.Resolved. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Disabled. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Lazy. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Passive. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.<S extends java.lang.ClassLoader>
java.util.Map<TypeDescription,java.lang.Class<?>>TypeResolutionStrategy.Resolved. initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.protected static boolean
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoader. isDelegating(java.lang.ClassLoader classLoader)
Checks if a class loader is a delegating class loader.DynamicType.Loaded<T>
DynamicType.Default.Unloaded. load(java.lang.ClassLoader classLoader)
Attempts to load this dynamic type including all of its auxiliary types, if any.<S extends java.lang.ClassLoader>
DynamicType.Loaded<T>DynamicType.Default.Unloaded. load(S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
Attempts to load this dynamic type including all of its auxiliary types, if any.DynamicType.Loaded<T>
DynamicType.Unloaded. load(java.lang.ClassLoader classLoader)
Attempts to load this dynamic type including all of its auxiliary types, if any.<S extends java.lang.ClassLoader>
DynamicType.Loaded<T>DynamicType.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, java.lang.Object defaultValue)
protected DynamicType.Builder.FieldDefinition.Optional<U>
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter. materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)
protected abstract DynamicType.Builder.FieldDefinition.Optional<V>
DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter. materialize(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)
Creates a new optional field definition for which all of the supplied values are represented.static ClassFileLocator
ClassFileLocator.ForClassLoader. of(java.lang.ClassLoader classLoader)
Creates a class file locator for a given class loader.static ClassFileLocator
ClassFileLocator.ForClassLoader.WeaklyReferenced. of(java.lang.ClassLoader classLoader)
Creates a class file locator for a given class loader.static ClassFileLocator.ForInstrumentation.ClassLoadingDelegate
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default. of(java.lang.ClassLoader classLoader)
Creates a class loading delegate for the given class loader.static void
Nexus. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, java.lang.Object typeInitializer)
Registers a new loaded type initializer.static void
Nexus. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, java.lang.Object typeInitializer)
Registers a new loaded type initializer.void
NexusAccessor.Dispatcher.Available. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor.Dispatcher.Available. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor.Dispatcher. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor.Dispatcher. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor.Dispatcher.Unavailable. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor.Dispatcher.Unavailable. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a type initializer with the system class loader's nexus.void
NexusAccessor. register(java.lang.String name, java.lang.ClassLoader classLoader, int identification, LoadedTypeInitializer loadedTypeInitializer)
Registers a loaded type initializer in Byte Buddy'sNexus
which is injected into the system class loader.byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalName, java.lang.Class<?> redefinedType, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalName, java.lang.Class<?> redefinedType, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
byte[]
ClassFileLocator.ForInstrumentation.ExtractionClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalName, java.lang.Class<?> redefinedType, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Constructor parameters in net.bytebuddy.dynamic with annotations of type MaybeNull Constructor Description Adapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue)
Creates a new field adapter.Explicit(java.lang.ClassLoader classLoader, java.util.Collection<? extends java.lang.Class<?>> types)
Creates a new class loading delegate with a possibility of looking up explicitly registered classes.ExtractionClassFileTransformer(java.lang.ClassLoader classLoader, java.lang.String typeName)
Creates a class file transformer for the purpose of extraction.FieldDefinitionAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, FieldDescription.Token token)
Creates a new field definition adapter.FieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, LatentMatcher<? super FieldDescription> matcher)
Creates a new field match adapter.ForInstrumentation(java.lang.instrument.Instrumentation instrumentation, java.lang.ClassLoader classLoader)
Creates an agent-based class file locator.Nexus(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification)
Creates a key for identifying a loaded type initializer.Nexus(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification)
Creates a key for identifying a loaded type initializer.NexusAccessor(java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue)
Creates a new accessor for aNexus
where any GC eligible are enqueued to the supplied reference queue. -
Uses of MaybeNull in net.bytebuddy.dynamic.loading
Fields in net.bytebuddy.dynamic.loading with annotations of type MaybeNull Modifier and Type Field Description protected java.lang.Object
ByteArrayClassLoader. accessControlContext
The access control context to use for loading classes ornull
if this is not supported on the current VM.private java.lang.ClassLoader
ClassInjector.UsingInstrumentation.Target. classLoader
The class loader to load classes from.private java.lang.ClassLoader
ClassInjector.UsingJna. classLoader
The class loader to inject classes into ornull
for the bootstrap loader.private java.lang.ClassLoader
ClassInjector.UsingUnsafe. classLoader
The class loader to inject classes into ornull
for the bootstrap loader.private java.net.URL
ByteArrayClassLoader.SingletonEnumeration. element
The current element ornull
if this enumeration does not contain further elements.protected java.lang.reflect.Method
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. getDefinedPackage
An instance ofjava.lang.ClassLoader#getDefinedPackage(String)
.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. implementationTitle
The package implementation's title ornull
if no such title exists.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. implementationVendor
The package implementation's vendor ornull
if no such vendor exists.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. implementationVersion
The package implementation's version ornull
if no such version exists.private java.net.URL
ByteArrayClassLoader.ChildFirst.PrependingEnumeration. nextElement
The next element to return from this enumeration ornull
if such an element does not exist.protected java.security.ProtectionDomain
ByteArrayClassLoader. protectionDomain
The protection domain to apply.private java.security.ProtectionDomain
ClassInjector.UsingJna. protectionDomain
The protection domain to use ornull
for no protection domain.private java.security.ProtectionDomain
ClassInjector.UsingReflection. protectionDomain
The protection domain that is used when loading classes.private java.security.ProtectionDomain
ClassInjector.UsingUnsafe. protectionDomain
The protection domain to use ornull
for no protection domain.private java.security.ProtectionDomain
ClassLoadingStrategy.Default.InjectionDispatcher. protectionDomain
The protection domain to apply ornull
if no protection domain is set.private java.security.ProtectionDomain
ClassLoadingStrategy.Default.WrappingDispatcher. protectionDomain
The protection domain to apply ornull
if no protection domain is set.private java.security.ProtectionDomain
ClassLoadingStrategy.ForJnaInjection. protectionDomain
The protection domain to use ornull
if no protection domain is set.private java.security.ProtectionDomain
ClassLoadingStrategy.ForUnsafeInjection. protectionDomain
The protection domain to use ornull
if no protection domain is set.protected java.net.URL
PackageDefinitionStrategy.Definition.Simple. sealBase
The seal base ornull
if the package is not sealed.private java.net.URL
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue. sealBase
The seal base URL.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. specificationTitle
The package specification's title ornull
if no such title exists.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. specificationVendor
The package specification's vendor ornull
if no such vendor exists.private java.lang.String
PackageDefinitionStrategy.Definition.Simple. specificationVersion
The package specification's version ornull
if no such version exists.Methods in net.bytebuddy.dynamic.loading with annotations of type MaybeNull Modifier and Type Method Description java.lang.Package
ByteArrayClassLoader.PackageLookupStrategy. apply(ByteArrayClassLoader classLoader, java.lang.String name)
Returns a package for a given byte array class loader and a name.java.lang.Package
ByteArrayClassLoader.PackageLookupStrategy.ForJava9CapableVm. apply(ByteArrayClassLoader classLoader, java.lang.String name)
Returns a package for a given byte array class loader and a name.java.lang.Package
ByteArrayClassLoader.PackageLookupStrategy.ForLegacyVm. apply(ByteArrayClassLoader classLoader, java.lang.String name)
Returns a package for a given byte array class loader and a name.private java.lang.Package
ByteArrayClassLoader. doGetPackage(java.lang.String name)
Returns the package for a given name.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher. findClass(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a class from the given class loader.protected java.net.URL
ByteArrayClassLoader. findResource(java.lang.String name)
java.net.URL
PackageDefinitionStrategy.ManifestReading.SealBaseLocator. findSealBase(java.lang.ClassLoader classLoader, java.lang.String typeName)
Locates the URL that should be used for sealing a package.java.net.URL
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue. findSealBase(java.lang.ClassLoader classLoader, java.lang.String typeName)
Locates the URL that should be used for sealing a package.java.net.URL
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl. findSealBase(java.lang.ClassLoader classLoader, java.lang.String typeName)
Locates the URL that should be used for sealing a package.java.net.URL
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing. findSealBase(java.lang.ClassLoader classLoader, java.lang.String typeName)
Locates the URL that should be used for sealing a package.protected java.lang.ClassLoader
ClassInjector.UsingInstrumentation.Target. getClassLoader()
Returns the class loader to load classes from.private static java.lang.Object
ByteArrayClassLoader. getContext()
A proxy forjava.security.AccessController#getContext
that is activated if available.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. getDefinedPackage(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a package from a class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. getDefinedPackage(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a package from a class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. getDefinedPackage(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a package from a class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. getDefinedPackage(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a package from a class loader.java.lang.String
PackageDefinitionStrategy.Definition. getImplementationTitle()
Returns the package implementation's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getImplementationTitle()
Returns the package implementation's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition.Trivial. getImplementationTitle()
Returns the package implementation's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition. getImplementationVendor()
Returns the package implementation's vendor ornull
if no such vendor exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getImplementationVendor()
Returns the package implementation's vendor ornull
if no such vendor exists.java.lang.String
PackageDefinitionStrategy.Definition. getImplementationVersion()
Returns the package implementation's version ornull
if no such version exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getImplementationVersion()
Returns the package implementation's version ornull
if no such version exists.java.lang.String
PackageDefinitionStrategy.Definition.Trivial. getImplementationVersion()
Returns the package implementation's version ornull
if no such version exists.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. getPackage(java.lang.ClassLoader classLoader, java.lang.String name)
Looks up a package from a class loader or its ancestor.java.net.URL
PackageDefinitionStrategy.Definition. getSealBase()
The URL representing the seal base.java.net.URL
PackageDefinitionStrategy.Definition.Simple. getSealBase()
The URL representing the seal base.java.net.URL
PackageDefinitionStrategy.Definition.Trivial. getSealBase()
The URL representing the seal base.java.lang.Object
ClassInjector.UsingReflection.System. getSecurityManager()
Returns the current security manager ornull
if not available.java.lang.Object
ClassInjector.UsingUnsafe.System. getSecurityManager()
Returns the current security manager ornull
if not available.java.lang.String
PackageDefinitionStrategy.Definition. getSpecificationTitle()
Returns the package specification's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getSpecificationTitle()
Returns the package specification's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition.Trivial. getSpecificationTitle()
Returns the package specification's title ornull
if no such title exists.java.lang.String
PackageDefinitionStrategy.Definition. getSpecificationVendor()
Returns the package specification's vendor ornull
if no such vendor exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getSpecificationVendor()
Returns the package specification's vendor ornull
if no such vendor exists.java.lang.String
PackageDefinitionStrategy.Definition.Trivial. getSpecificationVendor()
Returns the package specification's vendor ornull
if no such vendor exists.java.lang.String
PackageDefinitionStrategy.Definition. getSpecificationVersion()
Returns the package specification's version ornull
if no such version exists.java.lang.String
PackageDefinitionStrategy.Definition.Simple. getSpecificationVersion()
Returns the package specification's version ornull
if no such version exists.java.lang.String
PackageDefinitionStrategy.Definition.Trivial. getSpecificationVersion()
Returns the package specification's version ornull
if no such version exists.protected abstract byte[]
ByteArrayClassLoader.PersistenceHandler. lookup(java.lang.String name, java.util.concurrent.ConcurrentMap<java.lang.String,byte[]> typeDefinitions)
Performs a lookup of a class file by its name.java.net.URL
ByteArrayClassLoader.PersistenceHandler.UrlDefinitionAction.Dispatcher. of(java.net.URI uri, java.net.URLStreamHandler handler)
Resolves a URL from an URI, if possible.byte[]
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassResettingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
protected abstract java.net.URL
ByteArrayClassLoader.PersistenceHandler. url(java.lang.String resourceName, java.util.concurrent.ConcurrentMap<java.lang.String,byte[]> typeDefinitions)
Returns a URL representing a class file.Method parameters in net.bytebuddy.dynamic.loading with annotations of type MaybeNull Modifier and Type Method Description java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Enabled. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Enabled. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher.Direct. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class for the given class loader.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher.Enabled. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher.Enabled. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Class<?>
ClassInjector.UsingUnsafe.Dispatcher.Unavailable. defineClass(java.lang.ClassLoader classLoader, java.lang.String name, byte[] binaryRepresentation, java.security.ProtectionDomain protectionDomain)
Defines a class.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Direct. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.Unavailable. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.java.lang.Package
ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride. definePackage(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Defines a package for the given class loader.private java.lang.ClassLoader
MultipleParentClassLoader.Builder. doBuild(java.lang.ClassLoader parent)
Creates a multiple parent class loader with an explicit parent.private static <T> T
ByteArrayClassLoader. doPrivileged(java.security.PrivilegedAction<T> action, java.lang.Object context)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.boolean
PackageDefinitionStrategy.Definition.Simple. equals(java.lang.Object other)
boolean
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue. equals(java.lang.Object other)
java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Jvm. JVM_DefineClass(com.sun.jna.JNIEnv env, java.lang.String name, java.lang.ClassLoader classLoader, byte[] binaryRepresentation, int length, java.security.ProtectionDomain protectionDomain)
Defines a new class into a given class loader.java.lang.Class<?>
ClassInjector.UsingJna.Dispatcher.Jvm. JVM_DefineClass(com.sun.jna.JNIEnv env, java.lang.String name, java.lang.ClassLoader classLoader, byte[] binaryRepresentation, int length, java.security.ProtectionDomain protectionDomain)
Defines a new class into a given class loader.static java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader.ChildFirst. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given set of class descriptions and their binary representations using a child-first class loader.static java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader.ChildFirst. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types, java.security.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 java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader.ChildFirst. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types, java.security.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 java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given set of class descriptions and their binary representations.static java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed)
Loads a given set of class descriptions and their binary representations.static java.util.Map<TypeDescription,java.lang.Class<?>>
ByteArrayClassLoader. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed)
Loads a given set of class descriptions and their binary representations.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.Default.InjectionDispatcher. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.Default. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.Default.WrappingDispatcher. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.ForBootstrapInjection. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.ForJnaInjection. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.ForUnsafeInjection. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy. load(T classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassLoadingStrategy.UsingLookup. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
ClassReloadingStrategy. load(java.lang.ClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.java.util.Map<TypeDescription,java.lang.Class<?>>
InjectionClassLoader.Strategy. load(InjectionClassLoader classLoader, java.util.Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.ClassInjector
ClassInjector.UsingUnsafe.Factory. make(java.lang.ClassLoader classLoader)
Creates a new class injector for the given class loader without aProtectionDomain
.ClassInjector
ClassInjector.UsingUnsafe.Factory. make(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new class injector for the given class loader and protection domain.ClassInjector
ClassInjector.UsingUnsafe.Factory. make(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new class injector for the given class loader and protection domain.byte[]
ClassFilePostProcessor.ForClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassFilePostProcessor.ForClassFileTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassFilePostProcessor.NoOp. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassFilePostProcessor.NoOp. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassFilePostProcessor. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassFilePostProcessor. transform(java.lang.ClassLoader classLoader, java.lang.String name, java.security.ProtectionDomain protectionDomain, byte[] binaryRepresentation)
Transforms a class file for a given class.byte[]
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassRedefinitionTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassResettingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassResettingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassResettingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
byte[]
ClassReloadingStrategy.Strategy.ClassResettingTransformer. transform(java.lang.ClassLoader classLoader, java.lang.String internalTypeName, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
Constructor parameters in net.bytebuddy.dynamic.loading with annotations of type MaybeNull Constructor Description ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new class loader for a given definition of classes.ByteArrayClassLoader(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new class loader for a given definition of classes.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, boolean sealed, java.util.Map<java.lang.String,byte[]> typeDefinitions, ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, java.security.ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassFilePostProcessor classFilePostProcessor)
Creates a new child-first byte array class loader.ChildFirst(java.lang.ClassLoader parent, java.util.Map<java.lang.String,byte[]> typeDefinitions, ByteArrayClassLoader.PersistenceHandler persistenceHandler)
Creates a new child-first byte array class loader.Direct(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage)
Creates a new direct injection dispatcher.ForFixedValue(java.net.URL sealBase)
Creates a new seal base locator for a fixed URL.ForJava7CapableVm(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage, java.lang.reflect.Method getClassLoadingLock)
Creates a new resolved reflection store for a VM running at least Java 7.ForJava7CapableVm(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage, java.lang.reflect.Method getClassLoadingLock)
Creates a new resolved class injector using unsafe field injection for a VM running at least Java 7.ForJnaInjection(java.security.ProtectionDomain protectionDomain)
Creates a new class loading strategy for JNA-based injection.ForLegacyVm(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage)
Creates a new resolved reflection store for a VM prior to Java 8.ForLegacyVm(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage)
Creates a new resolved class injector using unsafe field injection for a VM prior to Java 7.ForUnsafeInjection(java.security.ProtectionDomain protectionDomain)
Creates a new class loading strategy for unsafe injection.InjectionClassLoader(java.lang.ClassLoader parent, boolean sealed)
Creates a new injection class loader.InjectionDispatcher(java.security.ProtectionDomain protectionDomain, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting)
Creates a new injection dispatcher.MultipleParentClassLoader(java.lang.ClassLoader parent, java.util.List<? extends java.lang.ClassLoader> parents)
Creates a new class loader with multiple parents.MultipleParentClassLoader(java.lang.ClassLoader parent, java.util.List<? extends java.lang.ClassLoader> parents, boolean sealed)
Creates a new class loader with multiple parents.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Simple(java.lang.String specificationTitle, java.lang.String specificationVersion, java.lang.String specificationVendor, java.lang.String implementationTitle, java.lang.String implementationVersion, java.lang.String implementationVendor, java.net.URL sealBase)
Creates a new simple package definition.Target(java.lang.ClassLoader classLoader)
Creates a new injection target.UsingJna(java.lang.ClassLoader classLoader)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingJna(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new JNA injector for the given class loader with a default protection domain.UsingJna(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new JNA injector for the given class loader with a default protection domain.UsingReflection(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new injector for the givenClassLoader
and a defaultPackageDefinitionStrategy
where the injection of existent classes does not trigger an error.UsingReflection(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting)
Creates a new injector for the givenClassLoader
andProtectionDomain
.UsingUnsafe(java.lang.ClassLoader classLoader)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingUnsafe(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingUnsafe(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingUnsafe(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, ClassInjector.UsingUnsafe.Dispatcher.Initializable dispatcher)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingUnsafe(java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain, ClassInjector.UsingUnsafe.Dispatcher.Initializable dispatcher)
Creates a new unsafe injector for the given class loader with a default protection domain.UsingUnsafeInjection(java.lang.Object accessor, java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage, java.lang.reflect.Method getClassLoadingLock)
Creates a new class loading injection dispatcher using an unsafe injected dispatcher.UsingUnsafeOverride(java.lang.reflect.Method findLoadedClass, java.lang.reflect.Method defineClass, java.lang.reflect.Method getDefinedPackage, java.lang.reflect.Method getPackage, java.lang.reflect.Method definePackage)
Creates a new unsafe field injecting injection dispatcher.WrappingDispatcher(java.security.ProtectionDomain protectionDomain, PackageDefinitionStrategy packageDefinitionStrategy, ByteArrayClassLoader.PersistenceHandler persistenceHandler, boolean childFirst, boolean forbidExisting, boolean sealed)
Creates a new protection domain specific class loading wrapper. -
Uses of MaybeNull in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with annotations of type MaybeNull Modifier and Type Field Description private TypeDescription
InstrumentedType.Default. declaringType
The declaring type of the instrumented type ornull
if no such type exists.private java.lang.Object
FieldRegistry.Default.Compiled.Entry. defaultValue
The default value to write to the field ornull
if no default value is to be set for the field.private java.lang.Object
FieldRegistry.Default.Entry. defaultValue
The default value to write to the field ornull
if no default value is to be set for the field.private java.lang.Object
TypeWriter.FieldPool.Record.ForExplicitField. defaultValue
The field's default value.protected static java.lang.String
TypeWriter.Default. DUMP_FOLDER
A folder for dumping class files ornull
if no dump should be generated.private MethodDescription.InDefinedShape
InstrumentedType.Default. enclosingMethod
The enclosing method of the instrumented type ornull
if no such type exists.private TypeDescription
InstrumentedType.Default. enclosingType
The enclosing type of the instrumented type ornull
if no such type exists.private java.util.List<? extends TypeDescription>
InstrumentedType.Default. permittedSubclasses
A list of permitted subclasses ornull
if this type is not sealed.private java.util.Set<java.lang.String>
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. permittedSubclasses
A list of internal names of permitted subclasses to include.private TypeDescription.Generic
InstrumentedType.Default. superClass
The generic super type of the instrumented type.Methods in net.bytebuddy.dynamic.scaffold with annotations of type MaybeNull Modifier and Type Method 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.protected java.lang.Object
FieldRegistry.Default.Entry. getDefaultValue()
Returns the default value to write to the field ornull
if no default value is to be set for the field.AnnotationValue<?,?>
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.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.java.lang.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 ornull
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 ornull
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 org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithDecorationOnly.DecorationClassVisitor. onVisitAnnotation(java.lang.String descriptor, boolean visible)
protected org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitAnnotation(java.lang.String descriptor, boolean visible)
protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.Object value)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
protected org.objectweb.asm.RecordComponentVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature)
protected org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithDecorationOnly.DecorationClassVisitor. onVisitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
protected org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(MethodDescription methodDescription, boolean abstractOrigin, int modifiers, java.lang.String genericSignature)
Redefines a given method if this is required by looking up a potential implementation from theTypeWriter.MethodPool
.protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(TypeWriter.FieldPool.Record record, java.lang.Object value, int modifiers, java.lang.String genericSignature)
Redefines a field using the given explicit field pool record and default value.protected org.objectweb.asm.RecordComponentVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(TypeWriter.RecordComponentPool.Record record, java.lang.String genericSignature)
Redefines a record component using the given explicit record component pool record.java.lang.Object
TypeWriter.FieldPool.Record.ForExplicitField. resolveDefault(java.lang.Object defaultValue)
Resolves the default value that this record represents.java.lang.Object
TypeWriter.FieldPool.Record. resolveDefault(java.lang.Object defaultValue)
Resolves the default value that this record represents.org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ValidatingClassVisitor.ValidatingMethodVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ValidatingClassVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor. visitAnnotationDefault()
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor. visitAnnotationDefault()
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ValidatingClassVisitor.ValidatingMethodVisitor. visitAnnotationDefault()
org.objectweb.asm.FieldVisitor
TypeWriter.Default.ValidatingClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.MethodVisitor
TypeWriter.Default.ValidatingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor. visitParameterAnnotation(int index, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor. visitParameterAnnotation(int index, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ValidatingClassVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Method parameters in net.bytebuddy.dynamic.scaffold with annotations of type MaybeNull Modifier and Type Method Description protected MethodGraph.Compiler.Default.Key.Store<T>
MethodGraph.Compiler.Default. analyzeNullable(TypeDescription.Generic typeDescription, java.util.Map<TypeDefinition,MethodGraph.Compiler.Default.Key.Store<T>> snapshots, ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description.boolean
MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token. equals(java.lang.Object other)
boolean
MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token. equals(java.lang.Object other)
boolean
MethodGraph.Compiler.Default.Key. equals(java.lang.Object other)
boolean
MethodGraph.Compiler.Default.Key.Store.Entry.Initial. equals(java.lang.Object other)
boolean
TypeWriter.Default.SignatureKey. equals(java.lang.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 org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.Object value)
protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.Object value)
protected void
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
protected void
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
protected void
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
protected void
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForCreation.CreationClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
protected void
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
protected void
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
protected org.objectweb.asm.RecordComponentVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. onVisitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature)
FieldRegistry
FieldRegistry.Default. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.FieldRegistry
FieldRegistry. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.protected org.objectweb.asm.MethodVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(MethodDescription methodDescription, boolean abstractOrigin, int modifiers, java.lang.String genericSignature)
Redefines a given method if this is required by looking up a potential implementation from theTypeWriter.MethodPool
.protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(TypeWriter.FieldPool.Record record, java.lang.Object value, int modifiers, java.lang.String genericSignature)
Redefines a field using the given explicit field pool record and default value.protected org.objectweb.asm.FieldVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(TypeWriter.FieldPool.Record record, java.lang.Object value, int modifiers, java.lang.String genericSignature)
Redefines a field using the given explicit field pool record and default value.protected org.objectweb.asm.RecordComponentVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor. redefine(TypeWriter.RecordComponentPool.Record record, java.lang.String genericSignature)
Redefines a record component using the given explicit record component pool record.java.lang.Object
TypeWriter.FieldPool.Record.ForExplicitField. resolveDefault(java.lang.Object defaultValue)
Resolves the default value that this record represents.java.lang.Object
TypeWriter.FieldPool.Record.ForImplicitField. resolveDefault(java.lang.Object defaultValue)
Resolves the default value that this record represents.java.lang.Object
TypeWriter.FieldPool.Record. resolveDefault(java.lang.Object defaultValue)
Resolves the default value that this record represents.void
TypeWriter.Default.ValidatingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaceInternalName)
void
TypeWriter.Default.ValidatingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaceInternalName)
void
TypeWriter.Default.ValidatingClassVisitor. visit(int version, int modifiers, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaceInternalName)
org.objectweb.asm.FieldVisitor
TypeWriter.Default.ValidatingClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
TypeWriter.Default.ValidatingClassVisitor. visitField(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
void
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
org.objectweb.asm.MethodVisitor
TypeWriter.Default.ValidatingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.MethodVisitor
TypeWriter.Default.ValidatingClassVisitor. visitMethod(int modifiers, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exceptionInternalName)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingFieldVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.CodePreservingMethodVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypeWriter.Default.ValidatingClassVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
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
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. 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.WithFlexibleName
InstrumentedType.WithFlexibleName. withEnclosingType(TypeDescription enclosingType)
Creates a new instrumented type with the supplied enclosing 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.InstrumentedType.WithFlexibleName
InstrumentedType.WithFlexibleName. withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.InstrumentedType
InstrumentedType. withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.Constructor parameters in net.bytebuddy.dynamic.scaffold with annotations of type MaybeNull Constructor Description Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.Entry(ElementMatcher<? super FieldDescription> matcher, FieldAttributeAppender fieldAttributeAppender, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Creates a new entry.Entry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Creates a new entry.ForExplicitField(FieldAttributeAppender attributeAppender, java.lang.Object defaultValue, FieldDescription fieldDescription)
Creates a record for a rich field. -
Uses of MaybeNull in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation with annotations of type MaybeNull Modifier and Type Field Description private java.lang.Object
LoadedTypeInitializer.ForStaticField. accessControlContext
The access control context to use for loading classes ornull
if the access controller is not available on the current VM.private T
FieldAccessor.ForSetter.Appender. initialized
The initialized value which might benull
.Methods in net.bytebuddy.implementation with annotations of type MaybeNull Modifier and Type Method Description private static java.lang.Object
LoadedTypeInitializer.ForStaticField. getContext()
A proxy forjava.security.AccessController#getContext
that is activated if available.AnnotationValue<?,?>
Implementation.Context.Default.AccessorMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
Implementation.Context.Default.FieldGetter. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
Implementation.Context.Default.FieldSetter. getDefaultValue()
Returns the method's default annotation value ornull
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.java.lang.String
ToStringMethod.PrefixResolver. resolve(TypeDescription instrumentedType)
Resolves the prefixed value.Method parameters in net.bytebuddy.implementation with annotations of type MaybeNull Modifier and Type Method Description private static <T> T
LoadedTypeInitializer.ForStaticField. doPrivileged(java.security.PrivilegedAction<T> action, java.lang.Object context)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.boolean
Implementation.Context.Default.FieldCacheEntry. equals(java.lang.Object other)
boolean
Implementation.SpecialMethodInvocation.AbstractBase. equals(java.lang.Object other)
protected abstract void
Implementation.Context.FrameGeneration. generate(org.objectweb.asm.MethodVisitor methodVisitor, int type, int stackCount, java.lang.Object[] stack, int changedLocalVariableCount, java.lang.Object[] changedLocalVariable, int fullLocalVariableCount, java.lang.Object[] fullLocalVariable)
Writes frames to aMethodVisitor
, if applicable.protected abstract void
Implementation.Context.FrameGeneration. generate(org.objectweb.asm.MethodVisitor methodVisitor, int type, int stackCount, java.lang.Object[] stack, int changedLocalVariableCount, java.lang.Object[] changedLocalVariable, int fullLocalVariableCount, java.lang.Object[] fullLocalVariable)
Writes frames to aMethodVisitor
, if applicable.protected abstract void
Implementation.Context.FrameGeneration. generate(org.objectweb.asm.MethodVisitor methodVisitor, int type, int stackCount, java.lang.Object[] stack, int changedLocalVariableCount, java.lang.Object[] changedLocalVariable, int fullLocalVariableCount, java.lang.Object[] fullLocalVariable)
Writes frames to aMethodVisitor
, if applicable.static MethodCall.ArgumentLoader.Factory
MethodCall.ArgumentLoader.ForStackManipulation. of(java.lang.Object value)
Creates an argument loader that loads the supplied value as a constant.protected StackManipulation
FieldAccessor.ForSetter.OfConstantValue. resolve(java.lang.Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.protected StackManipulation
FieldAccessor.ForSetter.OfDefaultValue. resolve(java.lang.Void initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set.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.OfParameterValue. resolve(java.lang.Void unused, 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.Implementation.Composable
FieldAccessor.ForImplicitProperty. setsValue(java.lang.Object value)
Defines a setter of a given value for the described field.Constructor parameters in net.bytebuddy.implementation with annotations of type MaybeNull Constructor Description Appender(TypeDescription instrumentedType, T initialized, FieldAccessor.FieldLocation.Prepared fieldLocation)
Creates a new appender for a field setter. -
Uses of MaybeNull in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with annotations of type MaybeNull Modifier and Type Method Description org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnField. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnField. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnMethod. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnMethod. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnMethodParameter. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnMethodParameter. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnRecordComponent. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnRecordComponent. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnType. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target.OnType. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target. visit(java.lang.String annotationTypeDescriptor, boolean visible)
Creates an annotation visitor for writing the specified annotation.org.objectweb.asm.AnnotationVisitor
AnnotationAppender.Target. visit(java.lang.String annotationTypeDescriptor, boolean visible, int typeReference, java.lang.String typePath)
Creates an annotation visitor for writing the specified type annotation.Method parameters in net.bytebuddy.implementation.attribute with annotations of type MaybeNull Modifier and Type Method Description static void
AnnotationAppender.Default. apply(org.objectweb.asm.AnnotationVisitor annotationVisitor, TypeDescription valueType, java.lang.String name, java.lang.Object value)
Performs the writing of a given annotation value to an annotation visitor. -
Uses of MaybeNull in net.bytebuddy.implementation.bind
Methods in net.bytebuddy.implementation.bind with annotations of type MaybeNull Modifier and Type Method Description java.lang.Integer
MethodDelegationBinder.MethodBinding.Builder.Build. getTargetParameterIndex(java.lang.Object parameterBindingToken)
Returns the target method's parameter index for a given parameter binding token.java.lang.Integer
MethodDelegationBinder.MethodBinding. getTargetParameterIndex(java.lang.Object parameterBindingToken)
Returns the target method's parameter index for a given parameter binding token.Method parameters in net.bytebuddy.implementation.bind with annotations of type MaybeNull Modifier and Type Method Description boolean
ArgumentTypeResolver.ParameterIndexToken. equals(java.lang.Object other)
-
Uses of MaybeNull in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation with annotations of type MaybeNull Modifier and Type Field Description private java.lang.Object
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant. value
The value that is assigned to any annotated parameter.Methods in net.bytebuddy.implementation.bind.annotation with annotations of type MaybeNull Modifier and Type Method Description protected abstract java.lang.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 aMethodDelegation
.protected java.lang.Object
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant. bind(AnnotationDescription.Loadable<U> annotation, MethodDescription source, ParameterDescription target)
Method parameters in net.bytebuddy.implementation.bind.annotation with annotations of type MaybeNull Modifier and Type Method Description boolean
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.DefaultArgument. equals(java.lang.Object other)
static <V extends java.lang.annotation.Annotation>
TargetMethodAnnotationDrivenBinder.ParameterBinder<V>TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant. of(java.lang.Class<V> type, java.lang.Object value)
Creates a binder for binding a fixed value to a given annotation.private static int
BindingPriority.Resolver. resolve(AnnotationDescription.Loadable<BindingPriority> bindingPriority)
Resolves the explicitly stated binding priority of a method or returns the default value if no such explicit information can be found.Constructor parameters in net.bytebuddy.implementation.bind.annotation with annotations of type MaybeNull Constructor Description OfConstant(java.lang.Class<U> type, java.lang.Object value)
Creates a binder for binding a fixed value to a parameter annotated with the given annotation. -
Uses of MaybeNull in net.bytebuddy.implementation.bytecode.constant
Fields in net.bytebuddy.implementation.bytecode.constant with annotations of type MaybeNull Modifier and Type Field Description protected static MethodDescription.InDefinedShape
MethodConstant. DO_PRIVILEGED
Thejava.security.AccessController#doPrivileged(PrivilegedExceptionAction)
method ornull
if this method is not available on the current VM.Methods in net.bytebuddy.implementation.bytecode.constant with annotations of type MaybeNull Modifier and Type Method Description private static MethodDescription.InDefinedShape
MethodConstant. doPrivileged()
Resolves thejava.security.AccessController#doPrivileged
method if the security manager is supported on the current VM and if security manager support is not explicitly disabled.Method parameters in net.bytebuddy.implementation.bytecode.constant with annotations of type MaybeNull Modifier and Type Method Description boolean
FieldConstant.Cached. equals(java.lang.Object other)
boolean
FieldConstant. equals(java.lang.Object other)
boolean
MethodConstant.CachedConstructor. equals(java.lang.Object other)
boolean
MethodConstant.CachedMethod. equals(java.lang.Object other)
boolean
MethodConstant. equals(java.lang.Object other)
boolean
MethodConstant.PrivilegedLookup. equals(java.lang.Object other)
static StackManipulation
SerializedConstant. of(java.io.Serializable value)
Creates a new stack manipulation to load the supplied value onto the stack. -
Uses of MaybeNull in net.bytebuddy.matcher
Fields in net.bytebuddy.matcher with annotations of type MaybeNull Modifier and Type Field Description private java.lang.ClassLoader
ClassLoaderParentMatcher. classLoader
The class loader that is matched for being a child of the matched class loader.Method parameters in net.bytebuddy.matcher with annotations of type MaybeNull Modifier and Type Method Description static <T> ElementMatcher.Junction<T>
ElementMatchers. is(java.lang.Object value)
Matches the given value which can also benull
by theObject.equals(Object)
method or by a null-check.static <T extends java.lang.ClassLoader>
ElementMatcher.Junction<T>ElementMatchers. isChildOf(java.lang.ClassLoader classLoader)
Matches any class loader that is either the given class loader or a child of the given class loader.static <T extends java.lang.ClassLoader>
ElementMatcher.Junction<T>ElementMatchers. isParentOf(java.lang.ClassLoader classLoader)
Matches any class loader that is either the given class loader or a parent of the given class loader.boolean
BooleanMatcher. matches(T target)
Matches a target against this element matcher.boolean
CachingMatcher. matches(T target)
Matches a target against this element matcher.boolean
ClassLoaderHierarchyMatcher. matches(T target)
Matches a target against this element matcher.boolean
ClassLoaderParentMatcher. matches(T target)
Matches a target against this element matcher.boolean
ElementMatcher.Junction.ForNonNullValues. matches(W target)
Matches a target against this element matcher.boolean
EqualityMatcher. matches(T target)
Matches a target against this element matcher.boolean
FailSafeMatcher. matches(T target)
Matches a target against this element matcher.boolean
NegatingMatcher. matches(T target)
Matches a target against this element matcher.boolean
NullMatcher. matches(T target)
Matches a target against this element matcher.protected boolean
CachingMatcher. onCacheMiss(T target)
Invoked if the cache is not hit.protected boolean
CachingMatcher.WithInlineEviction. onCacheMiss(S target)
Invoked if the cache is not hit.Constructor parameters in net.bytebuddy.matcher with annotations of type MaybeNull Constructor Description ClassLoaderParentMatcher(java.lang.ClassLoader classLoader)
Creates a class loader parent element matcher. -
Uses of MaybeNull in net.bytebuddy.pool
Fields in net.bytebuddy.pool with annotations of type MaybeNull Modifier and Type Field Description private ClassFileVersion
TypePool.Default.TypeExtractor. classFileVersion
The discovered class file version ornull
if no version was yet discovered.private java.lang.ClassLoader
TypePool.ClassLoading. classLoader
The class loader to query.protected java.lang.String
TypePool.Default.GenericTypeExtractor.ForSignature. currentTypeParameter
The name of the currently constructed type.private java.lang.String
TypePool.Default.LazyTypeDescription. declaringTypeName
The binary name of this type's declaring type ornull
if no such type exists.private java.lang.String
TypePool.Default.TypeExtractor. declaringTypeName
The binary name of this type's declaring type ornull
if no such type exists.private AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyMethodDescription. defaultValue
The default value of this method ornull
if no such value exists.private AnnotationValue<?,?>
TypePool.Default.TypeExtractor.MethodExtractor. defaultValue
The default value of the found method ornull
if no such value exists.private java.lang.String[]
TypePool.Default.LazyTypeDescription.MethodToken. exceptionName
An array of internal names of the exceptions of the represented method ornull
if there are no such exceptions.private java.lang.String[]
TypePool.Default.TypeExtractor.MethodExtractor. exceptionName
An array of internal names of the exceptions of the found method ornull
if there are no such exceptions.private org.objectweb.asm.Label
TypePool.Default.TypeExtractor.MethodExtractor. firstLabel
The first label that is found in the method's body, if any, denoting the start of the method.private java.lang.String
TypePool.Default.LazyTypeDescription. genericSignature
The type's generic signature as found in the class file ornull
if the type is not generic.private java.lang.String
TypePool.Default.LazyTypeDescription.LazyFieldDescription. genericSignature
The field's generic signature as found in the class file ornull
if the field is not generic.private java.lang.String
TypePool.Default.LazyTypeDescription.LazyMethodDescription. genericSignature
The method's generic signature as found in the class file ornull
if the method is not generic.private java.lang.String
TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription. genericSignature
The record component's generic signature ornull
if the record component is non-generic.private java.lang.String
TypePool.Default.TypeExtractor.FieldExtractor. genericSignature
The generic signature of the field ornull
if it is not generic.private java.lang.String
TypePool.Default.TypeExtractor. genericSignature
The generic signature of the type ornull
if it is not generic.private java.lang.String
TypePool.Default.TypeExtractor.MethodExtractor. genericSignature
The generic signature of the method ornull
if it is not generic.private java.lang.String
TypePool.Default.TypeExtractor.RecordComponentExtractor. genericSignature
The record component's generic signature.private java.lang.String[]
TypePool.Default.TypeExtractor. interfaceName
A list of internal names of interfaces implemented by this type ornull
if no interfaces are implemented.private java.lang.String
TypePool.Default.TypeExtractor. internalName
The internal name found for this type.private java.lang.Integer
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken. modifiers
The modifiers of the parameter ornull
if no modifiers are known for this parameter.private java.lang.String
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken. name
The name of the parameter ornull
if no explicit name for this parameter is known.private java.lang.String
TypePool.Default.LazyTypeDescription. nestHost
The binary name of the nest host ornull
if no nest host was specified.private java.lang.String
TypePool.Default.TypeExtractor. nestHost
The nest host that was found in the class file ornull
if no nest host was specified.static java.lang.String
TypePool.AbstractBase.ComponentTypeReference. NO_ARRAY
Indicates that no component type is defined for the property.private java.lang.String
TypePool.Default.LazyTypeDescription. superClassDescriptor
The type's super type's descriptor ornull
if this type does not define a super type.private java.lang.String
TypePool.Default.TypeExtractor. superClassName
The internal name of the super type found for this type ornull
if no such type exists.static TypePool.Resolution
TypePool.CacheProvider. UNRESOLVED
The value that is returned on a cache-miss.Methods in net.bytebuddy.pool with annotations of type MaybeNull Modifier and Type Method Description TypePool.Resolution
TypePool.CacheProvider.Discriminating. find(java.lang.String name)
Attempts to find a resolution in this cache.TypePool.Resolution
TypePool.CacheProvider. find(java.lang.String name)
Attempts to find a resolution in this cache.TypePool.Resolution
TypePool.CacheProvider.NoOp. find(java.lang.String name)
Attempts to find a resolution in this cache.TypePool.Resolution
TypePool.CacheProvider.Simple. find(java.lang.String name)
Attempts to find a resolution in this cache.TypePool.Resolution
TypePool.CacheProvider.Simple.UsingSoftReference. find(java.lang.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.Generic
TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType. getComponentType()
Returns the component type of this type.TypeDescription
TypePool.Default.LazyTypeDescription. getDeclaringType()
Returns the declaring type of this instance.AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyMethodDescription. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.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 ornull
if no such method exists.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
if no such method exists.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment.WithinType. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
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 ornull
if no such type exists.TypeDescription
TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained. getEnclosingType(TypePool typePool)
Returns the enclosing type ornull
if no such type exists.java.lang.String
TypePool.Default.LazyTypeDescription. getGenericSignature()
java.lang.String
TypePool.Default.LazyTypeDescription.LazyFieldDescription. getGenericSignature()
Returns the generic signature of this byte code element.java.lang.String
TypePool.Default.LazyTypeDescription.LazyMethodDescription. getGenericSignature()
Returns the generic signature of this byte code element.java.lang.String
TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription. getGenericSignature()
protected java.lang.Integer
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken. getModifiers()
Returns the modifiers of the parameter ornull
if no modifiers are known.protected java.lang.String
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken. getName()
Returns the name of the parameter ornull
if there is no such name.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType. 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.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.LazyMethodDescription.LazyNonGenericReceiverType. getOwnerType()
Returns the owner type of this type.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType. getOwnerType()
Returns the owner type of this type.PackageDescription
TypePool.Default.LazyTypeDescription. getPackage()
Returns the package of the type described by this instance ornull
if the described type is a primitive type or an array.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.LazyMethodDescription. getReceiverType()
Returns this methods receiver type.TypeDescription.Generic
TypePool.Default.LazyTypeDescription. getSuperClass()
Returns the super class of this type.java.lang.String
TypePool.AbstractBase.ComponentTypeReference. resolve()
Lazily resolves the binary name of the array component type of an annotation value.java.lang.String
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty.Bound. resolve()
Lazily resolves the binary name of the array component type of an annotation value.java.lang.String[]
TypePool.Default.LazyTypeDescription.LazyTypeList. toInternalNames()
Returns a list of internal names of all types represented by this list.org.objectweb.asm.MethodVisitor
TypePool.Default.TypeExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
org.objectweb.asm.AnnotationVisitor
TypePool.Default.TypeExtractor.FieldExtractor. visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypePool.Default.TypeExtractor.MethodExtractor. visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Method parameters in net.bytebuddy.pool with annotations of type MaybeNull Modifier and Type Method Description protected static AnnotationList
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription. asListOfNullable(TypePool typePool, java.util.List<? extends TypePool.Default.LazyTypeDescription.AnnotationToken> tokens)
Represents a list of annotation tokens in form of a list of lazy type annotations.boolean
TypePool.Default.LazyTypeDescription.LazyAnnotationValue. equals(java.lang.Object other)
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
TypePool.Default.GenericTypeExtractor.ForSignature.OfField. extract(java.lang.String genericSignature)
Extracts a generic field resolution of a field signature.static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod. extract(java.lang.String genericSignature)
Extracts a generic method resolution of a method signature.static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent. extract(java.lang.String genericSignature)
Extracts a generic field resolution of a field signature.static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
TypePool.Default.GenericTypeExtractor.ForSignature.OfType. extract(java.lang.String genericSignature)
Extracts a generic type resolution of a type signature.AnnotationValue.Loaded<X>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForMismatchedType. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.AnnotationValue.Loaded<V>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue. load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.static TypePool
TypePool.ClassLoading. of(java.lang.ClassLoader classLoader)
Returns a type pool that attempts type descriptions by loadings types from the given class loader.static TypePool
TypePool.ClassLoading. of(java.lang.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, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, java.util.List<java.lang.String> descriptors)
Creates generic type list only representing raw types.protected static TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType. of(TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, java.lang.String descriptor)
Creates a new raw annotated type.protected static TypeDescription.Generic
TypePool.Default.LazyTypeDescription.TokenizedGenericType. of(TypePool typePool, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken, java.lang.String rawTypeDescriptor, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeVariableSource typeVariableSource)
Creates a new generic type description for a tokenized generic type.static TypePool
TypePool.Default. of(java.lang.ClassLoader classLoader)
Returns a type pool for the provided class loader.static TypePool
TypePool.Default.WithLazyResolution. of(java.lang.ClassLoader classLoader)
Returns a defaultTypePool
with lazy resolution for the provided class loader.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal. toGenericType(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.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, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.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, java.lang.String typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.void
TypePool.Default.TypeExtractor. visit(int classFileVersion, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypePool.Default.TypeExtractor. visit(int classFileVersion, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassName, java.lang.String[] interfaceName)
void
TypePool.Default.TypeExtractor. visit(int classFileVersion, int modifiers, java.lang.String internalName, java.lang.String genericSignature, java.lang.String superClassName, java.lang.String[] interfaceName)
org.objectweb.asm.FieldVisitor
TypePool.Default.TypeExtractor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
TypePool.Default.TypeExtractor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.Object value)
void
TypePool.Default.TypeExtractor. visitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
void
TypePool.Default.TypeExtractor. visitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
org.objectweb.asm.MethodVisitor
TypePool.Default.TypeExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
org.objectweb.asm.MethodVisitor
TypePool.Default.TypeExtractor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
void
TypePool.Default.TypeExtractor. visitOuterClass(java.lang.String typeName, java.lang.String methodName, java.lang.String methodDescriptor)
void
TypePool.Default.TypeExtractor. visitOuterClass(java.lang.String typeName, java.lang.String methodName, java.lang.String methodDescriptor)
org.objectweb.asm.RecordComponentVisitor
TypePool.Default.TypeExtractor. visitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
org.objectweb.asm.AnnotationVisitor
TypePool.Default.TypeExtractor.FieldExtractor. visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
org.objectweb.asm.AnnotationVisitor
TypePool.Default.TypeExtractor. visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Constructor parameters in net.bytebuddy.pool with annotations of type MaybeNull Constructor Description ClassLoading(TypePool.CacheProvider cacheProvider, TypePool parent, java.lang.ClassLoader classLoader)
Creates a class loadings type pool.DoubleIndexed(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index, int preIndex)
Creates a new annotation collector.DoubleIndexed(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index, int preIndex, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> doubleIndexedPathMap)
Creates a new annotation collector.FieldExtractor(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature)
Creates a new field extractor.FieldToken(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new field token.ForTypeVariable(java.lang.String descriptor, org.objectweb.asm.TypePath typePath)
Creates a new annotation collector.ForTypeVariable(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> pathMap)
Creates a new annotation collector.LazyFieldDescription(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField signatureResolution, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new lazy field description.LazyMethodDescription(java.lang.String internalName, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod signatureResolution, java.lang.String[] exceptionTypeInternalName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new lazy method description.LazyMethodDescription(java.lang.String internalName, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod signatureResolution, java.lang.String[] exceptionTypeInternalName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new lazy method description.LazyMethodDescription(java.lang.String internalName, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod signatureResolution, java.lang.String[] exceptionTypeInternalName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new lazy method description.LazyRecordComponentDescription(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent signatureResolution, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new lazy description of a record component.LazyTypeDescription(TypePool typePool, int actualModifiers, int modifiers, java.lang.String name, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.TypeContainment typeContainment, java.lang.String declaringTypeInternalName, java.util.List<java.lang.String> declaredTypes, boolean anonymousType, java.lang.String nestHostInternalName, java.util.List<java.lang.String> nestMemberInternalNames, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> superClassAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> interfaceAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundsAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.FieldToken> fieldTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken> methodTokens, java.util.List<TypePool.Default.LazyTypeDescription.RecordComponentToken> recordComponentTokens, java.util.List<java.lang.String> permittedSubclasses, ClassFileVersion classFileVersion)
Creates a new lazy type description.LazyTypeDescription(TypePool typePool, int actualModifiers, int modifiers, java.lang.String name, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.TypeContainment typeContainment, java.lang.String declaringTypeInternalName, java.util.List<java.lang.String> declaredTypes, boolean anonymousType, java.lang.String nestHostInternalName, java.util.List<java.lang.String> nestMemberInternalNames, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> superClassAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> interfaceAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundsAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.FieldToken> fieldTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken> methodTokens, java.util.List<TypePool.Default.LazyTypeDescription.RecordComponentToken> recordComponentTokens, java.util.List<java.lang.String> permittedSubclasses, ClassFileVersion classFileVersion)
Creates a new lazy type description.LazyTypeDescription(TypePool typePool, int actualModifiers, int modifiers, java.lang.String name, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.TypeContainment typeContainment, java.lang.String declaringTypeInternalName, java.util.List<java.lang.String> declaredTypes, boolean anonymousType, java.lang.String nestHostInternalName, java.util.List<java.lang.String> nestMemberInternalNames, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> superClassAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> interfaceAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundsAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.FieldToken> fieldTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken> methodTokens, java.util.List<TypePool.Default.LazyTypeDescription.RecordComponentToken> recordComponentTokens, java.util.List<java.lang.String> permittedSubclasses, ClassFileVersion classFileVersion)
Creates a new lazy type description.LazyTypeDescription(TypePool typePool, int actualModifiers, int modifiers, java.lang.String name, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.TypeContainment typeContainment, java.lang.String declaringTypeInternalName, java.util.List<java.lang.String> declaredTypes, boolean anonymousType, java.lang.String nestHostInternalName, java.util.List<java.lang.String> nestMemberInternalNames, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> superClassAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> interfaceAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundsAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.FieldToken> fieldTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken> methodTokens, java.util.List<TypePool.Default.LazyTypeDescription.RecordComponentToken> recordComponentTokens, java.util.List<java.lang.String> permittedSubclasses, ClassFileVersion classFileVersion)
Creates a new lazy type description.LazyTypeDescription(TypePool typePool, int actualModifiers, int modifiers, java.lang.String name, java.lang.String superClassInternalName, java.lang.String[] interfaceInternalName, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.TypeContainment typeContainment, java.lang.String declaringTypeInternalName, java.util.List<java.lang.String> declaredTypes, boolean anonymousType, java.lang.String nestHostInternalName, java.util.List<java.lang.String> nestMemberInternalNames, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> superClassAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> interfaceAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundsAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.FieldToken> fieldTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken> methodTokens, java.util.List<TypePool.Default.LazyTypeDescription.RecordComponentToken> recordComponentTokens, java.util.List<java.lang.String> permittedSubclasses, ClassFileVersion classFileVersion)
Creates a new lazy type description.MethodExtractor(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
Creates a method extractor.MethodExtractor(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName)
Creates a method extractor.MethodToken(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new method token.MethodToken(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new method token.MethodToken(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new method token.ParameterToken(java.lang.String name)
Creates a parameter token for a parameter with an explicit name and without specific modifiers.ParameterToken(java.lang.String name, java.lang.Integer modifiers)
Creates a parameter token for a parameter with an explicit name and with specific modifiers.ParameterToken(java.lang.String name, java.lang.Integer modifiers)
Creates a parameter token for a parameter with an explicit name and with specific modifiers.RecordComponentExtractor(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature)
Creates a new record component extractor.RecordComponentToken(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new record component token.WithIndex(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index)
Creates a new annotation collector.WithIndex(java.lang.String descriptor, org.objectweb.asm.TypePath typePath, int index, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> indexedPathMap)
Creates a new annotation collector. -
Uses of MaybeNull in net.bytebuddy.utility
Fields in net.bytebuddy.utility with annotations of type MaybeNull Modifier and Type Field Description private static GraalImageCode
GraalImageCode. current
The current image code ornull
if the image code was not yet resolved.private static java.lang.Class<?>
AsmClassWriter.Factory.Default. JDK_CLASS_READER
Thecodes.rafael.asmjdkbridge.JdkClassReader
type ornull
if not available.Methods in net.bytebuddy.utility with annotations of type MaybeNull Modifier and Type Method Description <T> java.util.Queue<T>
QueueFactory.Dispatcher. arrayDeque()
Creates a new array deque.<T> java.util.Queue<T>
QueueFactory.Dispatcher. arrayDeque(java.util.Collection<? extends T> elements)
Creates a new array deque.private static <T> T
AsmClassReader.Factory.Default. doPrivileged(java.security.PrivilegedAction<T> action)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.private static <T> T
AsmClassWriter.Factory.Default. doPrivileged(java.security.PrivilegedAction<T> action)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.private static <T> T
GraalImageCode. doPrivileged(java.security.PrivilegedAction<T> action)
A proxy forjava.security.AccessController#doPrivileged
that is activated if available.java.lang.ClassLoader
JavaModule. getClassLoader()
Returns the class loader of this module.java.lang.ClassLoader
JavaModule.Module. getClassLoader(java.lang.Object value)
Returns the class loader of a module.java.lang.Object
JavaModule.Resolver. getModule(java.lang.Class<?> type)
Resolves thejava.lang.Module
of the supplied type.java.io.InputStream
JavaModule. getResourceAsStream(java.lang.String name)
Returns a resource stream for this module for a resource of the given name ornull
if such a resource does not exist.java.io.InputStream
JavaModule.Module. getResourceAsStream(java.lang.Object value, java.lang.String name)
Returns a resource stream for this module for a resource of the given name ornull
if such a resource does not exist.java.lang.String
AsmClassWriter.SuperClassResolvingJdkClassWriter. getSuperClass(java.lang.String internalName)
Resolves the super class for a given internal class name, ornull
if a given class represents an interface.java.lang.Object
Invoker. invoke(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object[] argument)
Invokes a method viaMethod.invoke(Object, Object...)
.protected static JavaConstant
JavaConstant.Simple. ofLoadedOrNull(java.lang.Object value)
Resolves a loaded Java value to a Java constant representation.static JavaModule
JavaModule. ofType(java.lang.Class<?> type)
Returns a representation of the supplied type'sjava.lang.Module
ornull
if the current VM does not support modules.<T> T
AsmClassReader.ForAsm. unwrap(java.lang.Class<T> type)
Unwraps a class reader to the underlying reader mechanism.<T> T
AsmClassReader.ForClassFileApi. unwrap(java.lang.Class<T> type)
Unwraps a class reader to the underlying reader mechanism.<T> T
AsmClassReader. unwrap(java.lang.Class<T> type)
Unwraps a class reader to the underlying reader mechanism.<T> T
AsmClassWriter.Factory.Default.NonRetainingAsmClassReader. unwrap(java.lang.Class<T> type)
Unwraps a class reader to the underlying reader mechanism.static ConstantValue
ConstantValue.Simple. wrapOrNull(java.lang.Object value)
Returns a constant value for the supplied constant value.Method parameters in net.bytebuddy.utility with annotations of type MaybeNull Modifier and Type Method Description boolean
JavaConstant.Dynamic. equals(java.lang.Object object)
boolean
JavaConstant.MethodHandle. equals(java.lang.Object other)
boolean
JavaConstant.MethodType. equals(java.lang.Object other)
boolean
JavaConstant.Simple. equals(java.lang.Object object)
boolean
JavaModule. equals(java.lang.Object other)
static java.lang.String
RandomString. hashOf(java.lang.Object value)
Represents a object value as a string hash.java.lang.Object
Invoker. invoke(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object[] argument)
Invokes a method viaMethod.invoke(Object, Object...)
.java.lang.Object
Invoker. invoke(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object[] argument)
Invokes a method viaMethod.invoke(Object, Object...)
.boolean
JavaModule. isExported(PackageDescription packageDescription, JavaModule module)
Returnstrue
if this module exports the supplied package to this module.boolean
JavaModule. isOpened(PackageDescription packageDescription, JavaModule module)
Returnstrue
if this module opens the supplied package to this module.static JavaConstant
JavaConstant.Simple. ofDescription(java.lang.Object value, java.lang.ClassLoader classLoader)
Creates a Java constant value from ajava.lang.constant.ConstantDesc
.Constructor parameters in net.bytebuddy.utility with annotations of type MaybeNull Constructor Description JavaType(java.lang.String typeName, int modifiers, java.lang.reflect.Type superClass, java.lang.reflect.Type... anInterface)
Creates a new java type representation.JavaType(java.lang.String typeName, int modifiers, TypeDefinition superClass, TypeDefinition... anInterface)
Creates a new java type representation.JavaType(java.lang.String typeName, int modifiers, TypeDescription.Generic superClass, TypeList.Generic interfaces)
Creates a new java type representation.LatentTypeWithSimpleName(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type with a simple name. -
Uses of MaybeNull in net.bytebuddy.utility.dispatcher
Fields in net.bytebuddy.utility.dispatcher with annotations of type MaybeNull Modifier and Type Field Description private java.lang.ClassLoader
JavaDispatcher. classLoader
The class loader to resolve the proxied type from ornull
if the bootstrap loader should be used.private static java.lang.String
JavaDispatcher.DynamicClassLoader. DUMP_FOLDER
The dump folder that is defined by theTypeWriter.DUMP_PROPERTY
property ornull
if not set.private java.lang.Object
JavaDispatcher.Dispatcher.ForDefaultValue. value
The default value.Methods in net.bytebuddy.utility.dispatcher with annotations of type MaybeNull Modifier and Type Method Description java.lang.Object
JavaDispatcher.Dispatcher.ForDefaultValue. invoke(java.lang.Object[] argument)
Invokes the proxied action.java.lang.Object
JavaDispatcher.Dispatcher.ForStaticMethod. invoke(java.lang.Object[] argument)
Invokes the proxied action.java.lang.Object
JavaDispatcher.Dispatcher. invoke(java.lang.Object[] argument)
Invokes the proxied action.java.lang.Object
JavaDispatcher.ProxiedInvocationHandler. invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] argument)
Method parameters in net.bytebuddy.utility.dispatcher with annotations of type MaybeNull Modifier and Type Method Description void
JavaDispatcher.DynamicClassLoader.Resolver. accept(java.lang.ClassLoader classLoader, java.lang.Class<?> target)
Adjusts a module graph if necessary.void
JavaDispatcher.DynamicClassLoader.Resolver.ForModuleSystem. accept(java.lang.ClassLoader classLoader, java.lang.Class<?> target)
Adjusts a module graph if necessary.void
JavaDispatcher.DynamicClassLoader.Resolver.NoOp. accept(java.lang.ClassLoader classLoader, java.lang.Class<?> target)
Adjusts a module graph if necessary.java.lang.Object
JavaDispatcher.DirectInvoker. invoke(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object[] argument)
Invokes a method viaMethod.invoke(Object, Object...)
.java.lang.Object
JavaDispatcher.DirectInvoker. invoke(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object[] argument)
Invokes a method viaMethod.invoke(Object, Object...)
.java.lang.Object
JavaDispatcher.ProxiedInvocationHandler. invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] argument)
static <T> java.security.PrivilegedAction<T>
JavaDispatcher. of(java.lang.Class<T> type, java.lang.ClassLoader classLoader)
Resolves an action for creating a dispatcher for the provided type.protected static <T> java.security.PrivilegedAction<T>
JavaDispatcher. of(java.lang.Class<T> type, java.lang.ClassLoader classLoader, boolean generate)
Resolves an action for creating a dispatcher for the provided type.Constructor parameters in net.bytebuddy.utility.dispatcher with annotations of type MaybeNull Constructor Description ForDefaultValue(java.lang.Object value, int load, int returned, int size)
Creates a new default value dispatcher.JavaDispatcher(java.lang.Class<T> proxy, java.lang.ClassLoader classLoader, boolean generate)
Creates a new dispatcher. -
Uses of MaybeNull in net.bytebuddy.utility.privilege
Methods in net.bytebuddy.utility.privilege with annotations of type MaybeNull Modifier and Type Method Description java.lang.reflect.Method
GetMethodAction. run()
-
Uses of MaybeNull in net.bytebuddy.utility.visitor
Methods in net.bytebuddy.utility.visitor with annotations of type MaybeNull Modifier and Type Method Description protected org.objectweb.asm.AnnotationVisitor
MetadataAwareClassVisitor. onVisitAnnotation(java.lang.String descriptor, boolean visible)
An order-sensitive invocation ofClassVisitor.visitAnnotation(String, boolean)
.protected org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
An order-sensitive invocation ofClassVisitor.visitField(int, String, String, String, Object)
.protected org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
An order-sensitive invocation ofClassVisitor.visitMethod(int, String, String, String, String[])
.protected org.objectweb.asm.RecordComponentVisitor
MetadataAwareClassVisitor. onVisitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
An order-sensitive invocation ofClassVisitor.visitRecordComponent(String, String, String)
.protected org.objectweb.asm.AnnotationVisitor
MetadataAwareClassVisitor. onVisitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
An order-sensitive invocation ofClassVisitor.visitTypeAnnotation(int, TypePath, String, boolean)
.org.objectweb.asm.AnnotationVisitor
MetadataAwareClassVisitor. visitAnnotation(java.lang.String descriptor, boolean visible)
org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.RecordComponentVisitor
MetadataAwareClassVisitor. visitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
org.objectweb.asm.AnnotationVisitor
MetadataAwareClassVisitor. visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
Method parameters in net.bytebuddy.utility.visitor with annotations of type MaybeNull Modifier and Type Method Description protected org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
An order-sensitive invocation ofClassVisitor.visitField(int, String, String, String, Object)
.protected org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. onVisitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
An order-sensitive invocation ofClassVisitor.visitField(int, String, String, String, Object)
.protected void
MetadataAwareClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
An order-sensitive invocation ofClassVisitor.visitInnerClass(String, String, String, int)
.protected void
MetadataAwareClassVisitor. onVisitInnerClass(java.lang.String internalName, java.lang.String outerName, java.lang.String innerName, int modifiers)
An order-sensitive invocation ofClassVisitor.visitInnerClass(String, String, String, int)
.protected org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
An order-sensitive invocation ofClassVisitor.visitMethod(int, String, String, String, String[])
.protected org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. onVisitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
An order-sensitive invocation ofClassVisitor.visitMethod(int, String, String, String, String[])
.protected void
MetadataAwareClassVisitor. onVisitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
An order-sensitive invocation ofClassVisitor.visitOuterClass(String, String, String)
.protected void
MetadataAwareClassVisitor. onVisitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
An order-sensitive invocation ofClassVisitor.visitOuterClass(String, String, String)
.protected org.objectweb.asm.RecordComponentVisitor
MetadataAwareClassVisitor. onVisitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
An order-sensitive invocation ofClassVisitor.visitRecordComponent(String, String, String)
.org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.FieldVisitor
MetadataAwareClassVisitor. visitField(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
void
StackAwareMethodVisitor. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
StackAwareMethodVisitor. visitFrame(int type, int localVariableLength, java.lang.Object[] localVariable, int stackSize, java.lang.Object[] stack)
void
MetadataAwareClassVisitor. visitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int modifiers)
void
MetadataAwareClassVisitor. visitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int modifiers)
org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
org.objectweb.asm.MethodVisitor
MetadataAwareClassVisitor. visitMethod(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String signature, java.lang.String[] exception)
void
MetadataAwareClassVisitor. visitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
void
MetadataAwareClassVisitor. visitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
org.objectweb.asm.RecordComponentVisitor
MetadataAwareClassVisitor. visitRecordComponent(java.lang.String name, java.lang.String descriptor, java.lang.String signature)
void
StackAwareMethodVisitor. visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, java.lang.String type)
-