Package org.smallmind.nutsnbolts.lang
Class AnnotationLiteral<A extends Annotation>
- java.lang.Object
-
- org.smallmind.nutsnbolts.lang.AnnotationLiteral<A>
-
- All Implemented Interfaces:
Serializable,Annotation
public abstract class AnnotationLiteral<A extends Annotation> extends Object implements Annotation, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAnnotationLiteral.PrivilegedActionForAccessibleObject
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationLiteral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>annotationType()booleanequals(Object obj)inthashCode()StringtoString()
-
-
-
Method Detail
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationTypein interfaceAnnotation
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-
-