diff options
author | Philippe Charles <charphi@users.noreply.github.com> | 2018-08-22 09:54:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 09:54:00 +0200 |
commit | 3ffac6642456e2c7d32952c62df8a565e2d4728b (patch) | |
tree | b0a28ac208dcb8af9add494c4caffe4f11bb287b /src/core/lombok/javac/JavacNode.java | |
parent | 35c7c6bda2e71da2e6e06cec5b0fb012c348f694 (diff) | |
parent | 769185e123dfd4a073161eafb58ce50bb79d6201 (diff) | |
download | lombok-3ffac6642456e2c7d32952c62df8a565e2d4728b.tar.gz lombok-3ffac6642456e2c7d32952c62df8a565e2d4728b.tar.bz2 lombok-3ffac6642456e2c7d32952c62df8a565e2d4728b.zip |
Merge branch 'master' into master
Diffstat (limited to 'src/core/lombok/javac/JavacNode.java')
-rw-r--r-- | src/core/lombok/javac/JavacNode.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacNode.java b/src/core/lombok/javac/JavacNode.java index 2bce6e3a..3963c892 100644 --- a/src/core/lombok/javac/JavacNode.java +++ b/src/core/lombok/javac/JavacNode.java @@ -50,11 +50,18 @@ import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition; * Javac specific version of the LombokNode class. */ public class JavacNode extends lombok.core.LombokNode<JavacAST, JavacNode, JCTree> { + private JavacAST ast; /** * Passes through to the parent constructor. */ public JavacNode(JavacAST ast, JCTree node, List<JavacNode> children, Kind kind) { - super(ast, node, children, kind); + super(node, children, kind); + this.ast = ast; + } + + @Override + public JavacAST getAst() { + return ast; } public Element getElement() { |