public class MethodDecl extends ASTList
| Constructor and Description |
|---|
MethodDecl(ASTree _head,
ASTList _tail) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Is a method for the visitor pattern.
|
Stmnt |
getBody() |
ASTList |
getModifiers() |
ASTList |
getParams() |
Declarator |
getReturn() |
ASTList |
getThrows() |
boolean |
isConstructor() |
public static final String initName
public boolean isConstructor()
public ASTList getModifiers()
public Declarator getReturn()
public ASTList getParams()
public ASTList getThrows()
public Stmnt getBody()
public void accept(Visitor v) throws CompileError
ASTreeatXXX() on the given visitor, where
XXX is the class name of the node object.accept in class ASTListCompileErrorCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.