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 |
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 |
AnnotationValue.ForAnnotation.Loaded<V extends Annotation>
A loaded version of the described annotation.
|
protected static class |
AnnotationValue.ForComplexArray.Loaded<W>
Represents a loaded complex array.
|
static class |
AnnotationValue.ForConstant.Loaded<V>
Represents a trivial loaded value.
|
static class |
AnnotationValue.ForEnumeration.IncompatibleRuntimeType
Represents an annotation's enumeration value for a runtime type that is not an enumeration type.
|
static class |
AnnotationValue.ForEnumeration.Loaded<V extends Enum<V>>
A loaded representation of an enumeration value.
|
static class |
AnnotationValue.ForEnumeration.UnknownRuntimeEnumeration
Represents an annotation's enumeration value for a constant that does not exist for the runtime
enumeration type.
|
protected static class |
AnnotationValue.ForType.Loaded<U extends Class<U>>
A loaded annotation value for a given type.
|
static class |
AnnotationValue.Loaded.AbstractBase<W>
An abstract base implementation of a loaded annotation value.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue.Loaded<S> |
AnnotationValue.load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForConstant.load(ClassLoader classLoader) |
AnnotationValue.Loaded<U> |
AnnotationValue.ForAnnotation.load(ClassLoader classLoader) |
AnnotationValue.Loaded<U> |
AnnotationValue.ForEnumeration.load(ClassLoader classLoader) |
AnnotationValue.Loaded<U> |
AnnotationValue.ForType.load(ClassLoader classLoader) |
AnnotationValue.Loaded<V[]> |
AnnotationValue.ForComplexArray.load(ClassLoader classLoader) |
protected static 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,AnnotationValue.Loaded<?>> values)
Creates a new invocation handler.
|
Loaded(Class<W> componentType,
List<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 |
---|---|
AnnotationValue.Loaded<Annotation> |
TypePool.AbstractBase.RawAnnotationValue.load(ClassLoader classLoader) |
AnnotationValue.Loaded<Enum<?>> |
TypePool.AbstractBase.RawEnumerationValue.load(ClassLoader classLoader) |
AnnotationValue.Loaded<Class<?>> |
TypePool.AbstractBase.RawTypeValue.load(ClassLoader classLoader) |
AnnotationValue.Loaded<Object[]> |
TypePool.AbstractBase.RawNonPrimitiveArray.load(ClassLoader classLoader) |
Constructor and Description |
---|
Loaded(Class<?> componentType,
List<AnnotationValue.Loaded<?>> values)
Creates a new representation of an annotation property representing an array of
non-trivial values.
|
Copyright © 2014–2016. All rights reserved.