|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of RepositoryError in org.apache.commons.attributes |
Subclasses of RepositoryError in org.apache.commons.attributes | |
class |
CircularDependencyError
Thrown when an attribute repository class can't be loaded because it resulted in a circular dependency. |
Methods in org.apache.commons.attributes that throw RepositoryError | |
private static CachedRepository |
Attributes.getCachedRepository(java.lang.Class clazz)
|
static java.lang.Object |
Attributes.getAttribute(java.lang.Class clazz,
java.lang.Class attributeClass)
Get one attributes of a given type from a class. |
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.Constructor ctor,
java.lang.Class attributeClass)
Get one attributes of a given type from a constructor. |
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.Method method,
int parameter,
java.lang.Class attributeClass)
Get one attributes of a given type from a parameter. |
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.getReturnAttribute(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Get one attributes of a given type from a method's return value. |
static java.util.Collection |
Attributes.getAttributes(java.lang.Class clazz)
Gets all attributes for a class. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Method method)
Gets all attributes for a method. |
static java.util.Collection |
Attributes.getParameterAttributes(java.lang.reflect.Method method,
int parameter)
Gets all attributes for a parameter of a method. |
static java.util.Collection |
Attributes.getParameterAttributes(java.lang.reflect.Constructor constructor,
int parameter)
Gets all attributes for a parameter of a constructor. |
static java.util.Collection |
Attributes.getReturnAttributes(java.lang.reflect.Method method)
Gets all attributes for the return value of a method. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Field field)
Gets all attributes for a field. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Constructor cons)
Gets all attributes for a constructor. |
static java.util.Collection |
Attributes.getAttributes(java.lang.Class clazz,
java.lang.Class attributeClass)
Get all attributes of a given type from a class. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Field field,
java.lang.Class attributeClass)
Get all attributes of a given type from a field. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Constructor ctor,
java.lang.Class attributeClass)
Get all attributes of a given type from a constructor. |
static java.util.Collection |
Attributes.getAttributes(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Get all attributes of a given type from a method. |
static java.util.Collection |
Attributes.getParameterAttributes(java.lang.reflect.Method method,
int parameter,
java.lang.Class attributeClass)
Get all attributes of a given type from a method's parameter. |
static java.util.Collection |
Attributes.getParameterAttributes(java.lang.reflect.Constructor constructor,
int parameter,
java.lang.Class attributeClass)
Get all attributes of a given type from a method's parameter. |
static java.util.Collection |
Attributes.getReturnAttributes(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Get all attributes of a given type from a method's return value. |
static boolean |
Attributes.hasAttributeType(java.lang.Class clazz,
java.lang.Class attributeClass)
Tests if a class has an attribute of a given type. |
static boolean |
Attributes.hasAttributeType(java.lang.reflect.Field field,
java.lang.Class attributeClass)
Tests if a field has an attribute of a given type. |
static boolean |
Attributes.hasAttributeType(java.lang.reflect.Constructor ctor,
java.lang.Class attributeClass)
Tests if a constructor has an attribute of a given type. |
static boolean |
Attributes.hasAttributeType(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Tests if a method has an attribute of a given type. |
static boolean |
Attributes.hasParameterAttributeType(java.lang.reflect.Method method,
int parameter,
java.lang.Class attributeClass)
Tests if a method's parameter has an attribute of a given type. |
static boolean |
Attributes.hasParameterAttributeType(java.lang.reflect.Constructor constructor,
int parameter,
java.lang.Class attributeClass)
Tests if a constructor's parameter has an attribute of a given type. |
static boolean |
Attributes.hasReturnAttributeType(java.lang.reflect.Method method,
java.lang.Class attributeClass)
Tests if a method's return value has an attribute of a given type. |
private static boolean |
Attributes.hasAttribute(java.util.Collection attrs,
java.lang.Object attribute)
Convenience function to test whether a collection of attributes contain an attribute. |
static boolean |
Attributes.hasAttribute(java.lang.Class clazz,
java.lang.Object attribute)
Tests if a class has an attribute. |
static boolean |
Attributes.hasAttribute(java.lang.reflect.Field field,
java.lang.Object attribute)
Tests if a field has an attribute. |
static boolean |
Attributes.hasAttribute(java.lang.reflect.Constructor ctor,
java.lang.Object attribute)
Tests if a constructor has an attribute. |
static boolean |
Attributes.hasAttribute(java.lang.reflect.Method method,
java.lang.Object attribute)
Tests if a method has an attribute. |
static boolean |
Attributes.hasParameterAttribute(java.lang.reflect.Method method,
int parameter,
java.lang.Object attribute)
Tests if a method's parameter has an attribute. |
static boolean |
Attributes.hasParameterAttribute(java.lang.reflect.Constructor constructor,
int parameter,
java.lang.Object attribute)
Tests if a constructor's parameter has an attribute. |
static boolean |
Attributes.hasReturnAttribute(java.lang.reflect.Method method,
java.lang.Object attribute)
Tests if a method's return value has an attribute. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |