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() |
getAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations
private 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.Info
public AnnotationFinder.ClassInfo getDeclaringClass()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMetaAnnotationName()
getMetaAnnotationName
in interface AnnotationFinder.Info
getMetaAnnotationName
in class AnnotationFinder.Annotatable
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotationFinder.Info
getDeclaredAnnotations
in class AnnotationFinder.Annotatable
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
private java.lang.reflect.Field toField() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException