Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
TypedAnnotationWriter<A extends java.lang.annotation.Annotation,W extends JAnnotationWriter<A>>
Dynamically implements the typed annotation writer interfaces.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
TypedAnnotationWriter<A extends java.lang.annotation.Annotation,W extends JAnnotationWriter<A>>
Dynamically implements the typed annotation writer interfaces.
|
Modifier and Type | Method and Description |
---|---|
<W extends JAnnotationWriter> |
JAnnotatable.annotate2(java.lang.Class<W> clazz)
Adds an annotation to this program element
and returns a type-safe writer to fill in the values of such annotations.
|
<W extends JAnnotationWriter> |
JVar.annotate2(java.lang.Class<W> clazz) |
<W extends JAnnotationWriter> |
JPackage.annotate2(java.lang.Class<W> clazz) |
<W extends JAnnotationWriter> |
JEnumConstant.annotate2(java.lang.Class<W> clazz) |
<W extends JAnnotationWriter> |
JAnnotationArrayMember.annotate2(java.lang.Class<W> clazz) |
<W extends JAnnotationWriter> |
JDefinedClass.annotate2(java.lang.Class<W> clazz) |
<W extends JAnnotationWriter> |
JMethod.annotate2(java.lang.Class<W> clazz) |
(package private) static <W extends JAnnotationWriter<?>> |
TypedAnnotationWriter.create(java.lang.Class<W> w,
JAnnotatable annotatable)
Creates a new typed annotation writer.
|