aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/FieldDecl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/compiler/ast/FieldDecl.java')
-rw-r--r--src/main/javassist/compiler/ast/FieldDecl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/javassist/compiler/ast/FieldDecl.java b/src/main/javassist/compiler/ast/FieldDecl.java
index f3fc30ce..e2a066e9 100644
--- a/src/main/javassist/compiler/ast/FieldDecl.java
+++ b/src/main/javassist/compiler/ast/FieldDecl.java
@@ -30,8 +30,9 @@ public class FieldDecl extends ASTList {
public Declarator getDeclarator() { return (Declarator)tail().head(); }
- public ASTree getInit() { return (ASTree)sublist(2).head(); }
+ public ASTree getInit() { return sublist(2).head(); }
+ @Override
public void accept(Visitor v) throws CompileError {
v.atFieldDecl(this);
}