test_class.declarator: mHalo
test_class.modifier: private static
test_class.original_string: private static Halo mHalo;
test_class.type: Halo
test_class.var_name: mHalo
test_class.file: sdk-libs/halo-content/src/test/java/com/mobgen/halo/android/content/models/HaloContentInstanceTest.java
test_class.identifier: HaloContentInstanceTest
test_class.superclass: extends HaloRobolectricTest
test_case.body: @Test
      public void thatCanSerializeObject() throws JSONException, HaloParsingException {
          Date now = new Date();
          JSONObject json = new JSONObject("{foo: 'bar'}");
          HaloContentInstance instance = new HaloContentInstance("fakeId", "fakeModuleName", "fakeModule", "fakeName", json,"fakeAuthor",now, now, now, now, now,new ArrayList<HaloSegmentationTag>());
          String objectSerialized = HaloContentInstance.serialize(instance, mHalo.framework().parser());
          JSONObject jsonObject = new JSONObject(objectSerialized);
          assertThat(jsonObject.get("id")).isEqualTo("fakeId");
      }
test_case.class_method_signature: HaloContentInstanceTest.thatCanSerializeObject()
test_case.full_signature: @Test public void thatCanSerializeObject()
test_case.identifier: thatCanSerializeObject
test_case.invocations: serialize parser framework isEqualTo assertThat get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void thatCanSerializeObject()
focal_class.declarator: mItemId
focal_class.modifier: @JsonField(name = "id")
      @Nullable
focal_class.original_string: @JsonField(name = "id")
      @Nullable
      String mItemId;
focal_class.type: String
focal_class.var_name: mItemId
focal_class.declarator: mModuleName
focal_class.modifier: @Nullable
focal_class.original_string: @Nullable
      String mModuleName;
focal_class.type: String
focal_class.var_name: mModuleName
focal_class.declarator: mModuleId
focal_class.modifier: @JsonField(name = "module")
      @Nullable
focal_class.original_string: @JsonField(name = "module")
      @Nullable
      String mModuleId;
focal_class.type: String
focal_class.var_name: mModuleId
focal_class.declarator: mName
focal_class.modifier: @JsonField(name = "name")
      @Nullable
focal_class.original_string: @JsonField(name = "name")
      @Nullable
      String mName;
focal_class.type: String
focal_class.var_name: mName
focal_class.declarator: mValues
focal_class.modifier: @JsonField(name = "values", typeConverter = JSONObjectConverter.class)
      @Nullable
focal_class.original_string: @JsonField(name = "values", typeConverter = JSONObjectConverter.class)
      @Nullable
      JSONObject mValues;
focal_class.type: JSONObject
focal_class.var_name: mValues
focal_class.declarator: mTags
focal_class.modifier: @JsonField(name = "tags")
      @Nullable
focal_class.original_string: @JsonField(name = "tags")
      @Nullable
      List<HaloSegmentationTag> mTags;
focal_class.type: List<HaloSegmentationTag>
focal_class.var_name: mTags
focal_class.declarator: mAuthor
focal_class.modifier: @JsonField(name = "createdBy")
      @Nullable
focal_class.original_string: @JsonField(name = "createdBy")
      @Nullable
      String mAuthor;
focal_class.type: String
focal_class.var_name: mAuthor
focal_class.declarator: mCreatedDate
focal_class.modifier: @JsonField(name = "createdAt")
      @Nullable
focal_class.original_string: @JsonField(name = "createdAt")
      @Nullable
      Date mCreatedDate;
focal_class.type: Date
focal_class.var_name: mCreatedDate
focal_class.declarator: mLastUpdate
focal_class.modifier: @JsonField(name = "updatedAt")
      @Nullable
focal_class.original_string: @JsonField(name = "updatedAt")
      @Nullable
      Date mLastUpdate;
focal_class.type: Date
focal_class.var_name: mLastUpdate
focal_class.declarator: mPublishedAt
focal_class.modifier: @JsonField(name = "publishedAt")
      @Nullable
focal_class.original_string: @JsonField(name = "publishedAt")
      @Nullable
      Date mPublishedAt;
focal_class.type: Date
focal_class.var_name: mPublishedAt
focal_class.declarator: mRemovedAt
focal_class.modifier: @JsonField(name = "removedAt")
      @Nullable
focal_class.original_string: @JsonField(name = "removedAt")
      @Nullable
      Date mRemovedAt;
focal_class.type: Date
focal_class.var_name: mRemovedAt
focal_class.declarator: mArchived
focal_class.modifier: @JsonField(name = "archivedAt")
      @Nullable
