This commit is contained in:
BoykoAlex
2022-02-15 20:32:25 -05:00
parent 457423e005
commit ebdfbf27a8

View File

@@ -63,7 +63,9 @@ public abstract class AnnotationHierarchies {
public static Set<String> getTransitiveSuperAnnotations(FullyQualified type) {
Set<String> seen = new HashSet<>();
findTransitiveSupers(type, seen).collect(Collectors.toList());
if (type != null) {
findTransitiveSupers(type, seen).collect(Collectors.toList());
}
return seen;
}