Package org.fulib.scenarios.ast.decl
Class MethodDecl.Impl
- java.lang.Object
-
- org.fulib.scenarios.ast.Positioned.Impl
-
- org.fulib.scenarios.ast.decl.MethodDecl.Impl
-
- All Implemented Interfaces:
Decl
,MethodDecl
,Node
,Positioned
- Enclosing interface:
- MethodDecl
public static class MethodDecl.Impl extends Positioned.Impl implements MethodDecl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.decl.MethodDecl
MethodDecl.Impl, MethodDecl.Visitor<P,R>
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.Positioned
Positioned.Impl, Positioned.Visitor<P,R>
-
-
Constructor Summary
Constructors Constructor Description Impl()
Impl(ClassDecl owner, java.lang.String name, java.util.List<ParameterDecl> parameters, Type type, SentenceList body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.fulib.scenarios.ast.Positioned.Impl
getPosition, setPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fulib.scenarios.ast.decl.MethodDecl
accept, accept, accept, accept
-
Methods inherited from interface org.fulib.scenarios.ast.Positioned
getPosition, setPosition
-
-
-
-
Constructor Detail
-
Impl
public Impl()
-
Impl
public Impl(ClassDecl owner, java.lang.String name, java.util.List<ParameterDecl> parameters, Type type, SentenceList body)
-
-
Method Detail
-
getOwner
public ClassDecl getOwner()
- Specified by:
getOwner
in interfaceMethodDecl
-
setOwner
public void setOwner(ClassDecl owner)
- Specified by:
setOwner
in interfaceMethodDecl
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceDecl
- Specified by:
getName
in interfaceMethodDecl
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceDecl
- Specified by:
setName
in interfaceMethodDecl
-
getParameters
public java.util.List<ParameterDecl> getParameters()
- Specified by:
getParameters
in interfaceMethodDecl
-
setParameters
public void setParameters(java.util.List<ParameterDecl> parameters)
- Specified by:
setParameters
in interfaceMethodDecl
-
getType
public Type getType()
- Specified by:
getType
in interfaceDecl
- Specified by:
getType
in interfaceMethodDecl
-
setType
public void setType(Type type)
- Specified by:
setType
in interfaceDecl
- Specified by:
setType
in interfaceMethodDecl
-
getBody
public SentenceList getBody()
- Specified by:
getBody
in interfaceMethodDecl
-
setBody
public void setBody(SentenceList body)
- Specified by:
setBody
in interfaceMethodDecl
-
-