Package org.eclipse.gmt.modisco.java
Interface BreakStatement
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Statement
- All Known Implementing Classes:
BreakStatementImpl
public interface BreakStatement extends Statement
A representation of the model object 'Break Statement'.
The following features are supported:
- See Also:
JavaPackage.getBreakStatement()
-
Method Summary
Modifier and Type Method Description LabeledStatementgetLabel()Returns the value of the 'Label' reference.voidsetLabel(LabeledStatement value)Sets the value of the 'Label' reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getLabel
LabeledStatement getLabel()Returns the value of the 'Label' reference. It is bidirectional and its opposite is 'Usages In Break Statements'.- Returns:
- the value of the 'Label' reference.
- See Also:
setLabel(LabeledStatement),JavaPackage.getBreakStatement_Label(),LabeledStatement.getUsagesInBreakStatements()
-
setLabel
Sets the value of the 'Label' reference.- Parameters:
value- the new value of the 'Label' reference.- See Also:
getLabel()
-