Package javassist.compiler.ast
Class MethodDecl
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- javassist.compiler.ast.ASTList
-
- javassist.compiler.ast.MethodDecl
-
- All Implemented Interfaces:
Serializable
public class MethodDecl extends ASTList
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodDecl(ASTree _head, ASTList _tail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor v)Is a method for the visitor pattern.StmntgetBody()ASTListgetModifiers()ASTListgetParams()DeclaratorgetReturn()ASTListgetThrows()booleanisConstructor()
-
-
-
Field Detail
-
initName
public static final String initName
- See Also:
- Constant Field Values
-
-
Method Detail
-
isConstructor
public boolean isConstructor()
-
getModifiers
public ASTList getModifiers()
-
getReturn
public Declarator getReturn()
-
getParams
public ASTList getParams()
-
getThrows
public ASTList getThrows()
-
getBody
public Stmnt getBody()
-
-