cetus.hir
Class PragmaAnnotation
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
cetus.hir.Annotation
cetus.hir.PragmaAnnotation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
- Direct Known Subclasses:
- CetusAnnotation, OmpAnnotation
public class PragmaAnnotation
- extends Annotation
PragmaAnnotation is used for annotations of pragma type.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
|
Constructor Summary |
PragmaAnnotation()
Constructs an empty pragma annotation. |
PragmaAnnotation(java.lang.String pragma)
Constructs a simple pragma with raw string. |
|
Method Summary |
boolean |
containsKeys(java.util.Collection<java.lang.String> keys)
Checks if the specified keys all exist in the key set. |
java.lang.String |
getName()
Returns the name of this pragma annotation. |
java.lang.String |
toString()
Returns the string representation of this pragma annotation. |
| 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 |
PragmaAnnotation
public PragmaAnnotation()
- Constructs an empty pragma annotation.
PragmaAnnotation
public PragmaAnnotation(java.lang.String pragma)
- Constructs a simple pragma with raw string.
getName
public java.lang.String getName()
- Returns the name of this pragma annotation.
containsKeys
public boolean containsKeys(java.util.Collection<java.lang.String> keys)
- Checks if the specified keys all exist in the key set.
toString
public java.lang.String toString()
- Returns the string representation of this pragma annotation.
- Specified by:
toString in class Annotation
- Returns:
- the string.