| Package | Description |
|---|---|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| Modifier and Type | Class and Description |
|---|---|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation
Represents a nested annotation value.
|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray
Represents an array that is referenced by an annotation which does not contain primitive values or
String values. |
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForEnumeration
Represents an enumeration value of an annotation.
|
static class |
TypePool.LazyTypeDescription.AnnotationValue.ForType
Represents a type value of an annotation.
|
static class |
TypePool.LazyTypeDescription.AnnotationValue.Trivial<U>
Represents a primitive value, a
String or an array of the latter types. |
| Modifier and Type | Method and Description |
|---|---|
TypePool.LazyTypeDescription.AnnotationValue<?,?> |
TypePool.LazyTypeDescription.MethodToken.getDefaultValue()
Returns the default value of the represented method or
null if no such values exists. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> |
TypePool.LazyTypeDescription.AnnotationToken.getValues()
Returns a map of annotation value names to their value representations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TypePool.Default.AnnotationRegistrant.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
void |
TypePool.Default.TypeExtractor.OnTypeCollector.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup.register(String ignored,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.FieldExtractor.OnFieldCollector.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.MethodExtractor.register(String ignored,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.MethodExtractor.OnMethodCollector.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
void |
TypePool.Default.TypeExtractor.MethodExtractor.OnMethodParameterCollector.register(String name,
TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue) |
| Constructor and Description |
|---|
MethodToken(int modifiers,
String name,
String descriptor,
String[] exceptionName,
List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens,
Map<Integer,List<TypePool.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens,
TypePool.LazyTypeDescription.AnnotationValue<?,?> defaultValue)
Creates a new method token.
|
| Constructor and Description |
|---|
AnnotationInvocationHandler(ClassLoader classLoader,
Class<? extends Annotation> annotationType,
Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> values)
Creates a new invocation handler.
|
AnnotationToken(String descriptor,
Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> values)
Creates a new annotation token.
|
ForComplexArray(TypePool.LazyTypeDescription.AnnotationValue.ForComplexArray.ComponentTypeReference componentTypeReference,
List<TypePool.LazyTypeDescription.AnnotationValue<?,?>> value)
Creates a new array value representation of a complex array.
|
LegalRuntimeType(ClassLoader classLoader,
Class<? extends Annotation> annotationType,
Map<String,TypePool.LazyTypeDescription.AnnotationValue<?,?>> annotationValues)
Creates a representation for an annotation value.
|
Copyright © 2014. All rights reserved.