Package org.apache.xbean.finder
Class AbstractFinder.MethodInfo
- java.lang.Object
-
- org.apache.xbean.finder.AbstractFinder.Annotatable
-
- org.apache.xbean.finder.AbstractFinder.MethodInfo
-
- All Implemented Interfaces:
AbstractFinder.Info
- Enclosing class:
- AbstractFinder
public class AbstractFinder.MethodInfo extends AbstractFinder.Annotatable implements AbstractFinder.Info
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractFinder.ClassInfo
declaringClass
private java.lang.String
name
private java.util.List<java.util.List<AbstractFinder.AnnotationInfo>>
parameterAnnotations
private java.lang.String
returnType
-
Constructor Summary
Constructors Constructor Description MethodInfo(AbstractFinder.ClassInfo info, java.lang.reflect.Constructor constructor)
MethodInfo(AbstractFinder.ClassInfo info, java.lang.reflect.Method method)
MethodInfo(AbstractFinder.ClassInfo declarignClass, java.lang.String name, java.lang.String returnType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractFinder.ClassInfo
getDeclaringClass()
java.lang.String
getName()
java.util.List<java.util.List<AbstractFinder.AnnotationInfo>>
getParameterAnnotations()
java.util.List<AbstractFinder.AnnotationInfo>
getParameterAnnotations(int index)
java.lang.String
getReturnType()
java.lang.String
toString()
-
Methods inherited from class org.apache.xbean.finder.AbstractFinder.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.AbstractFinder.Info
getAnnotations
-
-
-
-
Field Detail
-
declaringClass
private final AbstractFinder.ClassInfo declaringClass
-
returnType
private final java.lang.String returnType
-
name
private final java.lang.String name
-
parameterAnnotations
private final java.util.List<java.util.List<AbstractFinder.AnnotationInfo>> parameterAnnotations
-
-
Constructor Detail
-
MethodInfo
public MethodInfo(AbstractFinder.ClassInfo info, java.lang.reflect.Constructor constructor)
-
MethodInfo
public MethodInfo(AbstractFinder.ClassInfo info, java.lang.reflect.Method method)
-
MethodInfo
public MethodInfo(AbstractFinder.ClassInfo declarignClass, java.lang.String name, java.lang.String returnType)
-
-
Method Detail
-
getParameterAnnotations
public java.util.List<java.util.List<AbstractFinder.AnnotationInfo>> getParameterAnnotations()
-
getParameterAnnotations
public java.util.List<AbstractFinder.AnnotationInfo> getParameterAnnotations(int index)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAbstractFinder.Info
-
getDeclaringClass
public AbstractFinder.ClassInfo getDeclaringClass()
-
getReturnType
public java.lang.String getReturnType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-