Top Description Fields Constructors Methods
org.hibernate.annotations.common.reflection.java

pack-priv Class JavaAnnotationReader

extends Object
implements AnnotationReader
Class Inheritance
All Implemented Interfaces
org.hibernate.annotations.common.reflection.AnnotationReader
Imports
java.lang.annotation.Annotation, java.lang.reflect.AnnotatedElement, org.hibernate.annotations.common.reflection.AnnotationReader

Reads standard Java annotations.
Authors
Paolo Perrotta, Davide Marchignoli

Field Summary

Modifier and TypeField and Description
protected final AnnotatedElement

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T extends Annotation> T
public Annotation[]
public <T extends Annotation> boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

elementback to summary
protected final AnnotatedElement element

Constructor Detail

JavaAnnotationReaderback to summary
public JavaAnnotationReader(AnnotatedElement el)

Method Detail

getAnnotationback to summary
public <T extends Annotation> T getAnnotation(Class<T> annotationType)

Implements org.hibernate.annotations.common.reflection.AnnotationReader.getAnnotation.

getAnnotationsback to summary
public Annotation[] getAnnotations()

Implements org.hibernate.annotations.common.reflection.AnnotationReader.getAnnotations.

isAnnotationPresentback to summary
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)

Implements org.hibernate.annotations.common.reflection.AnnotationReader.isAnnotationPresent.