org.eclipse.gmt.modisco.java
Interface VariableDeclaration

All Superinterfaces:
ASTNode, NamedElement
All Known Subinterfaces:
EnumConstantDeclaration, SingleVariableDeclaration, UnresolvedSingleVariableDeclaration, UnresolvedVariableDeclarationFragment, VariableDeclarationFragment

public interface VariableDeclaration
extends NamedElement

A representation of the model object 'Variable Declaration'.

The following features are supported:

See Also:
JavaPackage.getVariableDeclaration()
Generated:
Model:
abstract="true"

Method Summary
 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.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxy
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getExtraArrayDimensions

int getExtraArrayDimensions()
Returns the value of the 'Extra Array Dimensions' attribute.

If the meaning of the 'Extra Array Dimensions' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extra Array Dimensions' attribute.
See Also:
setExtraArrayDimensions(int), JavaPackage.getVariableDeclaration_ExtraArrayDimensions()
Generated:
Model:
unique="false" required="true" ordered="false"

setExtraArrayDimensions

void setExtraArrayDimensions(int value)
Sets the value of the 'Extra Array Dimensions' attribute.

Parameters:
value - the new value of the 'Extra Array Dimensions' attribute.
See Also:
getExtraArrayDimensions()
Generated:

getInitializer

Expression getInitializer()
Returns the value of the 'Initializer' containment reference.

If the meaning of the 'Initializer' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Initializer' containment reference.
See Also:
setInitializer(Expression), JavaPackage.getVariableDeclaration_Initializer()
Generated:
Model:
containment="true" ordered="false"

setInitializer

void setInitializer(Expression value)
Sets the value of the 'Initializer' containment reference.

Parameters:
value - the new value of the 'Initializer' containment reference.
See Also:
getInitializer()
Generated:

getUsageInVariableAccess

 getUsageInVariableAccess()
Returns the value of the 'Usage In Variable Access' reference list. The list contents are of type 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...

Returns:
the value of the 'Usage In Variable Access' reference list.
See Also:
JavaPackage.getVariableDeclaration_UsageInVariableAccess(), SingleVariableAccess.getVariable()
Generated:
Model:
opposite="variable" ordered="false"