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
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationFinder.ClassInfo
declaringClass
private java.lang.String
descriptor
private java.lang.reflect.Member
method
private java.lang.String
name
private java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>>
parameterAnnotations
private java.util.List<AnnotationFinder.ParameterInfo>
parameters
-
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.Member
get()
java.lang.annotation.Annotation[]
getDeclaredAnnotations()
AnnotationFinder.ClassInfo
getDeclaringClass()
java.lang.String
getDescriptor()
java.lang.String
getMetaAnnotationName()
java.lang.String
getName()
java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>>
getParameterAnnotations()
java.util.List<AnnotationFinder.AnnotationInfo>
getParameterAnnotations(int index)
java.util.List<AnnotationFinder.ParameterInfo>
getParameters()
boolean
isConstructor()
private java.lang.reflect.Member
toMethod()
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
-
declaringClass
private final AnnotationFinder.ClassInfo declaringClass
-
descriptor
private final java.lang.String descriptor
-
name
private final java.lang.String name
-
parameterAnnotations
private final java.util.List<java.util.List<AnnotationFinder.AnnotationInfo>> parameterAnnotations
-
parameters
private final java.util.List<AnnotationFinder.ParameterInfo> parameters
-
method
private java.lang.reflect.Member method
-
-
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:
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
-
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:
getName
in interfaceAnnotationFinder.Info
-
getDeclaringClass
public AnnotationFinder.ClassInfo getDeclaringClass()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
get
public java.lang.reflect.Member get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
toMethod
private java.lang.reflect.Member toMethod() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-