T - wrapped annotation classpublic abstract class AnnotationLiteral<T extends Annotation> extends Object implements Annotation, Serializable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AnnotationLiteral.PrivilegedActionForAccessibleObject |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationLiteral() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
annotationType() |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public Class<? extends Annotation> annotationType()
annotationType in interface Annotationpublic boolean equals(Object other)
equals in interface Annotationequals in class Objectpublic int hashCode()
hashCode in interface AnnotationhashCode in class Objectpublic String toString()
toString in interface AnnotationtoString in class ObjectCopyright © 2021. All rights reserved.