diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-12-19 20:10:39 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-12-19 20:10:39 +0100 |
commit | b25a644f50e10540b7cb69189430d932a8750aec (patch) | |
tree | 386981e8c868e828e41f1ae384403778c7ddf6b9 /src/eclipseAgent | |
parent | 232d5edc355043a8616f869da670ac2c4376032e (diff) | |
parent | ae87a26456245f19d97f8852ea21556cd78e97ef (diff) | |
download | lombok-b25a644f50e10540b7cb69189430d932a8750aec.tar.gz lombok-b25a644f50e10540b7cb69189430d932a8750aec.tar.bz2 lombok-b25a644f50e10540b7cb69189430d932a8750aec.zip |
Merge branch 'typeLibrary'
Diffstat (limited to 'src/eclipseAgent')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java index cc72c206..e027b09d 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchDelegate.java @@ -108,6 +108,7 @@ public class PatchDelegate { for (Annotation ann : field.annotations) { if (ann.type == null) continue; TypeBinding tb = ann.type.resolveType(decl.initializerScope); + if (tb == null) continue; if (!charArrayEquals("lombok", tb.qualifiedPackageName())) continue; if (!charArrayEquals("Delegate", tb.qualifiedSourceName())) continue; return true; |