public static @Nullable AllowedValues getAllowedValues(@NotNull PsiModifierListOwner element,
                                               @Nullable PsiType type,
                                               @Nullable PsiElement context) {
    return getAllowedValues(element, type, context, null);
  }
public static @Nullable AllowedValues getAllowedValues(@NotNull PsiModifierListOwner element,
                                               @Nullable PsiType type,
                                               @Nullable PsiElement context)