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
-
-
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.Memberget()java.lang.annotation.Annotation[]getDeclaredAnnotations()AnnotationFinder.ClassInfogetDeclaringClass()java.lang.StringgetMetaAnnotationName()java.lang.StringgetName()java.lang.StringgetType()java.lang.StringtoString()-
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
-
-
-
-
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:
getNamein interfaceAnnotationFinder.Info
-
getDeclaringClass
public AnnotationFinder.ClassInfo getDeclaringClass()
-
getType
public java.lang.String getType()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getMetaAnnotationName
public java.lang.String getMetaAnnotationName()
- Specified by:
getMetaAnnotationNamein interfaceAnnotationFinder.Info- Overrides:
getMetaAnnotationNamein classAnnotationFinder.Annotatable
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceAnnotationFinder.Info- Overrides:
getDeclaredAnnotationsin classAnnotationFinder.Annotatable
-
get
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-