A C D E F G H I M O P R S T V

A

addClassAttribute(Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds a new attribute to the class itself.
addConstructorAttribute(Class[], Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a constructor.
addConstructorAttribute(Constructor, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a constructor.
addFieldAttribute(Field, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a field.
addFieldAttribute(String, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a field.
addMethodAttribute(Method, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
addMethodAttribute(String, Class[], Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a method.
addParameterAttribute(Class[], int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter of a constructor.
addParameterAttribute(Constructor, int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter of a constructor.
addParameterAttribute(Method, int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter of a method.
addParameterAttribute(String, Class[], int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter of a method.
addReturnAttribute(Method, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to the return value of a method.
addReturnAttribute(String, Class[], Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to the return value of a method.
ALL - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to any program element.
AttributeIndex - class org.apache.commons.attributes.AttributeIndex.
An index providing a list of elements with given attributes.
AttributeIndex.ConstructorParameter - class org.apache.commons.attributes.AttributeIndex.ConstructorParameter.
A constructor parameter.
AttributeIndex.ConstructorParameter(Constructor, int) - Constructor for class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Constructs a new ConstructorParameter.
AttributeIndex.MethodParameter - class org.apache.commons.attributes.AttributeIndex.MethodParameter.
Reference to a method parameter.
AttributeIndex.MethodParameter(Method, int) - Constructor for class org.apache.commons.attributes.AttributeIndex.MethodParameter
Constructs a new MethodParameter.
AttributeIndex(ClassLoader) - Constructor for class org.apache.commons.attributes.AttributeIndex
Creates a new AttributeIndex for the given ClassLoader.
AttributeRepositoryClass - interface org.apache.commons.attributes.AttributeRepositoryClass.
Interface implemented by all attribute repository classes.
Attributes - class org.apache.commons.attributes.Attributes.
API for accessing attributes.
Attributes() - Constructor for class org.apache.commons.attributes.Attributes
 
AttributeUtil - class org.apache.commons.attributes.AttributeUtil.
Commonly used convenience functions.
AttributeUtil() - Constructor for class org.apache.commons.attributes.AttributeUtil
 
AttributeValidator - interface org.apache.commons.attributes.validation.AttributeValidator.
Validates that a set of classes have the correct attributes attached to them.
AttributeValidatorTask - class org.apache.commons.attributes.validation.AttributeValidatorTask.
Ant task that validates attributes.
AttributeValidatorTask.Validator - class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator.
 
AttributeValidatorTask.Validator() - Constructor for class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator
 
AttributeValidatorTask() - Constructor for class org.apache.commons.attributes.validation.AttributeValidatorTask
 

C

checkSealed() - Method in class org.apache.commons.attributes.DefaultSealable
Checks if the DefaultSealable.seal() method has been called and throws a IllegalStateException if it has.
CircularDependencyError - error org.apache.commons.attributes.CircularDependencyError.
Thrown when an attribute repository class can't be loaded because it resulted in a circular dependency.
CircularDependencyError(String, List) - Constructor for class org.apache.commons.attributes.CircularDependencyError
Create a new CircularDependencyError.
CLASS - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a class or interface.
CONSTRUCTOR - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a constructor.
CONSTRUCTOR_PARAMETER - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a constructor parameter.
createClasspath() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 
createValidator() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 

D

DefaultSealable - class org.apache.commons.attributes.DefaultSealable.
Implementation of the Sealable interface.
DefaultSealable() - Constructor for class org.apache.commons.attributes.DefaultSealable
 

E

equals(Object) - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Compares two MethodParameters for equality.
equals(Object) - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Compares two ConstructorParameters for equality.
execute() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 

F

FIELD - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a field.
findJarFile() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 

G

getAttribute(Class, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a class.
getAttribute(Constructor, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a constructor.
getAttribute(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a field.
getAttribute(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a method.
getAttributes(Class) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a class.
getAttributes(Class, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a class.
getAttributes(Constructor) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a constructor.
getAttributes(Constructor, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a constructor.
getAttributes(Field) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a field.
getAttributes(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a field.
getAttributes(Method) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a method.
getAttributes(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a method.
getClassAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
getClassAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a set containing all attributes (instances) associated with this class.
getClasses(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the Classes that have an attribute of the specified class.
getClassesWithAttribute(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Deprecated. Use the getClasses(Class) method instead.
getClassesWithAttribute(String) - Method in class org.apache.commons.attributes.AttributeIndex
Deprecated. Use the getClasses(Class) method instead.
getClassesWithAttributeType(Collection, Class) - Static method in class org.apache.commons.attributes.AttributeUtil
Filters a Collection of Class objects.
getClassName() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator
 
getConstructor() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Get the constructor this parameter is defined in.
getConstructorAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
getConstructorAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and List values.
getConstructorParameters(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the ConstructorParameters that have an attribute of the specified class.
getConstructors(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the Constructors that have an attribute of the specified class.
getDefinedClass() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Gets the class this repository defines attributes for.
getFieldAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
getFieldAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and Set values.
getFields(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the Fields that have an attribute of the specified class.
getFlags() - Method in class org.apache.commons.attributes.Target
Returns an int that is the bitwise or of the allowed target flags.
getIndex() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Get the index of this parameter in the parameter list of the method.
getIndex() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Get the index of this parameter in the parameter list of the constructor.
getInvalidClass() - Method in class org.apache.commons.attributes.validation.ValidationException
Returns the class that triggered the ValidationExeption to be thrown.
getMethod() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Get the method this parameter is defined in.
getMethodAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
getMethodAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and List values.
getMethodParameters(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the MethodParameters that have an attribute of the specified class.
getMethods(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the Methods that have an attribute of the specified class.
getMethodsReturning(Class) - Method in class org.apache.commons.attributes.AttributeIndex
Gets a Collection of the Methods whose return value has an attribute of the specified class.
getNested() - Method in class org.apache.commons.attributes.RepositoryError
 
getObjectsWithAttributeType(Collection, Class) - Static method in class org.apache.commons.attributes.AttributeUtil
Filters a collection of objects.
getParameterAttribute(Constructor, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a constructor's parameter.
getParameterAttribute(Method, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a parameter.
getParameterAttributes(Constructor, int) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a parameter of a constructor.
getParameterAttributes(Constructor, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a method's parameter.
getParameterAttributes(Method, int) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a parameter of a method.
getParameterAttributes(Method, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a method's parameter.
getReturnAttribute(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a method's return value.
getReturnAttributes(Method) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for the return value of a method.
getReturnAttributes(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a method's return value.

H

hasAttribute(Class, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a class has an attribute.
hasAttribute(Constructor, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor has an attribute.
hasAttribute(Field, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a field has an attribute.
hasAttribute(Method, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method has an attribute.
hasAttributeType(Class, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a class has an attribute of a given type.
hasAttributeType(Constructor, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor has an attribute of a given type.
hasAttributeType(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a field has an attribute of a given type.
hasAttributeType(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method has an attribute of a given type.
hashCode() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Computes the hashCode.
hashCode() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Computes the hashCode.
hasParameterAttribute(Constructor, int, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor's parameter has an attribute.
hasParameterAttribute(Method, int, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method's parameter has an attribute.
hasParameterAttributeType(Constructor, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor's parameter has an attribute of a given type.
hasParameterAttributeType(Method, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method's parameter has an attribute of a given type.
hasReturnAttribute(Method, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method's return value has an attribute.
hasReturnAttributeType(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method's return value has an attribute of a given type.

I

Indexed - class org.apache.commons.attributes.Indexed.
This attribute is used to mark attributes as being indexed.
Indexed() - Constructor for class org.apache.commons.attributes.Indexed
 
Inheritable - class org.apache.commons.attributes.Inheritable.
This attribute is used to mark attributes as being inheritable.
Inheritable() - Constructor for class org.apache.commons.attributes.Inheritable
 
InvalidAttributeTargetError - error org.apache.commons.attributes.InvalidAttributeTargetError.
Thrown when an attribute has a Target declaration that forbids it being applied to the program element it has been applied to.
InvalidAttributeTargetError(String, String, int) - Constructor for class org.apache.commons.attributes.InvalidAttributeTargetError
 

M

METHOD - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a method.
METHOD_PARAMETER - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a method parameter.
MultipleAttributesError - error org.apache.commons.attributes.MultipleAttributesError.
Thrown when one of the Attributes.getAttribute methods find more than one instance of the specified attribute class.
MultipleAttributesError(String) - Constructor for class org.apache.commons.attributes.MultipleAttributesError
 

O

org.apache.commons.attributes - package org.apache.commons.attributes
Provides an API for accessing attributes.
org.apache.commons.attributes.validation - package org.apache.commons.attributes.validation
Provides an API for validating internal consistency among attributes.

P

PARAMETER - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a parameter of a method or a constructor.

R

RepositoryError - error org.apache.commons.attributes.RepositoryError.
Thrown when an attribute repository class can't be loaded or instantiated.
RepositoryError() - Constructor for class org.apache.commons.attributes.RepositoryError
 
RepositoryError(String) - Constructor for class org.apache.commons.attributes.RepositoryError
 
RepositoryError(String, Throwable) - Constructor for class org.apache.commons.attributes.RepositoryError
 
RepositoryError(Throwable) - Constructor for class org.apache.commons.attributes.RepositoryError
 
RETURN - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a method return value.
RuntimeAttributeRepository - class org.apache.commons.attributes.RuntimeAttributeRepository.
Class used to define attributes programmatically for a class.
RuntimeAttributeRepository(Class) - Constructor for class org.apache.commons.attributes.RuntimeAttributeRepository
Create a new runtime repository.

S

seal() - Method in interface org.apache.commons.attributes.Sealable
Called to indicate that construction and initialization of this attribute instance is completed, and that the attribute instance should become read-only.
seal() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Seals this repository.
seal() - Method in class org.apache.commons.attributes.DefaultSealable
Seals this attribute.
Sealable - interface org.apache.commons.attributes.Sealable.
Marks an attribute class as being sealable.
setAttributes(RuntimeAttributeRepository) - Static method in class org.apache.commons.attributes.Attributes
Set attributes for a given class.
setBaseName(File) - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 
setClass(String) - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator
 
setJarfile(File) - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask
 

T

Target - class org.apache.commons.attributes.Target.
Attribute indicating what elements an attribute may be applied to.
Target(int) - Constructor for class org.apache.commons.attributes.Target
Creates a new target attribute.
toString() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Converts this method parameter into a human-readable string.
toString() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Converts this constructor parameter into a human-readable string.

V

validate(Set) - Method in interface org.apache.commons.attributes.validation.AttributeValidator
Validates a set of classes.
ValidationException - exception org.apache.commons.attributes.validation.ValidationException.
Thrown by AttributeValidators when an invalid set of attributes are detected.
ValidationException(Class, String) - Constructor for class org.apache.commons.attributes.validation.ValidationException
Creates a new ValidationException.

A C D E F G H I M O P R S T V

Copyright © The Apache Software Foundation. All Rights Reserved.