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/halo-sdk/src/test/java/com/mobgen/halo/android/sdk/core/management/models/HaloEventTest.java
test_class.identifier: HaloEventTest
test_class.superclass: extends HaloRobolectricTest
test_case.body: @Test
      public void thatCanSerializeObject() throws JSONException, HaloParsingException {
          HaloEvent event = givenAHaloEvent();
          String objectSerialized = HaloEvent.serialize(event, mHalo.framework().parser());
          JSONObject jsonObject = new JSONObject(objectSerialized);
          assertThat(jsonObject.get("coord")).isEqualTo("3,3");
      }
test_case.class_method_signature: HaloEventTest.thatCanSerializeObject()
test_case.full_signature: @Test public void thatCanSerializeObject()
test_case.identifier: thatCanSerializeObject
test_case.invocations: givenAHaloEvent 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: OPEN_APPLICATION = "1"
focal_class.modifier: public static final
focal_class.original_string: public static final String OPEN_APPLICATION = "1";
focal_class.type: String
focal_class.var_name: OPEN_APPLICATION
focal_class.declarator: REGISTER_DEVICE = "2"
focal_class.modifier: public static final
focal_class.original_string: public static final String REGISTER_DEVICE = "2";
focal_class.type: String
focal_class.var_name: REGISTER_DEVICE
focal_class.declarator: UPDATE_DEVICE = "3"
focal_class.modifier: public static final
focal_class.original_string: public static final String UPDATE_DEVICE = "3";
focal_class.type: String
focal_class.var_name: UPDATE_DEVICE
focal_class.declarator: REGISTER_LOCATION = "4"
focal_class.modifier: public static final
focal_class.original_string: public static final String REGISTER_LOCATION = "4";
focal_class.type: String
focal_class.var_name: REGISTER_LOCATION
focal_class.declarator: mType
focal_class.modifier: @JsonField(name = "type")
focal_class.original_string: @JsonField(name = "type")
      String mType;
focal_class.type: String
focal_class.var_name: mType
focal_class.declarator: mCoord
focal_class.modifier: @JsonField(name = "coord")
focal_class.original_string: @JsonField(name = "coord")
      String mCoord;
focal_class.type: String
focal_class.var_name: mCoord
focal_class.declarator: mExtra
focal_class.modifier: @JsonField(name = "extra", typeConverter = JSONObjectConverter.class)
focal_class.original_string: @JsonField(name = "extra", typeConverter = JSONObjectConverter.class)
      JSONObject mExtra;
focal_class.type: JSONObject
focal_class.var_name: mExtra
focal_class.declarator: mIp
focal_class.modifier: @JsonField(name = "ip")
focal_class.original_string: @JsonField(name = "ip")
      String mIp;
focal_class.type: String
focal_class.var_name: mIp
focal_class.declarator: mCategory
focal_class.modifier: @JsonField(name = "category")
focal_class.original_string: @JsonField(name = "category")
      String mCategory;
focal_class.type: String
focal_class.var_name: mCategory
focal_class.declarator: CREATOR = new Creator<HaloEvent>() {
          @Override
          public HaloEvent createFromParcel(Parcel in) {
              return new HaloEvent(in);
          }
  
          @Override
          public HaloEvent[] newArray(int size) {
              return new HaloEvent[size];
          }
      }
focal_class.modifier: public static final
focal_class.original_string: public static final Creator<HaloEvent> CREATOR = new Creator<HaloEvent>() {
          @Override
          public HaloEvent createFromParcel(Parcel in) {
              return new HaloEvent(in);
          }
  
          @Override
          public HaloEvent[] newArray(int size) {
              return new HaloEvent[size];
          }
      };
focal_class.type: Creator<HaloEvent>
focal_class.var_name: CREATOR
focal_class.file: sdk/halo-sdk/src/main/java/com/mobgen/halo/android/sdk/core/management/models/HaloEvent.java
focal_class.identifier: HaloEvent
focal_class.interfaces: implements Parcelable
focal_class.class_method_signature: HaloEvent.HaloEvent()
focal_class.full_signature: protected  HaloEvent()
focal_class.identifier: HaloEvent
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  HaloEvent()
focal_class.class_method_signature: HaloEvent.HaloEvent(@NonNull Builder builder)
focal_class.full_signature: private  HaloEvent(@NonNull Builder builder)
focal_class.identifier: HaloEvent
focal_class.modifiers: private
focal_class.parameters: (@NonNull Builder builder)
focal_class.signature:  HaloEvent(@NonNull Builder builder)
focal_class.class_method_signature: HaloEvent.getType()
focal_class.full_signature: @NonNull @Api(2.33) public String getType()
focal_class.identifier: getType
focal_class.modifiers: @NonNull @Api(2.33) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: HaloEvent.getCoord()
focal_class.full_signature: @NonNull @Api(2.33) public String getCoord()
focal_class.identifier: getCoord
focal_class.modifiers: @NonNull @Api(2.33) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCoord()
focal_class.class_method_signature: HaloEvent.getExtra()
focal_class.full_signature: @NonNull @Api(2.33) public JSONObject getExtra()
focal_class.identifier: getExtra
focal_class.modifiers: @NonNull @Api(2.33) public
focal_class.parameters: ()
focal_class.return: JSONObject
focal_class.signature: JSONObject getExtra()
focal_class.class_method_signature: HaloEvent.getIp()
focal_class.full_signature: @NonNull @Api(2.33) public String getIp()
focal_class.identifier: getIp
focal_class.modifiers: @NonNull @Api(2.33) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIp()
focal_class.class_method_signature: HaloEvent.getCategory()
focal_class.full_signature: @NonNull @Api(2.33) public String getCategory()
focal_class.identifier: getCategory
focal_class.modifiers: @NonNull @Api(2.33) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCategory()
focal_class.class_method_signature: HaloEvent.HaloEvent(Parcel in)
focal_class.full_signature: protected  HaloEvent(Parcel in)
focal_class.identifier: HaloEvent
focal_class.modifiers: protected
focal_class.parameters: (Parcel in)
focal_class.signature:  HaloEvent(Parcel in)
focal_class.class_method_signature: HaloEvent.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: HaloEvent.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: HaloEvent.builder()
focal_class.full_signature: @NonNull @Api(2.33) public static Builder builder()
focal_class.identifier: builder
focal_class.modifiers: @NonNull @Api(2.33) public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder builder()
focal_class.class_method_signature: HaloEvent.serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_class.full_signature: public static String serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_class.identifier: serialize
focal_class.modifiers: public static
focal_class.parameters: (@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_class.return: String
focal_class.signature: String serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_method.body: public static String serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser) throws HaloParsingException {
          AssertionUtils.notNull(haloEvent, "haloEvent");
          AssertionUtils.notNull(parser, "parser");
          try {
              return ((Parser<HaloEvent, String>) parser.serialize(HaloEvent.class)).convert(haloEvent);
          } catch (IOException e) {
              throw new HaloParsingException("Error while serializing the haloEvent", e);
          }
      }
focal_method.class_method_signature: HaloEvent.serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_method.full_signature: public static String serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_method.identifier: serialize
focal_method.invocations: notNull notNull convert serialize
focal_method.modifiers: public static
focal_method.parameters: (@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)
focal_method.return: String
focal_method.signature: String serialize(@NonNull HaloEvent haloEvent, @NonNull Parser.Factory parser)