class AnnotatedTypeImpl
extends java.lang.Object
implements java.lang.reflect.AnnotatedType
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> |
annotations |
protected java.lang.reflect.Type |
type |
Constructor and Description |
---|
AnnotatedTypeImpl(java.lang.reflect.Type type) |
AnnotatedTypeImpl(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
annotationsString() |
boolean |
equals(java.lang.Object other) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.reflect.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
(package private) java.lang.String |
typesString(java.lang.reflect.AnnotatedType[] types) |
protected java.lang.reflect.Type type
protected java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> annotations
AnnotatedTypeImpl(java.lang.reflect.Type type)
AnnotatedTypeImpl(java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations)
public java.lang.reflect.Type getType()
getType
in interface java.lang.reflect.AnnotatedType
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
java.lang.String annotationsString()
java.lang.String typesString(java.lang.reflect.AnnotatedType[] types)