aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/HandlerLibrary.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-12-19 20:10:39 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-12-19 20:10:39 +0100
commitb25a644f50e10540b7cb69189430d932a8750aec (patch)
tree386981e8c868e828e41f1ae384403778c7ddf6b9 /src/core/lombok/javac/HandlerLibrary.java
parent232d5edc355043a8616f869da670ac2c4376032e (diff)
parentae87a26456245f19d97f8852ea21556cd78e97ef (diff)
downloadlombok-b25a644f50e10540b7cb69189430d932a8750aec.tar.gz
lombok-b25a644f50e10540b7cb69189430d932a8750aec.tar.bz2
lombok-b25a644f50e10540b7cb69189430d932a8750aec.zip
Merge branch 'typeLibrary'
Diffstat (limited to 'src/core/lombok/javac/HandlerLibrary.java')
-rw-r--r--src/core/lombok/javac/HandlerLibrary.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/javac/HandlerLibrary.java b/src/core/lombok/javac/HandlerLibrary.java
index 17684a7e..cba318e2 100644
--- a/src/core/lombok/javac/HandlerLibrary.java
+++ b/src/core/lombok/javac/HandlerLibrary.java
@@ -171,9 +171,9 @@ public class HandlerLibrary {
* @param annotation 'node.get()' - convenience parameter.
*/
public void handleAnnotation(JCCompilationUnit unit, JavacNode node, JCAnnotation annotation) {
- TypeResolver resolver = new TypeResolver(typeLibrary, node.getPackageDeclaration(), node.getImportStatements());
+ TypeResolver resolver = new TypeResolver(node.getPackageDeclaration(), node.getImportStatements());
String rawType = annotation.annotationType.toString();
- for (String fqn : resolver.findTypeMatches(node, rawType)) {
+ for (String fqn : resolver.findTypeMatches(node, typeLibrary, rawType)) {
boolean isPrintAST = fqn.equals(PrintAST.class.getName());
if (isPrintAST && phase != 2) continue;
if (!isPrintAST && phase == 2) continue;