private static String functionToProperty(@NotNull String name) {
    String functionOrProp = StringUtil.getPropertyName(name);
    if (functionOrProp == null) {
      functionOrProp = name;
    }
    return functionOrProp;
  }
private static String functionToProperty(@NotNull String name)