org.aspectj.lang.annotation
public @Interface RequiredTypes
extends Annotation
- Annotations
- @Retention:RUNTIME
- @Target:TYPE
- Imports
- java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target
Can be specified on an aspect to ensure that particular types must be accessible before
the aspect will be 'activated'. The array value should be a list of fully qualified
type names as strings, for example "com.foo.Bar". Useful in an aspect library that
includes a number of aspects, only a few of which should ever be active depending
upon what is on the classpath.
- Author
- Andy Clement
- Since
- 1.8.3