Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
net.bytebuddy.description |
Classes of this package allow the representation of Java classes, their member and their meta data.
|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.description.field |
Contains descriptions of Java fields.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.attribute |
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Field and Description |
---|---|
static Throwable |
AgentBuilder.InstallationListener.SUPPRESS_ERROR
Indicates that an exception is handled.
|
Modifier and Type | Field and Description |
---|---|
static AnnotationVisitor |
Advice.Dispatcher.IGNORE_ANNOTATION
Expresses that an annotation should not be visited.
|
static MethodVisitor |
Advice.Dispatcher.IGNORE_METHOD
Indicates that a method does not represent advice and does not need to be visited.
|
Modifier and Type | Field and Description |
---|---|
static Manifest |
Plugin.Engine.Source.Origin.NO_MANIFEST
Indicates that no manifest exists.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Plugin.Engine.Source.Element.ForByteArray.resolveAs(Class<T> type)
Resolves this element to a more specialized form if possible.
|
Modifier and Type | Field and Description |
---|---|
static String |
NamedElement.NO_NAME
Indicates that an element is not named.
|
static String |
NamedElement.WithDescriptor.NON_GENERIC_SIGNATURE
The generic type signature of a non-generic byte code element.
|
static TypeVariableSource |
TypeVariableSource.UNDEFINED
Indicates that a type variable source is undefined.
|
Modifier and Type | Field and Description |
---|---|
static AnnotationValue<?,?> |
AnnotationValue.UNDEFINED
An undefined annotation value.
|
static AnnotationDescription.Loadable<?> |
AnnotationDescription.UNDEFINED
Indicates a nonexistent annotation in a type-safe manner.
|
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
AnnotationList.Empty.ofType(Class<T> annotationType)
Finds the first annotation of the given type and returns it.
|
AnnotationDescription |
AnnotationList.Empty.ofType(TypeDescription annotationType)
Finds the first annotation of the given type and returns it.
|
Modifier and Type | Field and Description |
---|---|
static Object |
FieldDescription.NO_DEFAULT_VALUE
A representative of a field's non-set default value.
|
Modifier and Type | Field and Description |
---|---|
static Integer |
ParameterDescription.Token.NO_MODIFIERS
Indicator for a method parameter without explicit modifiers.
|
static String |
ParameterDescription.Token.NO_NAME
Indicator for a method parameter without an explicit name.
|
static MethodDescription.InDefinedShape |
MethodDescription.UNDEFINED
Represents any undefined property of a type description that is instead represented as
null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers. |
Modifier and Type | Method and Description |
---|---|
AnnotationValue<?,?> |
MethodDescription.ForLoadedConstructor.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodDescription.Latent.TypeInitializer.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
Modifier and Type | Field and Description |
---|---|
static String[] |
TypeList.NO_INTERFACES
Represents that a type list does not contain any values for ASM interoperability which is represented by
null . |
static TypeList |
TypeList.UNDEFINED
An
null type list. |
static TypeDescription |
TypeDescription.UNDEFINED
Represents any undefined property representing a type description that is instead represented as
null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers. |
static TypeDescription.Generic |
TypeDescription.Generic.UNDEFINED
Represents any undefined property representing a generic type description that is instead represented as
null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers. |
static PackageDescription |
PackageDescription.UNDEFINED
A named constant for an undefined package what applies for primitive and array types.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
TypeDescription.ArrayProjection.getDeclaringType()
Returns the declaring type of this instance.
|
Modifier and Type | Field and Description |
---|---|
static ClassLoader |
ClassLoadingStrategy.BOOTSTRAP_LOADER
A type-safe constant representing the bootstrap class loader which is represented by
null within Java. |
static ProtectionDomain |
ClassLoadingStrategy.NO_PROTECTION_DOMAIN
An undefined protection domain.
|
static Class<?> |
ClassInjector.UsingReflection.Dispatcher.UNDEFINED
Indicates a class that is currently not defined.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue<?,?> |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
AnnotationValue<?,?> |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getDefaultValue()
Returns the method's default annotation value or
null if no default value is defined for this method. |
Modifier and Type | Method and Description |
---|---|
protected Void |
FieldAccessor.ForSetter.OfParameterValue.initialize(TypeDescription instrumentedType)
Initializes a value to be used during method instrumentation.
|
protected Void |
FieldAccessor.ForSetter.OfDefaultValue.initialize(TypeDescription instrumentedType)
Initializes a value to be used during method instrumentation.
|
protected Void |
FieldAccessor.ForSetter.OfConstantValue.initialize(TypeDescription instrumentedType)
Initializes a value to be used during method instrumentation.
|
Modifier and Type | Field and Description |
---|---|
static String |
AnnotationAppender.NO_NAME
A constant for informing ASM over ignoring a given name.
|
Modifier and Type | Field and Description |
---|---|
protected static Integer |
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken.NO_MODIFIERS
Donates an unknown modifier of a parameter.
|
protected static String |
TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken.NO_NAME
Donates an unknown name of a parameter.
|
Modifier and Type | Field and Description |
---|---|
static JavaModule |
JavaModule.UNSUPPORTED
Canonical representation of a Java module on a JVM that does not support the module API.
|
Copyright © 2014–2024. All rights reserved.