public class AnnotationFinder.FieldInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
| Modifier and Type | Field and Description |
|---|---|
private AnnotationFinder.ClassInfo |
declaringClass |
private java.lang.reflect.Field |
field |
private java.lang.String |
name |
private java.lang.String |
type |
| Constructor and Description |
|---|
FieldInfo(AnnotationFinder.ClassInfo info,
java.lang.reflect.Field field) |
FieldInfo(AnnotationFinder.ClassInfo declaringClass,
java.lang.String name,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Member |
get() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
AnnotationFinder.ClassInfo |
getDeclaringClass() |
java.lang.String |
getMetaAnnotationName() |
java.lang.String |
getName() |
java.lang.String |
getType() |
private java.lang.reflect.Field |
toField() |
java.lang.String |
toString() |
getAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationsprivate final java.lang.String name
private final java.lang.String type
private final AnnotationFinder.ClassInfo declaringClass
private java.lang.reflect.Field field
public FieldInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Field field)
public FieldInfo(AnnotationFinder.ClassInfo declaringClass, java.lang.String name, java.lang.String type)
public java.lang.String getName()
getName in interface AnnotationFinder.Infopublic AnnotationFinder.ClassInfo getDeclaringClass()
public java.lang.String getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getMetaAnnotationName()
getMetaAnnotationName in interface AnnotationFinder.InfogetMetaAnnotationName in class AnnotationFinder.Annotatablepublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationFinder.InfogetDeclaredAnnotations in class AnnotationFinder.Annotatablepublic java.lang.reflect.Member get()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionprivate java.lang.reflect.Field toField()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException