mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
Pretty showstopping bug in here.
This commit is contained in:
1 parent
c7a45b294d
commit
65b9365b54
1 file changed
+1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user