private static @Nullable PsiMethod findMethod(PsiClass stringClass, String aCase, String typeName) {
    return ContainerUtil.find(stringClass.findMethodsByName(aCase, false), m -> {
      PsiParameter[] parameters = m.getParameterList().getParameters();
      return parameters.length == 1 && TypeUtils.typeEquals(typeName, parameters[0].getType());
    });
  }
private static @Nullable PsiMethod findMethod(PsiClass stringClass, String aCase, String typeName)