private static PsiType @NotNull [] getParameterTypes(PsiMethod method) {
    final PsiParameter[] parameters = method.getParameterList().getParameters();
    final PsiType[] paramTypes = PsiType.createArray(parameters.length);
    for (int i = 0; i < paramTypes.length; i++) {
      paramTypes[i] = parameters[i].getType();
    }
    return paramTypes;
  }
private static PsiType @NotNull [] getParameterTypes(PsiMethod method)