Fix NPE in annotation deserializer
This commit is contained in:
+2
-2
@@ -249,8 +249,8 @@ public class AnnotationDescriptorDeserializer implements AnnotationDeserializer
|
|||||||
return Annotations.EMPTY;
|
return Annotations.EMPTY;
|
||||||
}
|
}
|
||||||
|
|
||||||
Annotations annotations = new AnnotationsImpl(memberAnnotations.invoke(kotlinClass).get(signature));
|
List<AnnotationDescriptor> annotations = memberAnnotations.invoke(kotlinClass).get(signature);
|
||||||
return annotations == null ? Annotations.EMPTY : annotations;
|
return annotations == null ? Annotations.EMPTY : new AnnotationsImpl(annotations);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
Reference in New Issue
Block a user