|
antlraux package v0.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents a Type that has a set of modifiers in the form of strings (like "public", "static", etc).
| Field Summary |
| Fields inherited from interface antlraux.context.types.Type |
DEFAULT_NAME, DEFAULT_TAG |
| Method Summary | |
void |
addModifier(java.lang.String modifierName)
Adds a new modifier to the modifiers set |
void |
clearModifiers()
Clears all modifiers |
boolean |
compareModifiers(ModifiedType other)
Returns true if other has the same modifiers than "this" |
boolean |
hasModifier(java.lang.String modifierName)
Returns true if the Type has the modifier "modifierName" |
java.util.Enumeration |
modifiers()
Returns the modifier list in form of Enumeration |
java.util.Set |
modifiersSet()
Returns the modifiers set |
| Methods inherited from interface antlraux.context.types.Type |
equals, getName, getTag, setName, setTag, toString |
| Method Detail |
public void addModifier(java.lang.String modifierName)
public boolean hasModifier(java.lang.String modifierName)
public void clearModifiers()
public java.util.Enumeration modifiers()
public java.util.Set modifiersSet()
public boolean compareModifiers(ModifiedType other)
|
antlraux package v0.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||