Package org.eclipse.gmt.modisco.java
Interface VariableDeclarationFragment
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier,VariableDeclaration
- All Known Subinterfaces:
UnresolvedVariableDeclarationFragment
- All Known Implementing Classes:
UnresolvedVariableDeclarationFragmentImpl,VariableDeclarationFragmentImpl
public interface VariableDeclarationFragment extends VariableDeclaration
A representation of the model object 'Variable Declaration Fragment'.
The following features are supported:
-
Method Summary
Modifier and Type Method Description AbstractVariablesContainergetVariablesContainer()Returns the value of the 'Variables Container' container reference.voidsetVariablesContainer(AbstractVariablesContainer value)Sets the value of the 'Variables Container' container 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, eSetDeliverMethods inherited from interface org.eclipse.gmt.modisco.java.VariableDeclaration
getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializer
-
Method Details
-
getVariablesContainer
AbstractVariablesContainer getVariablesContainer()Returns the value of the 'Variables Container' container reference. It is bidirectional and its opposite is 'Fragments'.- Returns:
- the value of the 'Variables Container' container reference.
- See Also:
setVariablesContainer(AbstractVariablesContainer),JavaPackage.getVariableDeclarationFragment_VariablesContainer(),AbstractVariablesContainer.getFragments()
-
setVariablesContainer
Sets the value of the 'Variables Container' container reference.- Parameters:
value- the new value of the 'Variables Container' container reference.- See Also:
getVariablesContainer()
-