类 TypeDescriptor.AnnotatedElementAdapter
java.lang.Object
cn.taketoday.core.TypeDescriptor.AnnotatedElementAdapter
- 所有已实现的接口:
Serializable,AnnotatedElement
- 封闭类:
- TypeDescriptor
private static class TypeDescriptor.AnnotatedElementAdapter
extends Object
implements AnnotatedElement, Serializable
Adapter class for exposing a
TypeDescriptor's annotations as an
AnnotatedElement, in particular to AnnotatedElementUtils.-
字段概要
字段修饰符和类型字段说明private final AnnotatedElementprivate Annotation[]private static final TypeDescriptor.AnnotatedElementAdapter -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanprivate static TypeDescriptor.AnnotatedElementAdapterfrom(Annotation[] annotations) <T extends Annotation>
TgetAnnotation(Class<T> annotationClass) private Annotation[]getAnnotations(boolean cloneArray) inthashCode()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanisEmpty()toString()从接口继承的方法 java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
字段详细资料
-
EMPTY
-
annotations
-
annotated
-
-
构造器详细资料
-
AnnotatedElementAdapter
public AnnotatedElementAdapter(@Nullable Annotation[] annotations, @Nullable AnnotatedElement annotated)
-
-
方法详细资料
-
from
-
isAnnotationPresent
- 指定者:
isAnnotationPresent在接口中AnnotatedElement
-
getAnnotation
- 指定者:
getAnnotation在接口中AnnotatedElement
-
getAnnotations
- 指定者:
getAnnotations在接口中AnnotatedElement
-
getAnnotations
-
getDeclaredAnnotations
- 指定者:
getDeclaredAnnotations在接口中AnnotatedElement
-
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode() -
toString
-