code: private static boolean isObjectLiteralThatCanBeSkipped(JSType t) {
      t = t.restrictByNotNullOrUndefined();
      return t.isRecordType() || t.isLiteralObject();
    }
docs: we don't need to store these properties in the propertyIndex separately.