Package hudson.util
Class ReflectionUtils.Parameter
java.lang.Object
hudson.util.ReflectionUtils.Parameter
- All Implemented Interfaces:
 AnnotatedElement
- Enclosing class:
 ReflectionUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
Aannotation(Class<A> type) Gets the specified annotation on this parameter or null.Gets all the annotations on this parameter.Gets the unerased generic type of this parameter.<T extends Annotation>
TgetAnnotation(Class<T> type) intindex()0-origin index of this parameter.booleanisAnnotationPresent(Class<? extends Annotation> type) name()Name of this parameter.Class<?> type()Gets the type of this parameter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType 
- 
Constructor Details
- 
Parameter
public Parameter(hudson.util.ReflectionUtils.MethodInfo parent, int index)  
 - 
 - 
Method Details
- 
index
public int index()0-origin index of this parameter. - 
type
Gets the type of this parameter. - 
genericType
Gets the unerased generic type of this parameter. - 
annotations
Gets all the annotations on this parameter. - 
annotation
Gets the specified annotation on this parameter or null. - 
name
Name of this parameter. If unknown, this method returns null. - 
isAnnotationPresent
- Specified by:
 isAnnotationPresentin interfaceAnnotatedElement
 - 
getAnnotation
- Specified by:
 getAnnotationin interfaceAnnotatedElement
 - 
getAnnotations
- Specified by:
 getAnnotationsin interfaceAnnotatedElement
 - 
getDeclaredAnnotations
- Specified by:
 getDeclaredAnnotationsin interfaceAnnotatedElement
 
 -