java.lang.Object
io.leangen.geantyref.AnnotatedTypeImpl
- All Implemented Interfaces:
AnnotatedElement
,AnnotatedType
- Direct Known Subclasses:
AnnotatedArrayTypeImpl
,AnnotatedCaptureTypeImpl
,AnnotatedParameterizedTypeImpl
,AnnotatedTypeVariableImpl
,AnnotatedWildcardTypeImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<Class<? extends Annotation>, Annotation> protected AnnotatedType
protected Type
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedTypeImpl
(Type type) AnnotatedTypeImpl
(Type type, Annotation[] annotations) AnnotatedTypeImpl
(Type type, Annotation[] annotations, AnnotatedType ownerType) -
Method Summary
Modifier and TypeMethodDescription(package private) String
boolean
<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) getType()
int
hashCode()
protected Map
<Class<? extends Annotation>, Annotation> toMap
(Annotation[] annotations) toString()
(package private) String
typesString
(AnnotatedType[] types) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Field Details
-
type
-
annotations
-
ownerType
-
-
Constructor Details
-
AnnotatedTypeImpl
AnnotatedTypeImpl(Type type) -
AnnotatedTypeImpl
AnnotatedTypeImpl(Type type, Annotation[] annotations) -
AnnotatedTypeImpl
AnnotatedTypeImpl(Type type, Annotation[] annotations, AnnotatedType ownerType)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceAnnotatedType
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Specified by:
getAnnotation
in interfaceAnnotatedType
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Specified by:
getAnnotations
in interfaceAnnotatedType
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedType
-
getAnnotatedOwnerType
- Specified by:
getAnnotatedOwnerType
in interfaceAnnotatedType
-
equals
-
hashCode
public int hashCode() -
toString
-
annotationsString
String annotationsString() -
typesString
-
toMap
-