Uses of Class
com.sun.codemodel.JAnnotationUse
Packages that use JAnnotationUse
-
Uses of JAnnotationUse in com.sun.codemodel
Fields in com.sun.codemodel declared as JAnnotationUseModifier and TypeFieldDescriptionprivate final JAnnotationUse
TypedAnnotationWriter.use
This is what we are writing to.Fields in com.sun.codemodel with type parameters of type JAnnotationUseModifier and TypeFieldDescriptionprivate List
<JAnnotationUse> JDefinedClass.annotations
Annotations on this variable.private List
<JAnnotationUse> JEnumConstant.annotations
Annotations on this variable.private List
<JAnnotationUse> JMethod.annotations
Annotations on this variable.private List
<JAnnotationUse> JPackage.annotations
Lazily created list of package annotations.private List
<JAnnotationUse> JVar.annotations
Annotations on this variable.Methods in com.sun.codemodel that return JAnnotationUseModifier and TypeMethodDescriptionAdds an annotation to this program element.JAnnotatable.annotate
(Class<? extends Annotation> clazz) Adds an annotation to this program element.Adds a new annotation to the array.JAnnotationArrayMember.annotate
(Class<? extends Annotation> clazz) Adds a new annotation to the array.JAnnotationUse.annotate
(Class<? extends Annotation> clazz) Deprecated.Adding ability to annotate a classJDefinedClass.annotate
(Class<? extends Annotation> clazz) Adding ability to annotate a classAdds an annotation to this variable.JEnumConstant.annotate
(Class<? extends Annotation> clazz) Adds an annotation to this variable.Adds an annotation to this variable.JMethod.annotate
(Class<? extends Annotation> clazz) Adds an annotation to this variable.JPackage.annotate
(Class<? extends Annotation> clazz) Adds an annotation to this variable.JVar.annotate
(Class<? extends Annotation> clazz) Adds an annotation to this variable.JAnnotationUse.annotationParam
(String name, Class<? extends Annotation> value) Adds a member value pair to this annotation For adding class values as paramJAnnotationWriter.getAnnotationUse()
Gets the underlying annotation use object to which we are writing.TypedAnnotationWriter.getAnnotationUse()
Adds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationAdds a member value pair to this annotationJAnnotationUse.param
(String name, JEnumConstant value) Adds a member value pair to this annotationJAnnotationUse.param
(String name, JExpression value) Adds a member value pair to this annotation.Adds a member value pair to this annotation based on the type represented by the given JTypeAdds a member value pair to this annotation This can be used for e.g to specifyAdds a member value pair to this annotationAdds a member value pair to this annotationMethods in com.sun.codemodel that return types with arguments of type JAnnotationUseModifier and TypeMethodDescriptionJAnnotatable.annotations()
Read-only live view of all annotations on thisJAnnotatable
JAnnotationArrayMember.annotations()
JDefinedClass.annotations()
JEnumConstant.annotations()
JMethod.annotations()
JPackage.annotations()
JVar.annotations()
Methods in com.sun.codemodel with parameters of type JAnnotationUseConstructors in com.sun.codemodel with parameters of type JAnnotationUseModifierConstructorDescriptionTypedAnnotationWriter
(Class<A> annotation, Class<W> writer, JAnnotationUse use)
JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)