code: private static String readObjectProperty(String ref, TypeDef source, Property property) {
          return ref + "." + getterOf(source, property).getName() + "()";
      }
docs: Returns the string representation of the code that reads an object property from a reference using a getter.
  @param ref           The reference.
  @param source        The type of the reference.
  @param property      The property to read.
  @return              The code.