org.exolab.javasource
public class JAnnotatedElementHelper extends Object implements JAnnotatedElement
Constructor Summary | |
---|---|
JAnnotatedElementHelper()
Creates a JAnnodatedElementHelper. |
Method Summary | |
---|---|
void | addAnnotation(JAnnotation annotation) |
JAnnotation | getAnnotation(JAnnotationType annotationType) |
JAnnotation[] | getAnnotations() |
boolean | hasAnnotations() |
boolean | isAnnotationPresent(JAnnotationType annotationType) |
static void | main(String[] args)
Test. |
boolean | printAnnotations(JSourceWriter jsw)
Outputs the list of annotations maintained by this object.
|
JAnnotation | removeAnnotation(JAnnotationType annotationType) |
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
Parameters: args Command-line arguments
Parameters: jsw the JSourceWriter to print the annotations to
Returns: true if at least one annotation was printed, false otherwise.