Package | Description |
---|---|
org.exolab.javasource |
This package contains classes that represent Java Source objects for Castor XML
code generator.
|
Modifier and Type | Method and Description |
---|---|
JAnnotationType |
JAnnotation.getAnnotationType()
Returns the JAnnotationType associated with this JAnnotation.
|
Modifier and Type | Method and Description |
---|---|
JAnnotation |
JStructure.getAnnotation(JAnnotationType annotationType)
Retrieves a JAnnotation for the given JAnnotationType, returns null if no
annotation has been set.
|
JAnnotation |
JAnnotatedElementHelper.getAnnotation(JAnnotationType annotationType)
Retrieves a JAnnotation for the given JAnnotationType, returns null if no
annotation has been set.
|
JAnnotation |
JAnnotatedElement.getAnnotation(JAnnotationType annotationType)
Retrieves a JAnnotation for the given JAnnotationType, returns null if no
annotation has been set.
|
JAnnotation |
JMethod.getAnnotation(JAnnotationType annotationType)
Retrieves a JAnnotation for the given JAnnotationType, returns null if no
annotation has been set.
|
boolean |
JStructure.isAnnotationPresent(JAnnotationType annotationType)
Returns true if a JAnnotation exists for the given JAnnotationType.
|
boolean |
JAnnotatedElementHelper.isAnnotationPresent(JAnnotationType annotationType)
Returns true if a JAnnotation exists for the given JAnnotationType.
|
boolean |
JAnnotatedElement.isAnnotationPresent(JAnnotationType annotationType)
Returns true if a JAnnotation exists for the given JAnnotationType.
|
boolean |
JMethod.isAnnotationPresent(JAnnotationType annotationType)
Returns true if a JAnnotation exists for the given JAnnotationType.
|
JAnnotation |
JStructure.removeAnnotation(JAnnotationType annotationType)
Removes the JAnnotation from this source element for the given
JAnnotationType.
|
JAnnotation |
JAnnotatedElementHelper.removeAnnotation(JAnnotationType annotationType)
Removes the JAnnotation from this source element for the given
JAnnotationType.
|
JAnnotation |
JAnnotatedElement.removeAnnotation(JAnnotationType annotationType)
Removes the JAnnotation from this source element for the given
JAnnotationType.
|
JAnnotation |
JMethod.removeAnnotation(JAnnotationType annotationType)
Removes the JAnnotation from this source element for the given
JAnnotationType.
|
Constructor and Description |
---|
JAnnotation(JAnnotationType annotationType)
Constructs a JAnnotation for the given annotation type.
|
Copyright © 2014. All rights reserved.