public static @NotNull Set<String> getUsedAttributeNames(@NotNull PsiAnnotationParameterList parameterList) {
    return Arrays.stream(parameterList.getAttributes())
              .map(PsiNameValuePair::getName)
              .filter(Objects::nonNull)
              .collect(Collectors.toSet());
  }
public static @NotNull Set<String> getUsedAttributeNames(@NotNull PsiAnnotationParameterList parameterList)