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