public interface VariableDeclaration extends NamedElement
The following features are supported:
JavaPackage.getVariableDeclaration()| Modifier and Type | Method and Description |
|---|---|
int |
getExtraArrayDimensions()
Returns the value of the 'Extra Array Dimensions' attribute.
|
Expression |
getInitializer()
Returns the value of the 'Initializer' containment reference.
|
org.eclipse.emf.common.util.EList<SingleVariableAccess> |
getUsageInVariableAccess()
Returns the value of the 'Usage In Variable Access' reference list.
|
void |
setExtraArrayDimensions(int value)
Sets the value of the '
Extra Array Dimensions' attribute. |
void |
setInitializer(Expression value)
Sets the value of the '
Initializer' containment reference. |
getName, getUsagesInImports, isProxy, setName, setProxygetComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitint getExtraArrayDimensions()
setExtraArrayDimensions(int),
JavaPackage.getVariableDeclaration_ExtraArrayDimensions()void setExtraArrayDimensions(int value)
Extra Array Dimensions' attribute.
value - the new value of the 'Extra Array Dimensions' attribute.getExtraArrayDimensions()Expression getInitializer()
setInitializer(Expression),
JavaPackage.getVariableDeclaration_Initializer()void setInitializer(Expression value)
Initializer' containment reference.
value - the new value of the 'Initializer' containment reference.getInitializer()org.eclipse.emf.common.util.EList<SingleVariableAccess> getUsageInVariableAccess()
SingleVariableAccess.
It is bidirectional and its opposite is 'Variable'.
JavaPackage.getVariableDeclaration_UsageInVariableAccess(),
SingleVariableAccess.getVariable()Copyright © 2018–2020 Atlanmod. All rights reserved.