Package org.apache.commons.attributes

Provides an API for accessing attributes.

Interface Summary

AttributeRepositoryClass Interface implemented by all attribute repository classes.
CachedRepository An attribute repository cache.
Sealable Marks an attribute class as being sealable.

Class Summary

AttributeIndex An index providing a list of elements with given attributes.
AttributeIndex.ConstructorParameter A constructor parameter.
AttributeIndex.IndexNode
AttributeIndex.MethodParameter Reference to a method parameter.
Attributes API for accessing attributes.
AttributeUtil Commonly used convenience functions.
CircularDependencyError Thrown when an attribute repository class can't be loaded because it resulted in a circular dependency.
DefaultCachedRepository
DefaultCachedRepository.MethodAttributeBundle
DefaultSealable Implementation of the Sealable interface.
EmptyAttributeRepositoryClass Empty implementation of AttributeRepositoryClass.
EmptyCachedRepository Null implementation of a cached repository.
Indexed This attribute is used to mark attributes as being indexed.
Inheritable This attribute is used to mark attributes as being inheritable.
InvalidAttributeTargetError Thrown when an attribute has a Target declaration that forbids it being applied to the program element it has been applied to.
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.
ParameterIndexOutOfBoundsException Thrown when attempting to get attributes for a parameter of a constructor or method and the parameter index is out of bounds.
RepositoryError Thrown when an attribute repository class can't be loaded or instantiated.
RuntimeAttributeRepository Class used to define attributes programmatically for a class.
SealedAttributeException Thrown when an attempt is made to modify a Sealable attribute that has been sealed.
Target Attribute indicating what elements an attribute may be applied to.
Util
Provides an API for accessing attributes.