|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingleVariableDeclaration
A representation of the model object 'Single Variable Declaration'.
The following features are supported:
JavaPackage.getSingleVariableDeclaration()
Method Summary | |
---|---|
|
getAnnotations()
Returns the value of the 'Annotations' containment reference list. |
CatchClause |
getCatchClause()
Returns the value of the 'Catch Clause' container reference. |
EnhancedForStatement |
getEnhancedForStatement()
Returns the value of the 'Enhanced For Statement' container reference. |
AbstractMethodDeclaration |
getMethodDeclaration()
Returns the value of the 'Method Declaration' container reference. |
Modifier |
getModifier()
Returns the value of the 'Modifier' containment reference. |
TypeAccess |
getType()
Returns the value of the 'Type' containment reference. |
boolean |
isVarargs()
Returns the value of the 'Varargs' attribute. |
void |
setCatchClause(CatchClause value)
Sets the value of the ' Catch Clause ' container reference. |
void |
setEnhancedForStatement(EnhancedForStatement value)
Sets the value of the ' Enhanced For Statement ' container reference. |
void |
setMethodDeclaration(AbstractMethodDeclaration value)
Sets the value of the ' Method Declaration ' container reference. |
void |
setModifier(Modifier value)
Sets the value of the ' Modifier ' containment reference. |
void |
setType(TypeAccess value)
Sets the value of the ' Type ' containment reference. |
void |
setVarargs(boolean value)
Sets the value of the ' Varargs ' attribute. |
Methods inherited from interface org.eclipse.gmt.modisco.java.VariableDeclaration |
---|
getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializer |
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 |
---|
Modifier getModifier()
Single Variable Declaration
'.
If the meaning of the 'Modifier' containment reference isn't clear, there really should be more of a description here...
setModifier(Modifier)
,
JavaPackage.getSingleVariableDeclaration_Modifier()
,
Modifier.getSingleVariableDeclaration()
void setModifier(Modifier value)
Modifier
' containment reference.
value
- the new value of the 'Modifier' containment reference.getModifier()
boolean isVarargs()
If the meaning of the 'Varargs' attribute isn't clear, there really should be more of a description here...
setVarargs(boolean)
,
JavaPackage.getSingleVariableDeclaration_Varargs()
void setVarargs(boolean value)
Varargs
' attribute.
value
- the new value of the 'Varargs' attribute.isVarargs()
TypeAccess getType()
If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...
setType(TypeAccess)
,
JavaPackage.getSingleVariableDeclaration_Type()
void setType(TypeAccess value)
Type
' containment reference.
value
- the new value of the 'Type' containment reference.getType()
getAnnotations()
Annotation
.
If the meaning of the 'Annotations' containment reference list isn't clear, there really should be more of a description here...
JavaPackage.getSingleVariableDeclaration_Annotations()
AbstractMethodDeclaration getMethodDeclaration()
Parameters
'.
If the meaning of the 'Method Declaration' container reference isn't clear, there really should be more of a description here...
setMethodDeclaration(AbstractMethodDeclaration)
,
JavaPackage.getSingleVariableDeclaration_MethodDeclaration()
,
AbstractMethodDeclaration.getParameters()
void setMethodDeclaration(AbstractMethodDeclaration value)
Method Declaration
' container reference.
value
- the new value of the 'Method Declaration' container reference.getMethodDeclaration()
CatchClause getCatchClause()
Exception
'.
If the meaning of the 'Catch Clause' container reference isn't clear, there really should be more of a description here...
setCatchClause(CatchClause)
,
JavaPackage.getSingleVariableDeclaration_CatchClause()
,
CatchClause.getException()
void setCatchClause(CatchClause value)
Catch Clause
' container reference.
value
- the new value of the 'Catch Clause' container reference.getCatchClause()
EnhancedForStatement getEnhancedForStatement()
Parameter
'.
If the meaning of the 'Enhanced For Statement' container reference isn't clear, there really should be more of a description here...
setEnhancedForStatement(EnhancedForStatement)
,
JavaPackage.getSingleVariableDeclaration_EnhancedForStatement()
,
EnhancedForStatement.getParameter()
void setEnhancedForStatement(EnhancedForStatement value)
Enhanced For Statement
' container reference.
value
- the new value of the 'Enhanced For Statement' container reference.getEnhancedForStatement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |