Class AnnotationDescriptor<A extends Annotation>
java.lang.Object
com.tngtech.archunit.library.modules.AnnotationDescriptor<A>
- Type Parameters:
A- The type ofAnnotationthisArchModule.Descriptorcontains
- 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:
getNamein interfaceArchModule.Descriptor- Returns:
- The name of the respective
ArchModuledescribed by thisArchModule.Descriptor
-
getAnnotation
-