com.caucho.bytecode
Class JavaAnnotation

java.lang.Object
  extended by com.caucho.bytecode.JAnnotation
      extended by com.caucho.bytecode.JavaAnnotation

public class JavaAnnotation
extends JAnnotation

Represents a java annotation.


Constructor Summary
JavaAnnotation()
           
 
Method Summary
 JavaClassLoader getClassLoader()
          Gets the class loader.
 java.lang.String getType()
          Gets the type.
 java.util.HashMap<java.lang.String,java.lang.Object> getValueMap()
          Returns the value map.
 java.lang.Object putValue(java.lang.String key, java.lang.Object value)
          Sets a value.
 void setClassLoader(JavaClassLoader loader)
          Sets the class loader.
 void setType(java.lang.String type)
          Sets the type.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.bytecode.JAnnotation
equals, get, getAnnotation, getBoolean, getClass, getInt, getString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaAnnotation

public JavaAnnotation()
Method Detail

setClassLoader

public void setClassLoader(JavaClassLoader loader)
Sets the class loader.


getClassLoader

public JavaClassLoader getClassLoader()
Gets the class loader.


setType

public void setType(java.lang.String type)
Sets the type.


getType

public java.lang.String getType()
Gets the type.

Specified by:
getType in class JAnnotation

getValueMap

public java.util.HashMap<java.lang.String,java.lang.Object> getValueMap()
Returns the value map.

Specified by:
getValueMap in class JAnnotation

putValue

public java.lang.Object putValue(java.lang.String key,
                                 java.lang.Object value)
Sets a value.


toString

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