com.mysema.util
Class AnnotatedElementAdapter

java.lang.Object
  extended by com.mysema.util.AnnotatedElementAdapter
All Implemented Interfaces:
java.lang.reflect.AnnotatedElement

public class AnnotatedElementAdapter
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement

Author:
tiwe

Constructor Summary
AnnotatedElementAdapter(java.lang.reflect.AnnotatedElement... elements)
           
 
Method Summary
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationClass)
           
 java.lang.annotation.Annotation[] getAnnotations()
           
 java.lang.annotation.Annotation[] getDeclaredAnnotations()
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedElementAdapter

public AnnotatedElementAdapter(java.lang.reflect.AnnotatedElement... elements)
Method Detail

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
Specified by:
getAnnotation in interface java.lang.reflect.AnnotatedElement

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()
Specified by:
getAnnotations in interface java.lang.reflect.AnnotatedElement

getDeclaredAnnotations

public java.lang.annotation.Annotation[] getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface java.lang.reflect.AnnotatedElement


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.