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.
|
|
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()
If the meaning of the 'Extra Array Dimensions' attribute isn't clear, there really should be more of a description here...
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()
If the meaning of the 'Initializer' containment reference isn't clear, there really should be more of a description here...
setInitializer(Expression),
JavaPackage.getVariableDeclaration_Initializer()void setInitializer(Expression value)
Initializer' containment reference.
value - the new value of the 'Initializer' containment reference.getInitializer()getUsageInVariableAccess()
SingleVariableAccess.
It is bidirectional and its opposite is 'Variable'.
If the meaning of the 'Usage In Variable Access' reference list isn't clear, there really should be more of a description here...
JavaPackage.getVariableDeclaration_UsageInVariableAccess(),
SingleVariableAccess.getVariable()