| Interface | Description |
|---|---|
| AttributeRepositoryClass |
Interface implemented by all attribute repository classes.
|
| CachedRepository |
An attribute repository cache.
|
| Sealable |
Marks an attribute class as being sealable.
|
| Class | Description |
|---|---|
| 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.
|
| 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.
|
| RuntimeAttributeRepository |
Class used to define attributes programmatically for a class.
|
| Target |
Attribute indicating what elements an attribute may be applied to.
|
| Util |
| Exception | Description |
|---|---|
| ParameterIndexOutOfBoundsException |
Thrown when attempting to get attributes for a parameter of a constructor or method
and the parameter index is out of bounds.
|
| SealedAttributeException |
Thrown when an attempt is made to modify a
Sealable attribute
that has been sealed. |
| Error | Description |
|---|---|
| CircularDependencyError |
Thrown when an attribute repository class can't be
loaded because it resulted in a circular dependency.
|
| 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. |
| RepositoryError |
Thrown when an attribute repository class can't be
loaded or instantiated.
|
Provides an API for accessing attributes.