aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/JavacNode.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-22 23:02:08 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-22 23:02:08 +0100
commit8eb05b357d37b8e58cfb4ecb331371c88f1a856b (patch)
tree6576e7498333121091568bfaca600278977611df /src/core/lombok/javac/JavacNode.java
parent3a89cbe7e7610c649c45e3647d766fdb027f068d (diff)
parent7dede9a6647ded762701d70d6e71066557196fb5 (diff)
downloadlombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.tar.gz
lombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.tar.bz2
lombok-8eb05b357d37b8e58cfb4ecb331371c88f1a856b.zip
Merge branch 'master' of git@github.com:rzwitserloot/lombok
Diffstat (limited to 'src/core/lombok/javac/JavacNode.java')
-rw-r--r--src/core/lombok/javac/JavacNode.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/lombok/javac/JavacNode.java b/src/core/lombok/javac/JavacNode.java
index 8bbd007f..7dd49644 100644
--- a/src/core/lombok/javac/JavacNode.java
+++ b/src/core/lombok/javac/JavacNode.java
@@ -28,6 +28,7 @@ import javax.tools.Diagnostic;
import lombok.core.AST.Kind;
import com.sun.tools.javac.code.Symtab;
+import com.sun.tools.javac.model.JavacTypes;
import com.sun.tools.javac.tree.JCTree;
import com.sun.tools.javac.tree.TreeMaker;
import com.sun.tools.javac.tree.JCTree.JCAnnotation;
@@ -178,6 +179,15 @@ public class JavacNode extends lombok.core.LombokNode<JavacAST, JavacNode, JCTre
}
/**
+ * Convenient shortcut to the owning JavacAST object's getTypesUtil method.
+ *
+ * @see JavacAST#getTypesUtil()
+ */
+ public JavacTypes getTypesUtil() {
+ return ast.getTypesUtil();
+ }
+
+ /**
* Convenient shortcut to the owning JavacAST object's getContext method.
*
* @see JavacAST#getContext()