| Package | Description |
|---|---|
| net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| Modifier and Type | Method and Description |
|---|---|
TypePool |
AgentBuilder.BinaryLocator.Default.Initialized.getTypePool() |
TypePool |
AgentBuilder.BinaryLocator.Initialized.getTypePool()
Returns the type pool to be used of an
AgentBuilder. |
| Modifier and Type | Class and Description |
|---|---|
static class |
TypePool.AbstractBase
A base implementation of a
TypePool that is managing a cache provider and
that handles the description of array and primitive types. |
static class |
TypePool.Default
A default implementation of a
TypePool that models binary data in the
Java byte code format into a TypeDescription. |
| Modifier and Type | Method and Description |
|---|---|
static TypePool |
TypePool.Default.ofClassPath()
Creates a default
TypePool that looks up data by querying the system class
loader. |
| Modifier and Type | Method and Description |
|---|---|
MethodDescription |
TypePool.LazyTypeDescription.DeclarationContext.getEnclosingMethod(TypePool typePool)
Returns the enclosing method or
null if no such method exists. |
MethodDescription |
TypePool.LazyTypeDescription.DeclarationContext.SelfDeclared.getEnclosingMethod(TypePool typePool) |
MethodDescription |
TypePool.LazyTypeDescription.DeclarationContext.DeclaredInType.getEnclosingMethod(TypePool typePool) |
MethodDescription |
TypePool.LazyTypeDescription.DeclarationContext.DeclaredInMethod.getEnclosingMethod(TypePool typePool) |
TypeDescription |
TypePool.LazyTypeDescription.DeclarationContext.getEnclosingType(TypePool typePool)
Returns the enclosing type or
null if no such type exists. |
TypeDescription |
TypePool.LazyTypeDescription.DeclarationContext.SelfDeclared.getEnclosingType(TypePool typePool) |
TypeDescription |
TypePool.LazyTypeDescription.DeclarationContext.DeclaredInType.getEnclosingType(TypePool typePool) |
TypeDescription |
TypePool.LazyTypeDescription.DeclarationContext.DeclaredInMethod.getEnclosingType(TypePool typePool) |
| Constructor and Description |
|---|
ForAnnotationProperty(TypePool typePool,
String annotationDescriptor)
Creates a new component type locator for an array value.
|
LazyTypeDescription(TypePool typePool,
int modifiers,
String name,
String superTypeName,
String genericSignature,
String[] interfaceName,
TypePool.LazyTypeDescription.DeclarationContext declarationContext,
boolean anonymousType,
List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens,
List<TypePool.LazyTypeDescription.FieldToken> fieldTokens,
List<TypePool.LazyTypeDescription.MethodToken> methodTokens)
Creates a new lazy type description.
|
RawAnnotationValue(TypePool typePool,
TypePool.LazyTypeDescription.AnnotationToken annotationToken)
Creates a new annotation value for a nested annotation.
|
RawEnumerationValue(TypePool typePool,
String descriptor,
String value)
Creates a new enumeration value representation.
|
RawNonPrimitiveArray(TypePool typePool,
TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference componentTypeReference,
List<AnnotationDescription.AnnotationValue<?,?>> value)
Creates a new array value representation of a complex array.
|
RawTypeValue(TypePool typePool,
Type type)
Represents a type value of an annotation.
|
Copyright © 2014–2015. All rights reserved.