test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.TYPE, SubjectCreated.TYPE)
              .set(Event.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .set(PolicyEvent.JsonFields.POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(SubjectCreated.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(SubjectCreated.JSON_SUBJECT_ID, TestConstants.Policy.SUBJECT.getId().toString())
              .set(SubjectCreated.JSON_SUBJECT,
                      TestConstants.Policy.SUBJECT.toJson(FieldType.regularOrSpecial()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(Event.JsonFields.TIMESTAMP, TestConstants.TIMESTAMP.toString())
              .set(Event.JsonFields.TYPE, SubjectCreated.TYPE)
              .set(Event.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .set(PolicyEvent.JsonFields.POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(SubjectCreated.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(SubjectCreated.JSON_SUBJECT_ID, TestConstants.Policy.SUBJECT.getId().toString())
              .set(SubjectCreated.JSON_SUBJECT,
                      TestConstants.Policy.SUBJECT.toJson(FieldType.regularOrSpecial()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/events/policies/src/test/java/org/eclipse/ditto/signals/events/policies/SubjectCreatedTest.java
test_class.identifier: SubjectCreatedTest
test_case.body: @Test(expected = PolicyIdInvalidException.class)
      public void tryToCreateInstanceWithNullPolicyIdString() {
          SubjectCreated.of((String) null, TestConstants.Policy.LABEL, TestConstants.Policy.SUBJECT,
                  TestConstants.Policy.REVISION_NUMBER, TestConstants.EMPTY_DITTO_HEADERS);
      }
test_case.class_method_signature: SubjectCreatedTest.tryToCreateInstanceWithNullPolicyIdString()
test_case.full_signature: @Test(expected = PolicyIdInvalidException.class) public void tryToCreateInstanceWithNullPolicyIdString()
test_case.identifier: tryToCreateInstanceWithNullPolicyIdString
test_case.invocations: of
test_case.modifiers: @Test(expected = PolicyIdInvalidException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToCreateInstanceWithNullPolicyIdString()
focal_class.declarator: NAME = "subjectCreated"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "subjectCreated";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: TYPE = TYPE_PREFIX + NAME
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + NAME;
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: JSON_LABEL =
              JsonFactory.newStringFieldDefinition("label", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_LABEL =
              JsonFactory.newStringFieldDefinition("label", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_LABEL
focal_class.declarator: JSON_SUBJECT_ID =
              JsonFactory.newStringFieldDefinition("subjectId", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_SUBJECT_ID =
              JsonFactory.newStringFieldDefinition("subjectId", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_SUBJECT_ID
focal_class.declarator: JSON_SUBJECT =
              JsonFactory.newJsonObjectFieldDefinition("subject", FieldType.REGULAR, JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<JsonObject> JSON_SUBJECT =
              JsonFactory.newJsonObjectFieldDefinition("subject", FieldType.REGULAR, JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<JsonObject>
focal_class.var_name: JSON_SUBJECT
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final Label label;
focal_class.type: Label
focal_class.var_name: label
focal_class.declarator: subject
focal_class.modifier: private final
focal_class.original_string: private final Subject subject;
focal_class.type: Subject
focal_class.var_name: subject
focal_class.file: signals/events/policies/src/main/java/org/eclipse/ditto/signals/events/policies/SubjectCreated.java
focal_class.identifier: SubjectCreated
focal_class.interfaces: implements PolicyEvent<SubjectCreated>
focal_class.class_method_signature: SubjectCreated.SubjectCreated(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  SubjectCreated(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: SubjectCreated
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.signature:  SubjectCreated(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SubjectCreated of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SubjectCreated of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated of(final PolicyId policyId,
              final Label label,
              final Subject subject,
              final long revision,
              @Nullable final Instant timestamp,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SubjectCreated fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString, final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static SubjectCreated fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.getLabel()
focal_class.full_signature: public Label getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Label
focal_class.signature: Label getLabel()
focal_class.class_method_signature: SubjectCreated.getSubject()
focal_class.full_signature: public Subject getSubject()
focal_class.identifier: getSubject
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Subject
focal_class.signature: Subject getSubject()
focal_class.class_method_signature: SubjectCreated.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: Optional<JsonValue>
focal_class.signature: Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: SubjectCreated.getResourcePath()
focal_class.full_signature: @Override public JsonPointer getResourcePath()
focal_class.identifier: getResourcePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonPointer
focal_class.signature: JsonPointer getResourcePath()
focal_class.class_method_signature: SubjectCreated.setRevision(final long revision)
focal_class.full_signature: @Override public SubjectCreated setRevision(final long revision)
focal_class.identifier: setRevision
focal_class.modifiers: @Override public
focal_class.parameters: (final long revision)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated setRevision(final long revision)
focal_class.class_method_signature: SubjectCreated.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public SubjectCreated setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: SubjectCreated
focal_class.signature: SubjectCreated setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: SubjectCreated.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: SubjectCreated.hashCode()
focal_class.full_signature: @SuppressWarnings("squid:S109") @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @SuppressWarnings("squid:S109") @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: SubjectCreated.equals(@Nullable final Object o)
focal_class.full_signature: @SuppressWarnings("squid:MethodCyclomaticComplexity") @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings("squid:MethodCyclomaticComplexity") @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: SubjectCreated.canEqual(@Nullable final Object other)
focal_class.full_signature: @Override protected boolean canEqual(@Nullable final Object other)
focal_class.identifier: canEqual
focal_class.modifiers: @Override protected
focal_class.parameters: (@Nullable final Object other)
focal_class.return: boolean
focal_class.signature: boolean canEqual(@Nullable final Object other)
focal_class.class_method_signature: SubjectCreated.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.superclass: extends AbstractPolicyEvent<SubjectCreated>
focal_method.body: @Deprecated
      public static SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders) {
  
          return of(PolicyId.of(policyId), label, subject, revision, dittoHeaders);
      }
focal_method.class_method_signature: SubjectCreated.of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: of of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)
focal_method.return: SubjectCreated
focal_method.signature: SubjectCreated of(final String policyId,
              final Label label,
              final Subject subject,
              final long revision,
              final DittoHeaders dittoHeaders)