| 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) |
T |
TypePool.LazyTypeDescription.AnnotationValue.resolve(TypePool typePool)
Resolves the unloaded value of this annotation.
|
U |
TypePool.LazyTypeDescription.AnnotationValue.Trivial.resolve(TypePool typePool) |
AnnotationDescription |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation.resolve(TypePool typePool) |
AnnotationDescription.EnumerationValue |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration.resolve(TypePool typePool) |
TypeDescription |
TypePool.LazyTypeDescription.AnnotationValue.ForType.resolve(TypePool typePool) |
Object[] |
TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray.resolve(TypePool typePool) |
| Constructor and Description |
|---|
ForAnnotationProperty(TypePool typePool,
String annotationDescriptor)
Creates a new component type locator for an array value.
|
LazyEnumerationValue(TypePool typePool)
Creates a new lazy enumeration value.
|
LazyTypeDescription(TypePool typePool,
int modifiers,
String name,
String superTypeName,
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.
|
Copyright © 2014. All rights reserved.