org.eclipse.gmt.modisco.java
Interface VariableDeclarationStatement

All Superinterfaces:
AbstractVariablesContainer, ASTNode, Statement

public interface VariableDeclarationStatement
extends Statement, AbstractVariablesContainer

A representation of the model object 'Variable Declaration Statement'.

The following features are supported:

See Also:
JavaPackage.getVariableDeclarationStatement()
Generated:
Model:

Method Summary
  getAnnotations()
          Returns the value of the 'Annotations' containment reference list.
 int getExtraArrayDimensions()
          Returns the value of the 'Extra Array Dimensions' attribute.
 Modifier getModifier()
          Returns the value of the 'Modifier' containment reference.
 void setExtraArrayDimensions(int value)
          Sets the value of the 'Extra Array Dimensions' attribute.
 void setModifier(Modifier value)
          Sets the value of the 'Modifier' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 
Methods inherited from interface org.eclipse.gmt.modisco.java.AbstractVariablesContainer
getFragments, getType, setType
 
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.getVariableDeclarationStatement_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:

getModifier

Modifier getModifier()
Returns the value of the 'Modifier' containment reference. It is bidirectional and its opposite is 'Variable Declaration Statement'.

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

Returns:
the value of the 'Modifier' containment reference.
See Also:
setModifier(Modifier), JavaPackage.getVariableDeclarationStatement_Modifier(), Modifier.getVariableDeclarationStatement()
Generated:
Model:
opposite="variableDeclarationStatement" containment="true" ordered="false"

setModifier

void setModifier(Modifier value)
Sets the value of the 'Modifier' containment reference.

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

getAnnotations

 getAnnotations()
Returns the value of the 'Annotations' containment reference list. The list contents are of type Annotation.

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

Returns:
the value of the 'Annotations' containment reference list.
See Also:
JavaPackage.getVariableDeclarationStatement_Annotations()
Generated:
Model:
containment="true"