Class MethodDecl

All Implemented Interfaces:
Serializable

public class MethodDecl extends ASTList
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • isConstructor

      public boolean isConstructor()
    • getModifiers

      public ASTList getModifiers()
    • getReturn

      public Declarator getReturn()
    • getParams

      public ASTList getParams()
    • getThrows

      public ASTList getThrows()
    • getBody

      public Stmnt getBody()
    • accept

      public void accept(Visitor v) throws javassist.compiler.CompileError
      Description copied from class: ASTree
      Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
      Overrides:
      accept in class ASTList
      Throws:
      javassist.compiler.CompileError