| Package | Description |
|---|---|
| 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.description.type.generic |
Contains descriptions for generic types as defined in the Java programming language.
|
| 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
TypeDescriptions without
loading any classes. |
| 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.
|
| 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() |
TypeVariableSource |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.RetainedVariable.getVariableSource() |
| 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.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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
TypeVariableSource |
TypeDescription.AbstractBase.getEnclosingSource() |
TypeVariableSource |
TypeDescription.AbstractBase.getVariableSource() |
TypeVariableSource |
TypeDescription.AbstractBase.RawTypeWrapper.RawTypeVariable.getVariableSource() |
| 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 |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.getVariableSource()
Returns the source of this type variable.
|
TypeVariableSource |
GenericTypeDescription.ForNonGenericType.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.ForGenericArray.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.ForWildcardType.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.ForParameterizedType.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.ForTypeVariable.InDetachedForm.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.ForTypeVariable.OfLoadedType.getVariableSource() |
TypeVariableSource |
GenericTypeDescription.LazyProjection.getVariableSource() |
TypeVariableSource |
TypeVariableSource.Visitor.NoOp.onMethod(MethodDescription methodDescription) |
TypeVariableSource |
TypeVariableSource.Visitor.NoOp.onType(TypeDescription typeDescription) |
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeDescription |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.of(GenericTypeDescription detachedVariable,
TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a lazy type variable representation.
|
| Constructor and Description |
|---|
ForAttachment(TypeDescription declaringType,
TypeVariableSource typeVariableSource)
Creates a visitor for attaching type variables.
|
LazyTypeVariable(String symbol,
TypeVariableSource typeVariableSource,
List<? extends GenericTypeDescription> detachedBounds,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new lazy type variable.
|
OfTypeVariable(TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor,
List<? extends GenericTypeDescription> detachedTypes)
Creates a new list of attached type variables.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodTransformer.Simple.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.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentedType.Default
A default implementation of an instrumented type.
|
protected static class |
TypeWriter.Default.ForInlining.TypeInitializerDelegate
A method containing the original type initializer of a redefined class.
|
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.LazyFacade.LazyResolution.LazyTypeDescription
A lazy type description for a lazy facade of a type pool.
|
static class |
TypePool.LazyTypeDescription
A type description that looks up any referenced
ByteCodeElement or
AnnotationDescription by querying a type pool at lookup time. |
| Modifier and Type | Method and Description |
|---|---|
TypeVariableSource |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable.getVariableSource() |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource)
Resolves the type variables of the represented element.
|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource)
Transforms this token into a generic type reprsentation.
|
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForRawType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForGenericArray.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
| Constructor and Description |
|---|
LazyParameterizedType(TypePool typePool,
TypeVariableSource typeVariableSource)
Creates a lazy description of a parameterized type with an owner type.
|
LazyParameterizedType(TypePool typePool,
TypeVariableSource typeVariableSource)
Creates a new description of a parameterized type.
|
LazyTypeVariable(TypePool typePool,
TypeVariableSource typeVariableSource)
Creates a lazy type description of a type variables.
|
Copyright © 2014–2015. All rights reserved.