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

A

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(ClassLoader) - Constructor for class org.apache.commons.attributes.AttributeIndex
Creates a new AttributeIndex for the given ClassLoader.
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.
AttributeRepositoryClass - interface org.apache.commons.attributes.AttributeRepositoryClass.
Interface implemented by all attribute repository classes.
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() - Constructor for class org.apache.commons.attributes.validation.AttributeValidatorTask
 
AttributeValidatorTask.Validator - class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator.
 
AttributeValidatorTask.Validator() - Constructor for class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator
 
Attributes - class org.apache.commons.attributes.Attributes.
API for accessing attributes.
Attributes() - Constructor for class org.apache.commons.attributes.Attributes
 
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(String, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a field.
addFieldAttribute(Field, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a field.
addMethodAttribute(String, Class[], Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a method.
addMethodAttribute(Method, 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(String, Class[], int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter of a method.
addParameterAttribute(Method, int, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to a parameter 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.
addReturnAttribute(Method, Object) - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Adds an attribute to the return value of a method.

C

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.
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.
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.
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
Default ctor.

E

equals(Object) - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Compares two ConstructorParameters for equality.
equals(Object) - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Compares two MethodParameters 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(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a field.
getAttribute(Constructor, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a constructor.
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(Method) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a method.
getAttributes(Field) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a field.
getAttributes(Constructor) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a constructor.
getAttributes(Class, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a class.
getAttributes(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a field.
getAttributes(Constructor, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a constructor.
getAttributes(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Get all attributes of a given type from a method.
getCause() - Method in class org.apache.commons.attributes.RepositoryError
Get the nested Throwable, if any.
getClassAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a set containing all attributes (instances) associated with this class.
getClassAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
getClassName() - Method in class org.apache.commons.attributes.validation.AttributeValidatorTask.Validator
 
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(String) - Method in class org.apache.commons.attributes.AttributeIndex
Deprecated. Use the getClasses(Class) method instead.
getClassesWithAttribute(Class) - 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.
getConstructor() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Get the constructor this parameter is defined in.
getConstructorAttributes() - Method in interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and List values.
getConstructorAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
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 interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and Set values.
getFieldAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
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.ConstructorParameter
Get the index of this parameter in the parameter list of the constructor.
getIndex() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Get the index of this parameter in the parameter list of the method.
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 interface org.apache.commons.attributes.AttributeRepositoryClass
Returns a map with String keys and List values.
getMethodAttributes() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
 
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
Get the nested Throwable if any.
getObjectsWithAttributeType(Collection, Class) - Static method in class org.apache.commons.attributes.AttributeUtil
Filters a collection of objects.
getParameterAttribute(Method, int, Class) - Static method in class org.apache.commons.attributes.Attributes
Get one attributes of a given type from a parameter.
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.
getParameterAttributes(Method, int) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a parameter of a method.
getParameterAttributes(Constructor, int) - Static method in class org.apache.commons.attributes.Attributes
Gets all attributes for a parameter of a constructor.
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.
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.
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(Field, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a field has an attribute.
hasAttribute(Constructor, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor 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(Field, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a field 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(Method, Class) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method has an attribute of a given type.
hasParameterAttribute(Method, int, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a method's parameter has an attribute.
hasParameterAttribute(Constructor, int, Object) - Static method in class org.apache.commons.attributes.Attributes
Tests if a constructor's parameter has an attribute.
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.
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.
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.
hashCode() - Method in class org.apache.commons.attributes.AttributeIndex.ConstructorParameter
Computes the hashCode.
hashCode() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Computes the hashCode.

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
Creates a new 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 and the method only expected to find a single instance.
MultipleAttributesError(String) - Constructor for class org.apache.commons.attributes.MultipleAttributesError
Create a new 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.
ParameterIndexOutOfBoundsException - exception org.apache.commons.attributes.ParameterIndexOutOfBoundsException.
Thrown when attempting to get attributes for a parameter of a constructor or method and the parameter index is out of bounds.
ParameterIndexOutOfBoundsException(String, int, int) - Constructor for class org.apache.commons.attributes.ParameterIndexOutOfBoundsException
Create a new ParameterIndexOutOfBoundsException.

R

RETURN - Static variable in class org.apache.commons.attributes.Target
Indicates that the attribute can be applied to a method return value.
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
Create a new RepositoryError with no message or nested Throwable.
RepositoryError(String) - Constructor for class org.apache.commons.attributes.RepositoryError
Create a new RepositoryError with a message but no nested Throwable.
RepositoryError(Throwable) - Constructor for class org.apache.commons.attributes.RepositoryError
Create a new RepositoryError with a nested Throwable.
RepositoryError(String, Throwable) - Constructor for class org.apache.commons.attributes.RepositoryError
Create a new RepositoryError with a message and nested Throwable.
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

Sealable - interface org.apache.commons.attributes.Sealable.
Marks an attribute class as being sealable.
SealedAttributeException - exception org.apache.commons.attributes.SealedAttributeException.
Thrown when an attempt is made to modify a Sealable attribute that has been sealed.
SealedAttributeException() - Constructor for class org.apache.commons.attributes.SealedAttributeException
 
seal() - Method in class org.apache.commons.attributes.DefaultSealable
Seals this attribute.
seal() - Method in class org.apache.commons.attributes.RuntimeAttributeRepository
Seals this repository.
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.
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.ConstructorParameter
Converts this constructor parameter into a human-readable string.
toString() - Method in class org.apache.commons.attributes.AttributeIndex.MethodParameter
Converts this method parameter into a human-readable string.

V

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.
validate(Set) - Method in interface org.apache.commons.attributes.validation.AttributeValidator
Validates a set of classes.

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

Copyright © The Apache Software Foundation. All Rights Reserved.