org.eclipse.persistence.jaxb.javamodel
Interface JavaHasAnnotations
- All Known Subinterfaces: 
 - JavaClass, JavaField, JavaMethod, JavaPackage
 
- All Known Implementing Classes: 
 - JavaClassImpl, JavaFieldImpl, JavaMethodImpl, JavaPackageImpl
 
public interface JavaHasAnnotations
INTERNAL:
 
Purpose:A superinterface for those interfaces which represent 
 JDK Annotations.
 
Responsibilities:
 
 - Ensure that subinterfaces define methods for accessing both inherited
 and direct annotations present on a given JavaAnnotation
 
 
- See Also:
 Annotation, 
org.eclipse.persistence.jaxb20.javamodel.JavaAnnotation- Since:
 
  - Oracle TopLink 11.1.1.0.0
 
 
getAnnotation
JavaAnnotation getAnnotation(JavaClass arg0)
 
getAnnotations
java.util.Collection getAnnotations()
 
getDeclaredAnnotation
JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
 
getDeclaredAnnotations
java.util.Collection getDeclaredAnnotations()