Uses of Class
com.sun.codemodel.JAnnotationUse
Packages that use JAnnotationUse
-
Uses of JAnnotationUse in com.sun.codemodel
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.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 JAnnotationUseModifier and TypeMethodDescriptionJAnnotationArrayMember.param
(JAnnotationUse value) boolean
JAnnotatable.removeAnnotation
(JAnnotationUse annotation) Removes annotation from this program element.boolean
JAnnotationArrayMember.removeAnnotation
(JAnnotationUse annotation) boolean
JDefinedClass.removeAnnotation
(JAnnotationUse annotation) boolean
JEnumConstant.removeAnnotation
(JAnnotationUse annotation) boolean
JMethod.removeAnnotation
(JAnnotationUse annotation) boolean
JPackage.removeAnnotation
(JAnnotationUse annotation) boolean
JVar.removeAnnotation
(JAnnotationUse annotation)
JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)