public interface SingleVariableDeclaration extends VariableDeclaration
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<Annotation> |
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. |
getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializergetName, getUsagesInImports, isProxy, setName, setProxygetComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUniteInternalContainer, from, id, id, iterator, resource, resourceeBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegmenteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverforEach, spliteratorModifier getModifier()
Single Variable Declaration'.
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()
setVarargs(boolean),
JavaPackage.getSingleVariableDeclaration_Varargs()void setVarargs(boolean value)
Varargs' attribute.
value - the new value of the 'Varargs' attribute.isVarargs()TypeAccess getType()
setType(TypeAccess),
JavaPackage.getSingleVariableDeclaration_Type()void setType(TypeAccess value)
Type' containment reference.
value - the new value of the 'Type' containment reference.getType()org.eclipse.emf.common.util.EList<Annotation> getAnnotations()
Annotation.
JavaPackage.getSingleVariableDeclaration_Annotations()AbstractMethodDeclaration getMethodDeclaration()
Parameters'.
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'.
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'.
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()Copyright © 2018–2020 Atlanmod. All rights reserved.