test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommand.JsonFields.TYPE, RetrieveSubject.TYPE)
              .set(PolicyCommand.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(RetrieveSubject.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(RetrieveSubject.JSON_SUBJECT_ID, TestConstants.Policy.SUBJECT_ID.toString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommand.JsonFields.TYPE, RetrieveSubject.TYPE)
              .set(PolicyCommand.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(RetrieveSubject.JSON_LABEL, TestConstants.Policy.LABEL.toString())
              .set(RetrieveSubject.JSON_SUBJECT_ID, TestConstants.Policy.SUBJECT_ID.toString())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: EMPTY_DITTO_HEADERS = DittoHeaders.empty()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders EMPTY_DITTO_HEADERS = DittoHeaders.empty();
test_class.type: DittoHeaders
test_class.var_name: EMPTY_DITTO_HEADERS
test_class.file: signals/commands/policies/src/test/java/org/eclipse/ditto/signals/commands/policies/query/RetrieveSubjectTest.java
test_class.identifier: RetrieveSubjectTest
test_case.body: @Test
      public void tryToCreateInstanceWithNullPolicyIdString() {
          assertThatExceptionOfType(PolicyIdInvalidException.class)
                  .isThrownBy(() -> RetrieveSubject.of((String) null, TestConstants.Policy.LABEL,
                          TestConstants.Policy.SUBJECT_ID, EMPTY_DITTO_HEADERS));
      }
test_case.class_method_signature: RetrieveSubjectTest.tryToCreateInstanceWithNullPolicyIdString()
test_case.full_signature: @Test public void tryToCreateInstanceWithNullPolicyIdString()
test_case.identifier: tryToCreateInstanceWithNullPolicyIdString
test_case.invocations: isThrownBy assertThatExceptionOfType of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToCreateInstanceWithNullPolicyIdString()
focal_class.declarator: NAME = "retrieveSubject"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "retrieveSubject";
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: policyId
focal_class.modifier: private final
focal_class.original_string: private final PolicyId policyId;
focal_class.type: PolicyId
focal_class.var_name: policyId
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: subjectId
focal_class.modifier: private final
focal_class.original_string: private final SubjectId subjectId;
focal_class.type: SubjectId
focal_class.var_name: subjectId
focal_class.file: signals/commands/policies/src/main/java/org/eclipse/ditto/signals/commands/policies/query/RetrieveSubject.java
focal_class.identifier: RetrieveSubject
focal_class.interfaces: implements PolicyQueryCommand<RetrieveSubject>
focal_class.class_method_signature: RetrieveSubject.RetrieveSubject(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  RetrieveSubject(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.identifier: RetrieveSubject
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.signature:  RetrieveSubject(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrieveSubject of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveSubject
focal_class.signature: RetrieveSubject of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.of(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveSubject of(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.return: RetrieveSubject
focal_class.signature: RetrieveSubject of(final PolicyId policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveSubject 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: RetrieveSubject
focal_class.signature: RetrieveSubject fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveSubject 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: RetrieveSubject
focal_class.signature: RetrieveSubject fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.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: RetrieveSubject.getSubjectId()
focal_class.full_signature: public SubjectId getSubjectId()
focal_class.identifier: getSubjectId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SubjectId
focal_class.signature: SubjectId getSubjectId()
focal_class.class_method_signature: RetrieveSubject.getEntityId()
focal_class.full_signature: @Override public PolicyId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PolicyId
focal_class.signature: PolicyId getEntityId()
focal_class.class_method_signature: RetrieveSubject.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: RetrieveSubject.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: RetrieveSubject.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveSubject setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveSubject
focal_class.signature: RetrieveSubject setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveSubject.equals(@Nullable final Object obj)
focal_class.full_signature: @SuppressWarnings({"squid:MethodCyclomaticComplexity", "squid:S1067", "OverlyComplexMethod"}) @Override public boolean equals(@Nullable final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings({"squid:MethodCyclomaticComplexity", "squid:S1067", "OverlyComplexMethod"}) @Override public
focal_class.parameters: (@Nullable final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object obj)
focal_class.class_method_signature: RetrieveSubject.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: RetrieveSubject.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: RetrieveSubject.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 AbstractCommand<RetrieveSubject>
focal_method.body: @Deprecated
      public static RetrieveSubject of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders) {
  
          return of(PolicyId.of(policyId), label, subjectId, dittoHeaders);
      }
focal_method.class_method_signature: RetrieveSubject.of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static RetrieveSubject of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              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 SubjectId subjectId,
              final DittoHeaders dittoHeaders)
focal_method.return: RetrieveSubject
focal_method.signature: RetrieveSubject of(final String policyId,
              final Label label,
              final SubjectId subjectId,
              final DittoHeaders dittoHeaders)