Package org.apache.xbean.finder
Class AnnotationFinder.MethodInfo
- java.lang.Object
-
- org.apache.xbean.finder.AnnotationFinder.Annotatable
-
- org.apache.xbean.finder.AnnotationFinder.MethodInfo
-
- All Implemented Interfaces:
AnnotationFinder.Info
- Enclosing class:
- AnnotationFinder
public class AnnotationFinder.MethodInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
-
-
Constructor Summary
Constructors Constructor Description MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Constructor constructor)MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Method method)MethodInfo(AnnotationFinder.ClassInfo declarignClass, java.lang.String name, java.lang.String descriptor)
-
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.StringgetDescriptor()java.lang.StringgetMetaAnnotationName()java.lang.StringgetName()java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>>getParameterAnnotations()java.util.List<AnnotationFinder.AnnotationInfo>getParameterAnnotations(int index)java.util.List<AnnotationFinder.ParameterInfo>getParameters()booleanisConstructor()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
-
MethodInfo
public MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Constructor constructor)
-
MethodInfo
public MethodInfo(AnnotationFinder.ClassInfo info, java.lang.reflect.Method method)
-
MethodInfo
public MethodInfo(AnnotationFinder.ClassInfo declarignClass, java.lang.String name, java.lang.String descriptor)
-
-
Method Detail
-
getDescriptor
public java.lang.String getDescriptor()
-
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
-
isConstructor
public boolean isConstructor()
-
getParameterAnnotations
public java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> getParameterAnnotations()
-
getParameterAnnotations
public java.util.List<AnnotationFinder.AnnotationInfo> getParameterAnnotations(int index)
-
getParameters
public java.util.List<AnnotationFinder.ParameterInfo> getParameters()
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAnnotationFinder.Info
-
getDeclaringClass
public AnnotationFinder.ClassInfo getDeclaringClass()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
get
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-