public abstract static class AnnotationDescription.AbstractAnnotationDescription extends Object implements AnnotationDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationDescription.AbstractAnnotationDescription.ForPrepared<S extends Annotation>
An abstract implementation of a loadable annotation description.
|
AnnotationDescription.AbstractAnnotationDescription, AnnotationDescription.AnnotationInvocationHandler<T extends Annotation>, AnnotationDescription.AnnotationValue<T,S>, AnnotationDescription.Builder, AnnotationDescription.ForLoadedAnnotation<S extends Annotation>, AnnotationDescription.Latent, AnnotationDescription.Loadable<S extends Annotation>| Constructor and Description |
|---|
AbstractAnnotationDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
<T> T |
getValue(MethodDescription methodDescription,
Class<T> type)
Returns the value of the given method for this annotation value and performs a casting to the given value.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotationType, getValue, preparepublic <T> T getValue(MethodDescription methodDescription, Class<T> type)
AnnotationDescriptionAnnotationDescription.getValue in interface AnnotationDescriptionT - The given type of the return value.methodDescription - The method for the value to be requested.type - The type to which the returned value should be casted.type.Copyright © 2014–2015. All rights reserved.