aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-03-19 23:16:33 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-03-19 23:16:33 +0100
commitb4fe2d4e25e164f6063df48891c3a941fabed2e9 (patch)
tree4c76ea5f99ab4dd3b9f8395383aa3116fe2b90c9
parent6ca2a91d6bb7054328a845771af0a4e618002f14 (diff)
downloadlombok-b4fe2d4e25e164f6063df48891c3a941fabed2e9.tar.gz
lombok-b4fe2d4e25e164f6063df48891c3a941fabed2e9.tar.bz2
lombok-b4fe2d4e25e164f6063df48891c3a941fabed2e9.zip
Allow matching on types from java.lang.*
-rw-r--r--src/core/lombok/core/TypeResolver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/core/TypeResolver.java b/src/core/lombok/core/TypeResolver.java
index e5c3fac8..27f0bfc1 100644
--- a/src/core/lombok/core/TypeResolver.java
+++ b/src/core/lombok/core/TypeResolver.java
@@ -48,6 +48,7 @@ public class TypeResolver {
Set<String> imports = new HashSet<String>();
if (packageString != null) imports.add(packageString + ".*");
imports.addAll(importStrings == null ? Collections.<String>emptySet() : importStrings);
+ imports.add("java.lang.*");
return imports;
}