public interface MethodDeclaration extends AbstractMethodDeclaration
The following features are supported:
JavaPackage.getMethodDeclaration()| Modifier and Type | Method and Description |
|---|---|
int |
getExtraArrayDimensions()
Returns the value of the 'Extra Array Dimensions' attribute.
|
MethodDeclaration |
getRedefinedMethodDeclaration()
Returns the value of the 'Redefined Method Declaration' reference.
|
|
getRedefinitions()
Returns the value of the 'Redefinitions' reference list.
|
TypeAccess |
getReturnType()
Returns the value of the 'Return Type' containment reference.
|
void |
setExtraArrayDimensions(int value)
Sets the value of the '
Extra Array Dimensions' attribute. |
void |
setRedefinedMethodDeclaration(MethodDeclaration value)
Sets the value of the '
Redefined Method Declaration' reference. |
void |
setReturnType(TypeAccess value)
Sets the value of the '
Return Type' containment reference. |
getBody, getParameters, getThrownExceptions, getTypeParameters, getUsages, getUsagesInDocComments, setBodygetAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifiergetName, 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.getMethodDeclaration_ExtraArrayDimensions()void setExtraArrayDimensions(int value)
Extra Array Dimensions' attribute.
value - the new value of the 'Extra Array Dimensions' attribute.getExtraArrayDimensions()TypeAccess getReturnType()
If the meaning of the 'Return Type' containment reference isn't clear, there really should be more of a description here...
setReturnType(TypeAccess),
JavaPackage.getMethodDeclaration_ReturnType()void setReturnType(TypeAccess value)
Return Type' containment reference.
value - the new value of the 'Return Type' containment reference.getReturnType()MethodDeclaration getRedefinedMethodDeclaration()
Redefinitions'.
If the meaning of the 'Redefined Method Declaration' reference isn't clear, there really should be more of a description here...
setRedefinedMethodDeclaration(MethodDeclaration),
JavaPackage.getMethodDeclaration_RedefinedMethodDeclaration(),
getRedefinitions()void setRedefinedMethodDeclaration(MethodDeclaration value)
Redefined Method Declaration' reference.
value - the new value of the 'Redefined Method Declaration' reference.getRedefinedMethodDeclaration()getRedefinitions()
MethodDeclaration.
It is bidirectional and its opposite is 'Redefined Method Declaration'.
If the meaning of the 'Redefinitions' reference list isn't clear, there really should be more of a description here...
JavaPackage.getMethodDeclaration_Redefinitions(),
getRedefinedMethodDeclaration()