diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 00:07:05 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 00:07:05 +0200 |
commit | 65b9365b5419f69ac78ad895308024b4bac15fbd (patch) | |
tree | 5ceb1bd99cf2957e939cc1ae8946222828fa9915 /src/lombok/eclipse | |
parent | c7a45b294d1d8464b529f2513bbca37ade7afb92 (diff) | |
download | lombok-65b9365b5419f69ac78ad895308024b4bac15fbd.tar.gz lombok-65b9365b5419f69ac78ad895308024b4bac15fbd.tar.bz2 lombok-65b9365b5419f69ac78ad895308024b4bac15fbd.zip |
Pretty showstopping bug in here.
Diffstat (limited to 'src/lombok/eclipse')
-rw-r--r-- | src/lombok/eclipse/handlers/PKG.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lombok/eclipse/handlers/PKG.java b/src/lombok/eclipse/handlers/PKG.java index 87ccd736..8e58c83f 100644 --- a/src/lombok/eclipse/handlers/PKG.java +++ b/src/lombok/eclipse/handlers/PKG.java @@ -241,6 +241,7 @@ class PKG { static Annotation[] findAnnotations(FieldDeclaration field, Pattern namePattern) { List<Annotation> result = new ArrayList<Annotation>(); + if ( field.annotations == null ) return new Annotation[0]; for (Annotation annotation : field.annotations) { TypeReference typeRef = annotation.type; if ( typeRef != null && typeRef.getTypeName()!= null ) { |