Class AnnotationDescriptor<A extends Annotation>
java.lang.Object
com.tngtech.archunit.library.modules.AnnotationDescriptor<A>
- Type Parameters:
A
- The type ofAnnotation
thisArchModule.Descriptor
contains
- All Implemented Interfaces:
ArchModule.Descriptor
@PublicAPI(usage=ACCESS,
state=EXPERIMENTAL)
public final class AnnotationDescriptor<A extends Annotation>
extends Object
implements ArchModule.Descriptor
An
ArchModule.Descriptor
that carries along a specific Annotation
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnnotationDescriptor
@PublicAPI(usage=ACCESS, state=EXPERIMENTAL) public AnnotationDescriptor(String moduleName, A annotation)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceArchModule.Descriptor
- Returns:
- The name of the respective
ArchModule
described by thisArchModule.Descriptor
-
getAnnotation
-