com.caucho.bytecode
Class JAnnotation

java.lang.Object
  extended by com.caucho.bytecode.JAnnotation
Direct Known Subclasses:
JAnnotationWrapper, JavaAnnotation

public abstract class JAnnotation
extends java.lang.Object

Represents an introspected annotation.


Constructor Summary
JAnnotation()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if equals.
 java.lang.Object get(java.lang.String name)
          Returns the annotation value.
 JAnnotation getAnnotation(java.lang.String name)
          Returns the annotation value.
 boolean getBoolean(java.lang.String name)
          Returns the annotation value.
 JClass getClass(java.lang.String name)
          Returns the annotation value.
 int getInt(java.lang.String name)
          Returns the annotation value.
 java.lang.String getString(java.lang.String name)
          Returns the annotation value.
abstract  java.lang.String getType()
          Returns the class name.
abstract  java.util.Map<java.lang.String,java.lang.Object> getValueMap()
          Returns the annotation values.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAnnotation

public JAnnotation()
Method Detail

getType

public abstract java.lang.String getType()
Returns the class name.


getValueMap

public abstract java.util.Map<java.lang.String,java.lang.Object> getValueMap()
Returns the annotation values.


get

public java.lang.Object get(java.lang.String name)
Returns the annotation value.


getString

public java.lang.String getString(java.lang.String name)
Returns the annotation value.


getClass

public JClass getClass(java.lang.String name)
Returns the annotation value.


getInt

public int getInt(java.lang.String name)
Returns the annotation value.


getBoolean

public boolean getBoolean(java.lang.String name)
Returns the annotation value.


getAnnotation

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


equals

public boolean equals(java.lang.Object o)
Returns true if equals.

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object