diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-08-06 22:47:59 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-08-06 22:47:59 +0200 |
commit | 70317c73841d3e83b4b8008b68bea95753a5275f (patch) | |
tree | 1c66ab010930425aa673b3988aa4a5ad3ae1dd13 /src/utils/lombok | |
parent | d1b0242dc5e38cddd0e1ecc2a089c13e744d75d4 (diff) | |
download | lombok-70317c73841d3e83b4b8008b68bea95753a5275f.tar.gz lombok-70317c73841d3e83b4b8008b68bea95753a5275f.tar.bz2 lombok-70317c73841d3e83b4b8008b68bea95753a5275f.zip |
Added @Value and @FieldDefaults implementations for javac and ecj, the annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet.
Diffstat (limited to 'src/utils/lombok')
-rw-r--r-- | src/utils/lombok/eclipse/Eclipse.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/lombok/eclipse/Eclipse.java b/src/utils/lombok/eclipse/Eclipse.java index c1bd95c3..301925d1 100644 --- a/src/utils/lombok/eclipse/Eclipse.java +++ b/src/utils/lombok/eclipse/Eclipse.java @@ -122,7 +122,7 @@ public class Eclipse { if (field.annotations == null) return EMPTY_ANNOTATIONS_ARRAY; for (Annotation annotation : field.annotations) { TypeReference typeRef = annotation.type; - if (typeRef != null && typeRef.getTypeName()!= null) { + if (typeRef != null && typeRef.getTypeName() != null) { char[][] typeName = typeRef.getTypeName(); String suspect = new String(typeName[typeName.length - 1]); if (namePattern.matcher(suspect).matches()) { |