Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Attributes.getAttribute(java.lang.Class clazz,
java.lang.Class attributeClass)
Get one attributes of a given type from a class.
|
private static java.lang.Object |
Attributes.getAttribute(java.util.Collection attrs,
java.lang.Class attributeClass)
Selects from a collection of attributes one attribute with a given class.
|
static java.lang.Object |
Attributes.getAttribute(java.lang.reflect.Constructor constructor,
java.lang.Class attributeClass)
Get one attributes of a given type from a constructor.
|
static java.lang.Object |
Attributes.getAttribute(java.lang.reflect.Field field,
java.lang.Class attributeClass)
Get one attributes of a given type from a field.
|
static java.lang.Object |
Attributes.getAttribute(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Get one attributes of a given type from a method.
|
static java.lang.Object |
Attributes.getParameterAttribute(java.lang.reflect.Constructor constructor,
int parameter,
java.lang.Class attributeClass)
Get one attributes of a given type from a constructor's parameter.
|
static java.lang.Object |
Attributes.getParameterAttribute(java.lang.reflect.Method method,
int parameter,
java.lang.Class attributeClass)
Get one attributes of a given type from a parameter.
|
static java.lang.Object |
Attributes.getReturnAttribute(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Get one attributes of a given type from a method's return value.
|