public final class ObjectMethodDeclaration extends MethodDeclaration
typebody, paramsname| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
static ObjectMethodDeclaration |
construct(Identifier name,
TypeExpression type,
Parameter[] params,
Statement body)
Construction of an object method declaration
|
static ObjectMethodDeclaration |
construct(Identifier name,
TypeExpression type,
java.util.Vector<Parameter> params,
Statement body)
Construction of an object method declaration
|
acceptChildrengetBody, getParamsgetAnnotation, setAnnotationgetNamegetPosition, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamegetPosition, setPositiongetAnnotation, setAnnotationprint, printCore, toString, toStringCorepublic static ObjectMethodDeclaration construct(Identifier name, TypeExpression type, java.util.Vector<Parameter> params, Statement body)
name - the name of the methodtype - its return typeparams - the method parametersbody - the method bodypublic static ObjectMethodDeclaration construct(Identifier name, TypeExpression type, Parameter[] params, Statement body)
name - the name of the methodtype - its return typeparams - the method parametesbody - the method bodypublic void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class MethodDeclarationvisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class MethodDeclarationvisitor - the visitor who is accepted by this node.