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 SentenceListgetBody()java.lang.StringgetName()ClassDeclgetOwner()java.util.List<ParameterDecl>getParameters()TypegetType()voidsetBody(SentenceList body)voidsetName(java.lang.String name)voidsetOwner(ClassDecl owner)voidsetParameters(java.util.List<ParameterDecl> parameters)voidsetType(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:
getOwnerin interfaceMethodDecl
-
setOwner
public void setOwner(ClassDecl owner)
- Specified by:
setOwnerin interfaceMethodDecl
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceDecl- Specified by:
getNamein interfaceMethodDecl
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceDecl- Specified by:
setNamein interfaceMethodDecl
-
getParameters
public java.util.List<ParameterDecl> getParameters()
- Specified by:
getParametersin interfaceMethodDecl
-
setParameters
public void setParameters(java.util.List<ParameterDecl> parameters)
- Specified by:
setParametersin interfaceMethodDecl
-
getType
public Type getType()
- Specified by:
getTypein interfaceDecl- Specified by:
getTypein interfaceMethodDecl
-
setType
public void setType(Type type)
- Specified by:
setTypein interfaceDecl- Specified by:
setTypein interfaceMethodDecl
-
getBody
public SentenceList getBody()
- Specified by:
getBodyin interfaceMethodDecl
-
setBody
public void setBody(SentenceList body)
- Specified by:
setBodyin interfaceMethodDecl
-
-