public static class MethodDecl.Impl extends Positioned.Impl implements MethodDecl
MethodDecl.Impl, MethodDecl.Visitor<P,R>| Constructor and Description |
|---|
Impl() |
Impl(ClassDecl owner,
java.lang.String name,
java.util.List<ParameterDecl> parameters,
Type type,
SentenceList body) |
| Modifier and Type | Method and Description |
|---|---|
SentenceList |
getBody() |
java.lang.String |
getName() |
ClassDecl |
getOwner() |
java.util.List<ParameterDecl> |
getParameters() |
Type |
getType() |
void |
setBody(SentenceList body) |
void |
setName(java.lang.String name) |
void |
setOwner(ClassDecl owner) |
void |
setParameters(java.util.List<ParameterDecl> parameters) |
void |
setType(Type type) |
getPosition, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accept, accept, ofgetPosition, of, setPositionpublic Impl()
public Impl(ClassDecl owner, java.lang.String name, java.util.List<ParameterDecl> parameters, Type type, SentenceList body)
public ClassDecl getOwner()
getOwner in interface MethodDeclpublic void setOwner(ClassDecl owner)
setOwner in interface MethodDeclpublic java.lang.String getName()
getName in interface DeclgetName in interface MethodDeclpublic void setName(java.lang.String name)
setName in interface DeclsetName in interface MethodDeclpublic java.util.List<ParameterDecl> getParameters()
getParameters in interface MethodDeclpublic void setParameters(java.util.List<ParameterDecl> parameters)
setParameters in interface MethodDeclpublic Type getType()
getType in interface DeclgetType in interface MethodDeclpublic void setType(Type type)
setType in interface DeclsetType in interface MethodDeclpublic SentenceList getBody()
getBody in interface MethodDeclpublic void setBody(SentenceList body)
setBody in interface MethodDecl