diff options
Diffstat (limited to 'src/main/javassist/compiler/ast/MethodDecl.java')
-rw-r--r-- | src/main/javassist/compiler/ast/MethodDecl.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/javassist/compiler/ast/MethodDecl.java b/src/main/javassist/compiler/ast/MethodDecl.java index 0a7d828f..d96e3d4d 100644 --- a/src/main/javassist/compiler/ast/MethodDecl.java +++ b/src/main/javassist/compiler/ast/MethodDecl.java @@ -19,6 +19,8 @@ package javassist.compiler.ast; import javassist.compiler.CompileError; public class MethodDecl extends ASTList { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; public static final String initName = "<init>"; public MethodDecl(ASTree _head, ASTList _tail) { @@ -40,6 +42,7 @@ public class MethodDecl extends ASTList { public Stmnt getBody() { return (Stmnt)sublist(4).head(); } + @Override public void accept(Visitor v) throws CompileError { v.atMethodDecl(this); } |