aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/JavacHandlerUtil.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2013-03-26 02:42:14 +0100
committerRoel Spilker <r.spilker@gmail.com>2013-03-26 02:42:14 +0100
commit9630fc96e8382d68505a4cb8ab2ae08aec48e776 (patch)
tree10a6e50e5d6001cb2dfa6abbf04be870e665f3ff /src/core/lombok/javac/handlers/JavacHandlerUtil.java
parent7a50b9a6345de2826a6fc314c8d31e9bfd3fca32 (diff)
downloadlombok-9630fc96e8382d68505a4cb8ab2ae08aec48e776.tar.gz
lombok-9630fc96e8382d68505a4cb8ab2ae08aec48e776.tar.bz2
lombok-9630fc96e8382d68505a4cb8ab2ae08aec48e776.zip
Massive performance improvements, and a few potentially breaking changes for other lombok plugin developers.
Diffstat (limited to 'src/core/lombok/javac/handlers/JavacHandlerUtil.java')
-rw-r--r--src/core/lombok/javac/handlers/JavacHandlerUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java
index e79dd5dc..ef1a9f50 100644
--- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java
+++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java
@@ -185,7 +185,7 @@ public class JavacHandlerUtil {
public static boolean typeMatches(Class<?> type, JavacNode node, JCTree typeNode) {
String typeName = typeNode.toString();
- TypeResolver resolver = new TypeResolver(node.getPackageDeclaration(), node.getImportStatements());
+ TypeResolver resolver = new TypeResolver(node.getImportList());
return resolver.typeMatches(node, type.getName(), typeName);
}