Package org.apache.xbean.finder
Class AnnotationFinder.FieldInfo
- java.lang.Object
-
- org.apache.xbean.finder.AnnotationFinder.Annotatable
-
- org.apache.xbean.finder.AnnotationFinder.FieldInfo
-
- All Implemented Interfaces:
AnnotationFinder.Info
- Enclosing class:
- AnnotationFinder
public class AnnotationFinder.FieldInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationFinder.ClassInfo
declaringClass
private java.lang.reflect.Field
field
private java.lang.String
name
private java.lang.String
type
-
Constructor Summary
Constructors Constructor Description FieldInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Field field)
FieldInfo(AnnotationFinder.ClassInfo declaringClass, java.lang.String name, java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.apache.xbean.finder.AnnotationFinder.Annotatable
getAnnotations
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.xbean.finder.AnnotationFinder.Info
getAnnotations
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
type
private final java.lang.String type
-
declaringClass
private final AnnotationFinder.ClassInfo declaringClass
-
field
private java.lang.reflect.Field field
-
-
Constructor Detail
-
FieldInfo
public FieldInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Field field)
-
FieldInfo
public FieldInfo(AnnotationFinder.ClassInfo declaringClass, java.lang.String name, java.lang.String type)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAnnotationFinder.Info
-
getDeclaringClass
public AnnotationFinder.ClassInfo getDeclaringClass()
-
getType
public java.lang.String getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getMetaAnnotationName
public java.lang.String getMetaAnnotationName()
- Specified by:
getMetaAnnotationName
in interfaceAnnotationFinder.Info
- Overrides:
getMetaAnnotationName
in classAnnotationFinder.Annotatable
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceAnnotationFinder.Info
- Overrides:
getDeclaredAnnotations
in classAnnotationFinder.Annotatable
-
get
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
toField
private java.lang.reflect.Field toField() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-