Package org.apache.xbean.finder
Class AnnotationFinder.ParameterInfo
- java.lang.Object
-
- org.apache.xbean.finder.AnnotationFinder.Annotatable
-
- org.apache.xbean.finder.AnnotationFinder.ParameterInfo
-
- All Implemented Interfaces:
AnnotationFinder.Info
- Enclosing class:
- AnnotationFinder
public class AnnotationFinder.ParameterInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<AnnotationFinder.AnnotationInfo>
annotations
private AnnotationFinder.MethodInfo
declaringMethod
private int
index
private Parameter<?>
parameter
-
Constructor Summary
Constructors Constructor Description ParameterInfo(AnnotationFinder.MethodInfo parent, int index)
ParameterInfo(AnnotationFinder.MethodInfo parent, Parameter<?> parameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameter<?>
get()
java.lang.annotation.Annotation[]
getDeclaredAnnotations()
AnnotationFinder.MethodInfo
getDeclaringMethod()
java.lang.String
getName()
java.lang.String
toString()
-
Methods inherited from class org.apache.xbean.finder.AnnotationFinder.Annotatable
getAnnotations, getMetaAnnotationName
-
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, getMetaAnnotationName
-
-
-
-
Field Detail
-
declaringMethod
private final AnnotationFinder.MethodInfo declaringMethod
-
index
private final int index
-
annotations
private final java.util.List<AnnotationFinder.AnnotationInfo> annotations
-
parameter
private Parameter<?> parameter
-
-
Constructor Detail
-
ParameterInfo
public ParameterInfo(AnnotationFinder.MethodInfo parent, int index)
-
ParameterInfo
public ParameterInfo(AnnotationFinder.MethodInfo parent, Parameter<?> parameter)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAnnotationFinder.Info
-
get
public Parameter<?> get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceAnnotationFinder.Info
- Overrides:
getDeclaredAnnotations
in classAnnotationFinder.Annotatable
-
getDeclaringMethod
public AnnotationFinder.MethodInfo getDeclaringMethod()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-