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.MissingValue
Represents a missing annotation property which is not represented by a default value.
|
static class |
AnnotationValue.ForAnnotationDescription.IncompatibleRuntimeType
Represents an annotation value which was attempted to ba loaded by a type that does not represent
an annotation value.
|
static class |
AnnotationValue.ForAnnotationDescription.Loaded<V extends java.lang.annotation.Annotation>
A loaded version of the described annotation.
|
protected static class |
AnnotationValue.ForConstant.Loaded<V>
Represents a trivial loaded value.
|
protected static class |
AnnotationValue.ForDescriptionArray.Loaded<W>
Represents a loaded complex array.
|
static class |
AnnotationValue.ForEnumerationDescription.IncompatibleRuntimeType
Represents an annotation's enumeration value for a runtime type that is not an enumeration type.
|
static class |
AnnotationValue.ForEnumerationDescription.Loaded<V extends java.lang.Enum<V>>
A loaded representation of an enumeration value.
|
static class |
AnnotationValue.ForEnumerationDescription.UnknownRuntimeEnumeration
Represents an annotation's enumeration value for a constant that does not exist for the runtime
enumeration type.
|
protected static class |
AnnotationValue.ForTypeDescription.Loaded<U extends java.lang.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 | Field and Description |
---|---|
private java.util.LinkedHashMap<java.lang.reflect.Method,AnnotationValue.Loaded<?>> |
AnnotationDescription.AnnotationInvocationHandler.values
A sorted list of values of this annotation.
|
private java.util.List<AnnotationValue.Loaded<?>> |
AnnotationValue.ForDescriptionArray.Loaded.values
A list of loaded values that the represented array contains.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue.Loaded<java.lang.Void> |
AnnotationDescription.AnnotationInvocationHandler.MissingValue.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<S> |
AnnotationValue.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForConstant.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForAnnotationDescription.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForEnumerationDescription.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<U> |
AnnotationValue.ForTypeDescription.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<V[]> |
AnnotationValue.ForDescriptionArray.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<java.lang.Void> |
AnnotationDescription.AnnotationInvocationHandler.MissingValue.loadSilent(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
AnnotationValue.Loaded<S> |
AnnotationValue.loadSilent(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
AnnotationValue.Loaded<V> |
AnnotationValue.AbstractBase.loadSilent(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
Constructor and Description |
---|
AnnotationInvocationHandler(java.lang.Class<T> annotationType,
java.util.LinkedHashMap<java.lang.reflect.Method,AnnotationValue.Loaded<?>> values)
Creates a new invocation handler.
|
Loaded(java.lang.Class<W> componentType,
java.util.List<AnnotationValue.Loaded<?>> values)
Creates a new loaded value representing a complex array.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.AbstractBase.RawDescriptionArray.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 | Field and Description |
---|---|
private java.util.List<AnnotationValue.Loaded<?>> |
TypePool.AbstractBase.RawDescriptionArray.Loaded.values
A list of loaded values of the represented complex array.
|
Modifier and Type | Method and Description |
---|---|
AnnotationValue.Loaded<java.lang.annotation.Annotation> |
TypePool.AbstractBase.RawAnnotationValue.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<java.lang.Enum<?>> |
TypePool.AbstractBase.RawEnumerationValue.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<java.lang.Class<?>> |
TypePool.AbstractBase.RawTypeValue.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
AnnotationValue.Loaded<java.lang.Object[]> |
TypePool.AbstractBase.RawDescriptionArray.load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
Constructor and Description |
---|
Loaded(java.lang.Class<?> componentType,
java.util.List<AnnotationValue.Loaded<?>> values)
Creates a new representation of an annotation property representing an array of
non-trivial values.
|