com.mysema.util
Class AnnotatedElementAdapter

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

public class AnnotatedElementAdapter
extends Object
implements AnnotatedElement

Author:
tiwe

Constructor Summary
AnnotatedElementAdapter(AnnotatedElement... elements)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 Annotation[] getAnnotations()
           
 Annotation[] getDeclaredAnnotations()
           
 boolean isAnnotationPresent(Class<? extends 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(AnnotatedElement... elements)
Method Detail

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotatedElement

getAnnotations

public Annotation[] getAnnotations()
Specified by:
getAnnotations in interface AnnotatedElement

getDeclaredAnnotations

public Annotation[] getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface AnnotatedElement

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface AnnotatedElement


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