public abstract class Modifier extends JavaProgramElement implements TerminalProgramElement
| Constructor and Description |
|---|
Modifier()
Modifier.
|
Modifier(ExtList children)
Modifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
getSymbol()
Get symbol.
|
java.lang.String |
getText()
Get symbol text.
|
void |
prettyPrint(PrettyPrinter p)
Pretty printing the source element.
|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
computeHashCode, equals, equalsModRenaming, getComments, hashCode, match, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPositionpublic Modifier()
public Modifier(ExtList children)
children - May contain: some Commentsprotected abstract java.lang.String getSymbol()
public java.lang.String getText()
public void visit(Visitor v)
visit in interface SourceElementv - the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.