Uses of Class
org.exolab.javasource.JAnnotation
Packages that use JAnnotation
Package
Description
This package contains classes that represent Java Source objects for Castor XML
code generator.
-
Uses of JAnnotation in org.exolab.castor.builder.printing
Methods in org.exolab.castor.builder.printing with parameters of type JAnnotationModifier and TypeMethodDescriptionTemplateHelper.printAnnotation(JAnnotation annotation, String shift) Converts the givenJAnnotationto a string representation. -
Uses of JAnnotation in org.exolab.javasource
Methods in org.exolab.javasource that return JAnnotationModifier and TypeMethodDescriptionJAnnotatedElement.getAnnotation(JAnnotationType annotationType) Retrieves a JAnnotation for the given JAnnotationType, returns null if no annotation has been set.final JAnnotationJAnnotatedElementHelper.getAnnotation(JAnnotationType annotationType) Retrieves a JAnnotation for the given JAnnotationType, returns null if no annotation has been set.JMethod.getAnnotation(JAnnotationType annotationType) Retrieves a JAnnotation for the given JAnnotationType, returns null if no annotation has been set.final JAnnotationJStructure.getAnnotation(JAnnotationType annotationType) Retrieves a JAnnotation for the given JAnnotationType, returns null if no annotation has been set.JAnnotatedElement.getAnnotations()Returns a list of JAnnotation's already set on this source element.final JAnnotation[]JAnnotatedElementHelper.getAnnotations()Returns a list of JAnnotation's already set on this source element.JMethod.getAnnotations()Returns a list of JAnnotation's already set on this source element.final JAnnotation[]JStructure.getAnnotations()Returns a list of JAnnotation's already set on this source element.JAnnotation.getElementValueAnnotation(String elementName) For the provided element name, returns the annotation element value when it is a JAnnotation.JAnnotation.getElementValueAnnotationList(String elementName) For the provided element name, returns the annotation element value when it is an array of JAnnotation.JAnnotation.getValueAnnotation()Returns the annotation element value when it is an annotation.JAnnotatedElement.removeAnnotation(JAnnotationType annotationType) Removes the JAnnotation from this source element for the given JAnnotationType.final JAnnotationJAnnotatedElementHelper.removeAnnotation(JAnnotationType annotationType) Removes the JAnnotation from this source element for the given JAnnotationType.JMethod.removeAnnotation(JAnnotationType annotationType) Removes the JAnnotation from this source element for the given JAnnotationType.final JAnnotationJStructure.removeAnnotation(JAnnotationType annotationType) Removes the JAnnotation from this source element for the given JAnnotationType.Methods in org.exolab.javasource with parameters of type JAnnotationModifier and TypeMethodDescriptionvoidJAnnotatedElement.addAnnotation(JAnnotation annotation) Adds a JAnnotation to this source element.final voidJAnnotatedElementHelper.addAnnotation(JAnnotation annotation) Adds a JAnnotation to this source element.voidJMethod.addAnnotation(JAnnotation annotation) Adds a JAnnotation to this source element.final voidJStructure.addAnnotation(JAnnotation annotation) Adds a JAnnotation to this source element.protected final voidJStructure.addImport(JAnnotation annotation) Adds appropriate import for this JAnnotation.protected final voidJStructure.addImport(JAnnotation[] annotations) Adds appropriate imports for each JAnnotation in the given Array.voidJAnnotation.setElementValue(String elementName, JAnnotation annotationValue) Adds an annotation element name=annotation pair.voidJAnnotation.setElementValue(String elementName, JAnnotation[] annotationValues) Adds an annotation element name=array of annotations.voidJAnnotation.setValue(JAnnotation annotationValue) Sets the "value" annotation element value as an annotation.voidJAnnotation.setValue(JAnnotation[] annotationValues) Sets the "value" annotation element value as a list of annotation values.