Package | Description |
---|---|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Class and Description |
---|---|
protected static class |
AnnotationDescription.AnnotationInvocationHandler.DefaultValue
Represents a default value for an annotation property that is not explicitly defined by
an annotation.
|
static class |
AnnotationDescription.AnnotationValue.ForAnnotation.IncompatibleRuntimeType
Represents an annotation value which was attempted to ba loaded by a type that does not represent
an annotation value.
|
static class |
AnnotationDescription.AnnotationValue.ForAnnotation.Loaded<V extends Annotation>
A loaded version of the described annotation.
|
protected static class |
AnnotationDescription.AnnotationValue.ForComplexArray.Loaded<W>
Represents a loaded complex array.
|
static class |
AnnotationDescription.AnnotationValue.ForEnumeration.IncompatibleRuntimeType
Represents an annotation's enumeration value for a runtime type that is not an enumeration type.
|
static class |
AnnotationDescription.AnnotationValue.ForEnumeration.Loaded<V extends Enum<V>>
A loaded representation of an enumeration value.
|
static class |
AnnotationDescription.AnnotationValue.ForEnumeration.UnknownRuntimeEnumeration
Represents an annotation's enumeration value for a constant that does not exist for the runtime
enumeration type.
|
protected static class |
AnnotationDescription.AnnotationValue.ForType.Loaded<U extends Class<U>>
A loaded annotation value for a given type.
|
static class |
AnnotationDescription.AnnotationValue.Trivial.Loaded<V>
Represents a trivial loaded value.
|
Modifier and Type | Method and Description |
---|---|
AnnotationDescription.AnnotationValue.Loaded<S> |
AnnotationDescription.AnnotationValue.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationDescription.AnnotationValue.Loaded<U> |
AnnotationDescription.AnnotationValue.Trivial.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<U> |
AnnotationDescription.AnnotationValue.ForAnnotation.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<U> |
AnnotationDescription.AnnotationValue.ForEnumeration.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<U> |
AnnotationDescription.AnnotationValue.ForType.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<V[]> |
AnnotationDescription.AnnotationValue.ForComplexArray.load(ClassLoader classLoader) |
protected static AnnotationDescription.AnnotationValue.Loaded<?> |
AnnotationDescription.AnnotationInvocationHandler.DefaultValue.of(Method method)
Creates a default value representation for a given method which might or might not provide such
a default value.
|
Constructor and Description |
---|
AnnotationInvocationHandler(Class<T> annotationType,
LinkedHashMap<Method,AnnotationDescription.AnnotationValue.Loaded<?>> values)
Creates a new invocation handler.
|
Loaded(Class<W> componentType,
List<AnnotationDescription.AnnotationValue.Loaded<?>> values)
Creates a new loaded value representing a complex array.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.AbstractBase.RawNonPrimitiveArray.Loaded
Represents a loaded annotation property representing a complex array.
|
protected static class |
TypePool.AbstractBase.RawTypeValue.Loaded
Represents a loaded annotation property that represents a type.
|
Modifier and Type | Method and Description |
---|---|
AnnotationDescription.AnnotationValue.Loaded<Annotation> |
TypePool.AbstractBase.RawAnnotationValue.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<Enum<?>> |
TypePool.AbstractBase.RawEnumerationValue.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<Class<?>> |
TypePool.AbstractBase.RawTypeValue.load(ClassLoader classLoader) |
AnnotationDescription.AnnotationValue.Loaded<Object[]> |
TypePool.AbstractBase.RawNonPrimitiveArray.load(ClassLoader classLoader) |
Constructor and Description |
---|
Loaded(Class<?> componentType,
List<AnnotationDescription.AnnotationValue.Loaded<?>> values)
Creates a new representation of an annotation property representing an array of
non-trivial values.
|
Copyright © 2014–2015. All rights reserved.