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 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 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 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.ForAnnotationDescription.load(ClassLoader classLoader) |
AnnotationValue.Loaded<U> |
AnnotationValue.ForEnumerationDescription.load(ClassLoader classLoader) |
AnnotationValue.Loaded<U> |
AnnotationValue.ForTypeDescription.load(ClassLoader classLoader) |
AnnotationValue.Loaded<V[]> |
AnnotationValue.ForDescriptionArray.load(ClassLoader classLoader) |
AnnotationValue.Loaded<Void> |
AnnotationDescription.AnnotationInvocationHandler.MissingValue.load(ClassLoader classLoader) |
AnnotationValue.Loaded<S> |
AnnotationValue.loadSilent(ClassLoader classLoader)
Returns the loaded value of this annotation without throwing a checked exception.
|
AnnotationValue.Loaded<V> |
AnnotationValue.AbstractBase.loadSilent(ClassLoader classLoader) |
AnnotationValue.Loaded<Void> |
AnnotationDescription.AnnotationInvocationHandler.MissingValue.loadSilent(ClassLoader classLoader) |
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.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 | 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.RawDescriptionArray.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–2017. All rights reserved.