|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.AnnotationHelper
public class AnnotationHelper
Purpose:Provide a class which is responsible for returning Annotations from AnnotatedElements. This class can be extended in the case that the annotation data is being provided from an external source.
| Constructor Summary | |
|---|---|
AnnotationHelper() |
|
| Method Summary | |
|---|---|
java.lang.annotation.Annotation |
getAnnotation(java.lang.reflect.AnnotatedElement elem, java.lang.Class annotationClass)Get an annotation of type annotationClass if it's present on the AnnotatedElement elem. |
java.lang.annotation.Annotation[] |
getAnnotations(java.lang.reflect.AnnotatedElement elem)Get all annotations that exist on the AnnotatedElement elem |
boolean |
isAnnotationPresent(java.lang.reflect.AnnotatedElement elem, java.lang.Class annotationClass)Return true if the annotation annotationClass exists on the annotatedElement elem. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationHelper()
| Method Detail |
|---|
public java.lang.annotation.Annotation getAnnotation(java.lang.reflect.AnnotatedElement elem,
java.lang.Class annotationClass)
public java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.AnnotatedElement elem)
public boolean isAnnotationPresent(java.lang.reflect.AnnotatedElement elem,
java.lang.Class annotationClass)
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||