Add a class to the index.
Adds a new attribute to the class itself.
Adds an attribute to a constructor.
Adds an attribute to a constructor.
Adds an attribute to a field.
Adds an attribute to a field.
Adds an attribute to a method.
Adds an attribute to a method.
Adds an attribute to a parameter of a constructor.
Adds an attribute to a parameter of a constructor.
Adds an attribute to a parameter of a method.
Adds an attribute to a parameter of a method.
Adds an attribute to the return value of a method.
Adds an attribute to the return value of a method.
ALL - static field in class org.apache.commons.attributes.
Target Indicates that the attribute can be applied to any program element.
An index providing a list of elements with given attributes.
Creates a new AttributeIndex for the given ClassLoader.
Interface implemented by all attribute repository classes.
API for accessing attributes.
Commonly used convenience functions.
An attribute repository cache.
Checks if the
seal()
method has been called and throws a
IllegalStateException
if it has.
Convenience function to check if the repository is sealed.
Thrown when an attribute repository class can't be
loaded because it resulted in a circular dependency.
Create a new CircularDependencyError.
CLASS - static field in class org.apache.commons.attributes.
Target Indicates that the attribute can be applied to a class or interface.
A cache of attribute repositories.
Class we are defining attributes for.
Indicates that the attribute can be applied to a constructor.
Indicates that the attribute can be applied to a constructor parameter.
Constructs a new ConstructorParameter.
Get one attributes of a given type from a class.
Selects from a collection of attributes one attribute with a given class.
Get one attributes of a given type from a constructor.
Get one attributes of a given type from a field.
Get one attributes of a given type from a method.
Gets all attributes for a class.
Get all attributes of a given type from a class.
Selects from a collection of attributes only those with a given class.
Gets all attributes for a constructor.
Get all attributes of a given type from a constructor.
Gets all attributes for a field.
Get all attributes of a given type from a field.
Gets all attributes for a method.
Get all attributes of a given type from a method.
Get the nested Throwable, if any.
Returns a set containing all attributes (instances) associated with this class.
Gets a Collection of the Class
es that have an attribute of the specified class.
Gets a Collection of the classes that have an attribute of the specified class.
Gets a Collection of the classes that have an attribute of the specified class.
Filters a Collection of Class
objects.
Get the constructor this parameter is defined in.
Convenience method to get and initialize an entry in the constructor map.
Returns a map with String keys and List values.
Gets a Collection of the ConstructorParameter
s that have an attribute of the specified class.
Gets a Collection of the Constructor
s that have an attribute of the specified class.
Gets the class this repository defines attributes for.
Returns a map with String keys and Set values.
Gets a Collection of the Field
s that have an attribute of the specified class.
Returns an int
that is the bitwise or of the allowed target flags.
Get the index of this parameter in the parameter list of the constructor.
Get the index of this parameter in the parameter list of the method.
Get the method this parameter is defined in.
Convenience method to get and initialize an entry in the method map.
Returns a map with String keys and List values.
Convenience method to get and initialize an enry in the method or
constructor attribute map.
Gets a Collection of the MethodParameter
s that have an attribute of the specified class.
Gets a Collection of the Method
s that have an attribute of the specified class.
Gets a Collection of the Method
s whose return value has an attribute of the specified class.
Get the nested Throwable if any.
Filters a collection of objects.
Get one attributes of a given type from a constructor's parameter.
Get one attributes of a given type from a parameter.
Gets all attributes for a parameter of a constructor.
Get all attributes of a given type from a method's parameter.
Gets all attributes for a parameter of a method.
Get all attributes of a given type from a method's parameter.
Get one attributes of a given type from a method's return value.
Gets all attributes for the return value of a method.
Get all attributes of a given type from a method's return value.
Tests if a class has an attribute.
Convenience function to test whether a collection of attributes contain
an attribute.
Tests if a constructor has an attribute.
Tests if a field has an attribute.
Tests if a method has an attribute.
Tests if a class has an attribute of a given type.
Convenience function to test whether a collection of attributes contain
an attribute of a given class.
Tests if a constructor has an attribute of a given type.
Tests if a field has an attribute of a given type.
Tests if a method has an attribute of a given type.
Tests if a constructor's parameter has an attribute.
Tests if a method's parameter has an attribute.
Tests if a constructor's parameter has an attribute of a given type.
Tests if a method's parameter has an attribute of a given type.
Tests if a method's return value has an attribute.
Tests if a method's return value has an attribute of a given type.
Thrown when an attribute repository class can't be
loaded or instantiated.
Create a new RepositoryError with no message or nested Throwable.
Create a new RepositoryError with a message but no nested Throwable.
Create a new RepositoryError with a message and nested Throwable.
Create a new RepositoryError with a nested Throwable.
RETURN - static field in class org.apache.commons.attributes.
Target Indicates that the attribute can be applied to a method return value.
Class used to define attributes programmatically for a class.
Create a new runtime repository.