public final class AnnotatedClassDescriptor extends Object
Constructor and Description |
---|
AnnotatedClassDescriptor(String className,
List<AnnotationDescriptor> annotations,
List<FieldDescriptor> fields) |
Modifier and Type | Method and Description |
---|---|
AnnotationDescriptor |
getAnnotation(Class<?> clazz) |
<T> T |
getAnnotationProxy(Class<T> clazz) |
List<AnnotationDescriptor> |
getAnnotations() |
String |
getClassName() |
List<FieldDescriptor> |
getFields() |
String |
toString() |
public AnnotatedClassDescriptor(String className, List<AnnotationDescriptor> annotations, List<FieldDescriptor> fields)
public String getClassName()
public List<AnnotationDescriptor> getAnnotations()
public List<FieldDescriptor> getFields()
public AnnotationDescriptor getAnnotation(Class<?> clazz)
clazz
- the annotation typepublic <T> T getAnnotationProxy(Class<T> clazz)
clazz
- the annotation typeCopyright © 1970 The Apache Software Foundation. All rights reserved.