C
- The type of a concrete sub type. Following to the
"self referencing generic type" pattern each sub type has to be
parametrized with itself.A
- The constraint annotation type represented by a concrete sub type.public abstract class AnnotationDef<C extends AnnotationDef<C,A>,A extends Annotation> extends Object
Note that any protected member in this type and its subtypes are not part of the public API and are only meant for internal use.
Modifier | Constructor and Description |
---|---|
protected |
AnnotationDef(AnnotationDef<?,A> original) |
protected |
AnnotationDef(Class<A> annotationType) |
Modifier and Type | Method and Description |
---|---|
protected C |
addAnnotationAsParameter(String key,
AnnotationDef<?,?> value) |
protected C |
addParameter(String key,
Object value) |
String |
toString() |
protected AnnotationDef(AnnotationDef<?,A> original)
Copyright © 2019 JBoss by Red Hat. All rights reserved.