public interface Statement extends Codeable
Statement
superinterface. All statements can be optionally
labeled.Modifier and Type | Method and Description |
---|---|
Comment |
comment(String text)
Comments the statement.
|
String |
getLabel()
Gets the label for the statement.
|
boolean |
isAbruptCompletionStatement()
Returns
true if the Statement is a statement that
completes abruptly (as defined in The Java language specification, 2nd
Edition,Chapter 14.1 - see Normal and Abrupt Completion of Statements). |
Statement |
setLabel(String label)
Sets the label for the statement.
|
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
String getLabel()
boolean isAbruptCompletionStatement()
true
if the Statement
is a statement that
completes abruptly (as defined in The Java language specification, 2nd
Edition,Chapter 14.1 - see Normal and Abrupt Completion of Statements).true
if the Statement
is a statement that
completes abruptlyCopyright © 2000–2018 jenesis4java. All rights reserved.