Package | Description |
---|---|
net.bytebuddy.description |
Classes of this package allow the representation of Java classes, their member and their meta data.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.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.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Class and Description |
---|---|
static class |
TypeVariableSource.AbstractBase
An abstract base implementation of a type variable source.
|
Modifier and Type | Field and Description |
---|---|
static TypeVariableSource |
TypeVariableSource.UNDEFINED
Indicates that a type variable source is undefined.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableSource |
TypeVariableSource.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
TypeVariableSource |
TypeVariableSource.Visitor.NoOp.onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.
|
TypeVariableSource |
TypeVariableSource.Visitor.NoOp.onType(TypeDescription typeDescription)
Applies the visitor on a type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MethodDescription
Implementations of this interface describe a Java method, i.e.
|
static interface |
MethodDescription.InDefinedShape
Represents a method in its defined shape, i.e.
|
static interface |
MethodDescription.InGenericShape
Represents a method description in its generic shape, i.e.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodDescription.AbstractBase
An abstract base implementation of a method description.
|
static class |
MethodDescription.ForLoadedConstructor
An implementation of a method description for a loaded constructor.
|
static class |
MethodDescription.ForLoadedMethod
An implementation of a method description for a loaded method.
|
static class |
MethodDescription.InDefinedShape.AbstractBase
An abstract base implementation of a method description in its defined shape.
|
static class |
MethodDescription.Latent
A latent method description describes a method that is not attached to a declaring
TypeDescription . |
static class |
MethodDescription.Latent.TypeInitializer
A method description that represents the type initializer.
|
static class |
MethodDescription.TypeSubstituting
A method description that represents a given method but with substituted method types.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableSource |
MethodDescription.AbstractBase.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TypeDescription
Implementations of this interface represent a Java type, i.e.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeDescription.AbstractBase
An abstract base implementation of a type description.
|
static class |
TypeDescription.AbstractBase.OfSimpleType
An adapter implementation of a
TypeDescription that
describes any type that is not an array or a primitive type. |
static class |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation
An implementation of a type description that delegates all properties but the type's name to a delegate.
|
static class |
TypeDescription.ArrayProjection
A projection for an array type based on an existing
TypeDescription . |
static class |
TypeDescription.ForLoadedType
A type description implementation that represents a loaded type.
|
protected static class |
TypeDescription.ForLoadedType.ClassDescriptionTypeList.InternalNameLazyType
A lazy representation of an internal name for a given class loader.
|
static class |
TypeDescription.ForPackageDescription
A type representation of a package description.
|
static class |
TypeDescription.Latent
A latent type description for a type without methods or fields.
|
static class |
TypeDescription.SuperTypeLoading
A delegating type description that always attempts to load the super types of a delegate type.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableSource |
TypeDescription.AbstractBase.getEnclosingSource()
Returns the enclosing source of type variables that are valid in the scope of this type variable source.
|
TypeVariableSource |
TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.Visitor.AnnotationStripper.NonAnnotatedTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.RetainedMethodTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfNonGenericType.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfGenericArray.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfWildcardType.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfParameterizedType.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfTypeVariable.Symbolic.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfTypeVariable.ForLoadedType.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.OfTypeVariable.WithAnnotationOverlay.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypeDescription.Generic.LazyProjection.getTypeVariableSource()
Returns the source of this type variable.
|
Constructor and Description |
---|
AttachedTypeVariable(TypeVariableSource typeVariableSource,
TypeVariableToken typeVariableToken,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new attached type variable.
|
ForAttachment(TypeDefinition declaringType,
TypeVariableSource typeVariableSource)
Creates a visitor for attaching type variables.
|
ForAttachment(TypeDescription declaringType,
TypeVariableSource typeVariableSource)
Creates a visitor for attaching type variables.
|
OfTypeVariables(TypeVariableSource typeVariableSource,
List<? extends TypeVariableToken> detachedTypeVariables,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new list of attached type variables representing a list of type variable tokens.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
Transformer.ForMethod.TransformedMethod
The transformed method.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InstrumentedType
Implementations of this interface represent an instrumented type that is subject to change.
|
static interface |
InstrumentedType.WithFlexibleName
Implementations represent an
InstrumentedType with a flexible name. |
Modifier and Type | Class and Description |
---|---|
static class |
InstrumentedType.Default
A default implementation of an instrumented type.
|
static class |
InstrumentedType.Frozen
A frozen representation of an instrumented type of which the structure must not be modified.
|
protected static class |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge
A method representing an accessor bridge method.
|
protected static class |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget
A method representing a bridge's target method in its defined shape.
|
protected static class |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge
A method describing a visibility bridge.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor
An description of a rebased constructor.
|
protected static class |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod
A description of a rebased method.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
Implementation.Context.Default.AbstractPropertyAccessorMethod
A base implementation of a method that accesses a property of an instrumented type.
|
protected static class |
Implementation.Context.Default.AccessorMethod
A description of an accessor method to access another method from outside the instrumented type.
|
protected static class |
Implementation.Context.Default.FieldGetter
A description of a field getter method.
|
protected static class |
Implementation.Context.Default.FieldSetter
A description of a field setter method.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.Default.LazyTypeDescription
A type description that looks up any referenced
ByteCodeElement or
AnnotationDescription by querying a type pool at lookup time. |
protected class |
TypePool.Default.WithLazyResolution.LazyTypeDescription
A lazy type description that resolves any property that is not the name only when requested.
|
protected static class |
TypePool.LazyFacade.LazyTypeDescription
A description of a type that delegates to another type pool once a property that is not the name is resolved.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableSource |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.AnnotatedTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.UnresolvedTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable.getTypeVariableSource()
Returns the source of this type variable.
|
Modifier and Type | Method and Description |
---|---|
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.
|
TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
TypeList.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForRawType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
Copyright © 2014–2020. All rights reserved.