org.inxar.jenesis
Interface Statement
- All Superinterfaces:
- Codeable
- All Known Subinterfaces:
- Break, Case, ConditionalStatement, Continue, Default, DoWhile, Else, ElseIf, Empty, ExpressionStatement, For, If, Let, LocalBlock, LocalClass, Return, Switch, Synchronized, Throw, Try, While
- All Known Implementing Classes:
- MStatement
- public interface Statement
- extends Codeable
The Statement
superinterface. All statements can be
optionally labeled.
Method Summary |
Comment |
comment(java.lang.String text)
Comments the statement. |
java.lang.String |
getLabel()
Gets the label for the statement. |
void |
setLabel(java.lang.String label)
Sets the label for the statement. |
comment
public Comment comment(java.lang.String text)
- Comments the statement.
setLabel
public void setLabel(java.lang.String label)
- Sets the label for the statement.
getLabel
public java.lang.String getLabel()
- Gets the label for the statement.