cetus.hir
Class CetusAnnotation

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Object>
          extended by cetus.hir.Annotation
              extended by cetus.hir.PragmaAnnotation
                  extended by cetus.hir.CetusAnnotation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public class CetusAnnotation
extends PragmaAnnotation

CetusAnnotation is used for internal annotations inserted by Cetus analysis and transformation. Parallelization passes usually insert this type of annotations.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
 
Fields inherited from class cetus.hir.Annotation
AFTER, BEFORE, ir, position, skip_print, WITH
 
Constructor Summary
CetusAnnotation()
          Constructs an empty cetus annotation.
CetusAnnotation(java.lang.String key, java.lang.Object value)
          Constructs a cetus annotation with the given key-value pair.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of this cetus annotation.
 
Methods inherited from class cetus.hir.PragmaAnnotation
containsKeys, getName
 
Methods inherited from class cetus.hir.Annotation
attach, clone, get, getAnnotatable, setPosition, setSkipPrint, toString
 
Methods inherited from class java.util.HashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CetusAnnotation

public CetusAnnotation()
Constructs an empty cetus annotation.


CetusAnnotation

public CetusAnnotation(java.lang.String key,
                       java.lang.Object value)
Constructs a cetus annotation with the given key-value pair.

Method Detail

toString

public java.lang.String toString()
Returns a string representation of this cetus annotation.

Overrides:
toString in class PragmaAnnotation
Returns:
a string representation.