com.caucho.bytecode
Class JAnnotationObject

java.lang.Object
  extended by com.caucho.bytecode.JAnnotationObject
Direct Known Subclasses:
JAccessibleObject, JClass

public abstract class JAnnotationObject
extends java.lang.Object

Represents an annotation object


Constructor Summary
JAnnotationObject()
           
 
Method Summary
 JAnnotation getAnnotation(java.lang.Class cl)
          Returns the annotation.
 JAnnotation getAnnotation(java.lang.String className)
          Returns the annotation.
 JAnnotation[] getDeclaredAnnotations()
          Returns the annotation.
 boolean isAnnotationPresent(java.lang.Class cl)
          Returns the annotation.
 boolean isAnnotationPresent(java.lang.String className)
          Returns the annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAnnotationObject

public JAnnotationObject()
Method Detail

getDeclaredAnnotations

public JAnnotation[] getDeclaredAnnotations()
Returns the annotation.


getAnnotation

public JAnnotation getAnnotation(java.lang.String className)
Returns the annotation.


getAnnotation

public JAnnotation getAnnotation(java.lang.Class cl)
Returns the annotation.


isAnnotationPresent

public boolean isAnnotationPresent(java.lang.String className)
Returns the annotation.


isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class cl)
Returns the annotation.