code: public final int getWriteIndex(String property) {
      MethodInfo method = propertyWriteMethods.get(property);
      return (null == method) ? -1 : method.index;
    }
docs: Return property write index,return -1 if not found.