focal_class.original_string: @JsonField(name = "archivedAt")
      @Nullable
      Date mArchived;
focal_class.type: Date
focal_class.var_name: mArchived
focal_class.declarator: CREATOR = new Creator<HaloContentInstance>() {
          public HaloContentInstance createFromParcel(Parcel source) {
              return new HaloContentInstance(source);
          }
  
          public HaloContentInstance[] newArray(int size) {
              return new HaloContentInstance[size];
          }
      }
focal_class.modifier: public static final
focal_class.original_string: public static final Creator<HaloContentInstance> CREATOR = new Creator<HaloContentInstance>() {
          public HaloContentInstance createFromParcel(Parcel source) {
              return new HaloContentInstance(source);
          }
  
          public HaloContentInstance[] newArray(int size) {
              return new HaloContentInstance[size];
          }
      };
focal_class.type: Creator<HaloContentInstance>
focal_class.var_name: CREATOR
focal_class.file: sdk-libs/halo-content/src/main/java/com/mobgen/halo/android/content/models/HaloContentInstance.java
focal_class.identifier: HaloContentInstance
focal_class.interfaces: implements Parcelable
focal_class.class_method_signature: HaloContentInstance.HaloContentInstance()
focal_class.full_signature: public  HaloContentInstance()
focal_class.identifier: HaloContentInstance
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  HaloContentInstance()
focal_class.class_method_signature: HaloContentInstance.HaloContentInstance(@Nullable String itemId,@Nullable String moduleName,@Nullable String moduleId,
                                 @Nullable String name, @Nullable JSONObject values,
                                 @Nullable String author, @Nullable Date archivedDate,@Nullable Date createdDate,
                                 @Nullable Date updateDate, @Nullable Date publicationDate, @Nullable Date deletionDate,
                                 @Nullable List<HaloSegmentationTag> tags)
focal_class.full_signature: @Keep @Api(2.2) public  HaloContentInstance(@Nullable String itemId,@Nullable String moduleName,@Nullable String moduleId,
                                 @Nullable String name, @Nullable JSONObject values,
                                 @Nullable String author, @Nullable Date archivedDate,@Nullable Date createdDate,
                                 @Nullable Date updateDate, @Nullable Date publicationDate, @Nullable Date deletionDate,
                                 @Nullable List<HaloSegmentationTag> tags)
focal_class.identifier: HaloContentInstance
focal_class.modifiers: @Keep @Api(2.2) public
focal_class.parameters: (@Nullable String itemId,@Nullable String moduleName,@Nullable String moduleId,
                                 @Nullable String name, @Nullable JSONObject values,
                                 @Nullable String author, @Nullable Date archivedDate,@Nullable Date createdDate,
                                 @Nullable Date updateDate, @Nullable Date publicationDate, @Nullable Date deletionDate,
                                 @Nullable List<HaloSegmentationTag> tags)
focal_class.signature:  HaloContentInstance(@Nullable String itemId,@Nullable String moduleName,@Nullable String moduleId,
                                 @Nullable String name, @Nullable JSONObject values,
                                 @Nullable String author, @Nullable Date archivedDate,@Nullable Date createdDate,
                                 @Nullable Date updateDate, @Nullable Date publicationDate, @Nullable Date deletionDate,
                                 @Nullable List<HaloSegmentationTag> tags)
