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 java.lang.annotation.Annotation>
extends java.lang.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(java.lang.Class<A> annotationType) |
Modifier and Type | Method and Description |
---|---|
protected C |
addAnnotationAsParameter(java.lang.String key,
AnnotationDef<?,?> value) |
protected C |
addParameter(java.lang.String key,
java.lang.Object value) |
java.lang.String |
toString() |
protected AnnotationDef(java.lang.Class<A> annotationType)
protected AnnotationDef(AnnotationDef<?,A> original)
protected C addParameter(java.lang.String key, java.lang.Object value)
protected C addAnnotationAsParameter(java.lang.String key, AnnotationDef<?,?> value)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved