T - wrapped annotation classpublic abstract class AnnotationLiteral<T extends java.lang.annotation.Annotation>
extends java.lang.Object
implements java.lang.annotation.Annotation, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<T> |
annotationType |
private static java.lang.Object[] |
EMPTY_OBJECT_ARRAY |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationLiteral() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType() |
private java.lang.Object |
callMethod(java.lang.Object instance,
java.lang.reflect.Method method) |
boolean |
equals(java.lang.Object other) |
private java.lang.Class<T> |
getAnnotationType(java.lang.Class<?> definedClazz) |
int |
hashCode() |
java.lang.String |
toString() |
private static final long serialVersionUID
private java.lang.Class<T extends java.lang.annotation.Annotation> annotationType
private static final java.lang.Object[] EMPTY_OBJECT_ARRAY
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotationprivate java.lang.Class<T> getAnnotationType(java.lang.Class<?> definedClazz)
public boolean equals(java.lang.Object other)
equals in interface java.lang.annotation.Annotationequals in class java.lang.Objectprivate java.lang.Object callMethod(java.lang.Object instance,
java.lang.reflect.Method method)
public int hashCode()
hashCode in interface java.lang.annotation.AnnotationhashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface java.lang.annotation.AnnotationtoString in class java.lang.Object