private static Collection<PsiType> collectDelegateTypes(PsiAnnotation psiAnnotation, PsiType psiType) {
    Collection<PsiType> types = PsiAnnotationUtil.getAnnotationValues(psiAnnotation, TYPES_PARAMETER, PsiType.class, List.of());
    if (types.isEmpty()) {
      types = Collections.singletonList(psiType);
    }
    return types;
  }
private static Collection<PsiType> collectDelegateTypes(PsiAnnotation psiAnnotation, PsiType psiType)