@Override
  public @NotNull PsiSubstitutor putAll(@NotNull PsiClass parentClass, PsiType[] mappings){
    if(!parentClass.hasTypeParameters()) return this;
    return PsiSubstitutorFactory.getInstance().createSubstitutor(parentClass, mappings);
  }
@Override
  public @NotNull PsiSubstitutor putAll(@NotNull PsiClass parentClass, PsiType[] mappings)