Package org.eclipse.gmt.modisco.java
Interface LabeledStatement
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier,Statement
- All Known Subinterfaces:
UnresolvedLabeledStatement
- All Known Implementing Classes:
LabeledStatementImpl,UnresolvedLabeledStatementImpl
public interface LabeledStatement extends NamedElement, Statement
A representation of the model object 'Labeled Statement'.
The following features are supported:
- See Also:
JavaPackage.getLabeledStatement()
-
Method Summary
Modifier and Type Method Description StatementgetBody()Returns the value of the 'Body' containment reference.org.eclipse.emf.common.util.EList<BreakStatement>getUsagesInBreakStatements()Returns the value of the 'Usages In Break Statements' reference list.org.eclipse.emf.common.util.EList<ContinueStatement>getUsagesInContinueStatements()Returns the value of the 'Usages In Continue Statements' reference list.voidsetBody(Statement value)Sets the value of the 'Body' containment 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.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getBody
Statement getBody()Returns the value of the 'Body' containment reference.- Returns:
- the value of the 'Body' containment reference.
- See Also:
setBody(Statement),JavaPackage.getLabeledStatement_Body()
-
setBody
Sets the value of the 'Body' containment reference.- Parameters:
value- the new value of the 'Body' containment reference.- See Also:
getBody()
-
getUsagesInBreakStatements
org.eclipse.emf.common.util.EList<BreakStatement> getUsagesInBreakStatements()Returns the value of the 'Usages In Break Statements' reference list. The list contents are of typeBreakStatement. It is bidirectional and its opposite is 'Label'.- Returns:
- the value of the 'Usages In Break Statements' reference list.
- See Also:
JavaPackage.getLabeledStatement_UsagesInBreakStatements(),BreakStatement.getLabel()
-
getUsagesInContinueStatements
org.eclipse.emf.common.util.EList<ContinueStatement> getUsagesInContinueStatements()Returns the value of the 'Usages In Continue Statements' reference list. The list contents are of typeContinueStatement. It is bidirectional and its opposite is 'Label'.- Returns:
- the value of the 'Usages In Continue Statements' reference list.
- See Also:
JavaPackage.getLabeledStatement_UsagesInContinueStatements(),ContinueStatement.getLabel()
-