public static final class ReflectionUtils.Parameter extends Object
Constructor and Description |
---|
Parameter(hudson.util.ReflectionUtils.MethodInfo parent,
int index) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
annotation(Class<A> type)
Gets the specified annotation on this parameter or null.
|
Annotation[] |
annotations()
Gets all the annotations on this parameter.
|
Type |
genericType()
Gets the unerased generic type of this parameter.
|
int |
index()
0-origin index of this parameter.
|
String |
name()
Name of this parameter.
|
Class<?> |
type()
Gets the type of this parameter.
|
public Parameter(hudson.util.ReflectionUtils.MethodInfo parent, int index)
public int index()
public Class<?> type()
public Type genericType()
public Annotation[] annotations()
public <A extends Annotation> A annotation(Class<A> type)
public String name()
Copyright © 2016. All rights reserved.