focal_class.class_method_signature: HaloContentInstance.HaloContentInstance(Parcel in)
focal_class.full_signature: protected  HaloContentInstance(Parcel in)
focal_class.identifier: HaloContentInstance
focal_class.modifiers: protected
focal_class.parameters: (Parcel in)
focal_class.signature:  HaloContentInstance(Parcel in)
focal_class.class_method_signature: HaloContentInstance.describeContents()
focal_class.full_signature: @Override public int describeContents()
focal_class.identifier: describeContents
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int describeContents()
focal_class.class_method_signature: HaloContentInstance.writeToParcel(Parcel dest, int flags)
focal_class.full_signature: @Override public void writeToParcel(Parcel dest, int flags)
focal_class.identifier: writeToParcel
focal_class.modifiers: @Override public
focal_class.parameters: (Parcel dest, int flags)
focal_class.return: void
focal_class.signature: void writeToParcel(Parcel dest, int flags)
focal_class.class_method_signature: HaloContentInstance.getModuleName()
focal_class.full_signature: @Keep @Api(2.2) @Nullable public String getModuleName()
focal_class.identifier: getModuleName
focal_class.modifiers: @Keep @Api(2.2) @Nullable public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getModuleName()
focal_class.class_method_signature: HaloContentInstance.getModuleId()
focal_class.full_signature: @Keep @Api(2.0) public String getModuleId()
focal_class.identifier: getModuleId
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getModuleId()
focal_class.class_method_signature: HaloContentInstance.getItemId()
focal_class.full_signature: @Keep @Api(2.0) public String getItemId()
focal_class.identifier: getItemId
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getItemId()
focal_class.class_method_signature: HaloContentInstance.getName()
focal_class.full_signature: @Keep @Api(2.0) public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: HaloContentInstance.getValues()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public JSONObject getValues()
focal_class.identifier: getValues
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: JSONObject
focal_class.signature: JSONObject getValues()
focal_class.class_method_signature: HaloContentInstance.getAuthor()
focal_class.full_signature: @Keep @Api(2.0) public String getAuthor()
focal_class.identifier: getAuthor
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAuthor()
focal_class.class_method_signature: HaloContentInstance.getTags()
focal_class.full_signature: @Keep @Api(2.2) public List<HaloSegmentationTag> getTags()
focal_class.identifier: getTags
focal_class.modifiers: @Keep @Api(2.2) public
focal_class.parameters: ()
focal_class.return: List<HaloSegmentationTag>
focal_class.signature: List<HaloSegmentationTag> getTags()
focal_class.class_method_signature: HaloContentInstance.getArchivedDate()
focal_class.full_signature: @Keep @Api(2.2) @Nullable public Date getArchivedDate()
focal_class.identifier: getArchivedDate
focal_class.modifiers: @Keep @Api(2.2) @Nullable public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getArchivedDate()
focal_class.class_method_signature: HaloContentInstance.getCreatedDate()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public Date getCreatedDate()
focal_class.identifier: getCreatedDate
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getCreatedDate()
focal_class.class_method_signature: HaloContentInstance.getLastUpdate()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public Date getLastUpdate()
focal_class.identifier: getLastUpdate
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getLastUpdate()
focal_class.class_method_signature: HaloContentInstance.getPublishedDate()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public Date getPublishedDate()
focal_class.identifier: getPublishedDate
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getPublishedDate()
focal_class.class_method_signature: HaloContentInstance.getRemoveDate()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public Date getRemoveDate()
focal_class.identifier: getRemoveDate
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getRemoveDate()
focal_class.class_method_signature: HaloContentInstance.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: HaloContentInstance.serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_class.full_signature: public static String serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_class.identifier: serialize
focal_class.modifiers: public static
focal_class.parameters: (@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_class.return: String
focal_class.signature: String serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_class.class_method_signature: HaloContentInstance.deserialize(@Nullable String haloContentInstance, @NonNull Parser.Factory parser)
focal_class.full_signature: @Nullable public static HaloContentInstance deserialize(@Nullable String haloContentInstance, @NonNull Parser.Factory parser)
focal_class.identifier: deserialize
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable String haloContentInstance, @NonNull Parser.Factory parser)
focal_class.return: HaloContentInstance
focal_class.signature: HaloContentInstance deserialize(@Nullable String haloContentInstance, @NonNull Parser.Factory parser)
focal_class.class_method_signature: HaloContentInstance.HaloContentInstance(@NonNull HaloContentInstance.Builder builder)
focal_class.full_signature: private  HaloContentInstance(@NonNull HaloContentInstance.Builder builder)
focal_class.identifier: HaloContentInstance
focal_class.modifiers: private
focal_class.parameters: (@NonNull HaloContentInstance.Builder builder)
focal_class.signature:  HaloContentInstance(@NonNull HaloContentInstance.Builder builder)
focal_method.body: public static String serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser) throws HaloParsingException {
          AssertionUtils.notNull(haloContentInstance, "haloContentInstance");
          AssertionUtils.notNull(parser, "parser");
          try {
              return ((Parser<HaloContentInstance, String>) parser.serialize(HaloContentInstance.class)).convert(haloContentInstance);
          } catch (IOException e) {
              throw new HaloParsingException("Error while serializing the HaloContentInstance", e);
          }
      }
focal_method.class_method_signature: HaloContentInstance.serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_method.full_signature: public static String serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_method.identifier: serialize
focal_method.invocations: notNull notNull convert serialize
focal_method.modifiers: public static
focal_method.parameters: (@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)
focal_method.return: String
focal_method.signature: String serialize(@NonNull HaloContentInstance haloContentInstance, @NonNull Parser.Factory parser)