Package org.apache.xbean.finder
Class Parameter<E extends java.lang.reflect.Member>
- java.lang.Object
-
- org.apache.xbean.finder.Parameter<E>
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
public abstract class Parameter<E extends java.lang.reflect.Member> extends java.lang.Object implements java.lang.reflect.AnnotatedElement
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T> Parameter<java.lang.reflect.Constructor<T>>declaredBy(java.lang.reflect.Constructor<T> ctor, int index)static Parameter<java.lang.reflect.Method>declaredBy(java.lang.reflect.Method method, int index)booleanequals(java.lang.Object o)<T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationClass)java.lang.annotation.Annotation[]getAnnotations()java.lang.annotation.Annotation[]getDeclaredAnnotations()EgetDeclaringExecutable()intgetIndex()protected abstract java.lang.annotation.Annotation[][]getParameterAnnotations()inthashCode()booleanisAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)java.lang.StringtoString()
-
-
-
Method Detail
-
getDeclaringExecutable
public E getDeclaringExecutable()
-
getIndex
public int getIndex()
-
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
- Specified by:
getAnnotationin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfacejava.lang.reflect.AnnotatedElement
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParameterAnnotations
protected abstract java.lang.annotation.Annotation[][] getParameterAnnotations()
-
declaredBy
public static <T> Parameter<java.lang.reflect.Constructor<T>> declaredBy(java.lang.reflect.Constructor<T> ctor, int index)
-
declaredBy
public static Parameter<java.lang.reflect.Method> declaredBy(java.lang.reflect.Method method, int index)
-
-