test_class.declarator: SELECTED_FIELDS = "field1,field2,field3"
test_class.modifier: private static final
test_class.original_string: private static final String SELECTED_FIELDS = "field1,field2,field3";
test_class.type: String
test_class.var_name: SELECTED_FIELDS
test_class.declarator: SNAPSHOT_REVISION = 23L
test_class.modifier: private static final
test_class.original_string: private static final long SNAPSHOT_REVISION = 23L;
test_class.type: long
test_class.var_name: SNAPSHOT_REVISION
test_class.declarator: JSON_PARSE_OPTIONS = JsonFactory.newParseOptionsBuilder()
              .withoutUrlDecoding()
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonParseOptions JSON_PARSE_OPTIONS = JsonFactory.newParseOptionsBuilder()
              .withoutUrlDecoding()
              .build();
test_class.type: JsonParseOptions
test_class.var_name: JSON_PARSE_OPTIONS
test_class.declarator: JSON_FIELD_SELECTOR = JsonFactory.newFieldSelector(SELECTED_FIELDS,
              JSON_PARSE_OPTIONS)
test_class.modifier: private static final
test_class.original_string: private static final JsonFieldSelector JSON_FIELD_SELECTOR = JsonFactory.newFieldSelector(SELECTED_FIELDS,
              JSON_PARSE_OPTIONS);
test_class.type: JsonFieldSelector
test_class.var_name: JSON_FIELD_SELECTOR
test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.declarator: KNOWN_JSON_WITH_FIELD_SELECTION = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThing.JSON_SELECTED_FIELDS, SELECTED_FIELDS)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_WITH_FIELD_SELECTION = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThing.JSON_SELECTED_FIELDS, SELECTED_FIELDS)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_WITH_FIELD_SELECTION
test_class.declarator: KNOWN_JSON_WITH_SNAPSHOT_REVISION = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThing.JSON_SNAPSHOT_REVISION, SNAPSHOT_REVISION)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_WITH_SNAPSHOT_REVISION = JsonFactory.newObjectBuilder()
              .set(ThingCommand.JsonFields.TYPE, RetrieveThing.TYPE)
              .set(ThingCommand.JsonFields.JSON_THING_ID, TestConstants.Thing.THING_ID.toString())
              .set(RetrieveThing.JSON_SNAPSHOT_REVISION, SNAPSHOT_REVISION)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_WITH_SNAPSHOT_REVISION
test_class.file: signals/commands/things/src/test/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThingTest.java
test_class.identifier: RetrieveThingTest
test_case.body: @SuppressWarnings("ConstantConditions")
      @Test
      public void tryToGetBuilderWithNullDittoHeaders() {
          assertThatExceptionOfType(NullPointerException.class)
                  .isThrownBy(() -> RetrieveThing.getBuilder(TestConstants.Thing.THING_ID, null))
                  .withNoCause();
      }
test_case.class_method_signature: RetrieveThingTest.tryToGetBuilderWithNullDittoHeaders()
test_case.full_signature: @SuppressWarnings("ConstantConditions") @Test public void tryToGetBuilderWithNullDittoHeaders()
test_case.identifier: tryToGetBuilderWithNullDittoHeaders
test_case.invocations: withNoCause isThrownBy assertThatExceptionOfType getBuilder
test_case.modifiers: @SuppressWarnings("ConstantConditions") @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetBuilderWithNullDittoHeaders()
focal_class.declarator: NAME = "retrieveThing"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "retrieveThing";
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_SELECTED_FIELDS =
              JsonFactory.newStringFieldDefinition("selectedFields", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<String> JSON_SELECTED_FIELDS =
              JsonFactory.newStringFieldDefinition("selectedFields", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_SELECTED_FIELDS
focal_class.declarator: JSON_SNAPSHOT_REVISION =
              JsonFactory.newLongFieldDefinition("snapshotRevision", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2)
focal_class.modifier: static final
focal_class.original_string: static final JsonFieldDefinition<Long> JSON_SNAPSHOT_REVISION =
              JsonFactory.newLongFieldDefinition("snapshotRevision", FieldType.REGULAR, JsonSchemaVersion.V_1,
                      JsonSchemaVersion.V_2);
focal_class.type: JsonFieldDefinition<Long>
focal_class.var_name: JSON_SNAPSHOT_REVISION
focal_class.declarator: NULL_SNAPSHOT_REVISION = -1L
focal_class.modifier: private static final
focal_class.original_string: private static final long NULL_SNAPSHOT_REVISION = -1L;
focal_class.type: long
focal_class.var_name: NULL_SNAPSHOT_REVISION
focal_class.declarator: thingId
focal_class.modifier: private final
focal_class.original_string: private final ThingId thingId;
focal_class.type: ThingId
focal_class.var_name: thingId
focal_class.declarator: selectedFields
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final JsonFieldSelector selectedFields;
focal_class.type: JsonFieldSelector
focal_class.var_name: selectedFields
focal_class.declarator: snapshotRevision
focal_class.modifier: private final
focal_class.original_string: private final long snapshotRevision;
focal_class.type: long
focal_class.var_name: snapshotRevision
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/query/RetrieveThing.java
focal_class.identifier: RetrieveThing
focal_class.interfaces: implements ThingQueryCommand<RetrieveThing>
focal_class.class_method_signature: RetrieveThing.RetrieveThing(final Builder builder)
focal_class.full_signature: private  RetrieveThing(final Builder builder)
focal_class.identifier: RetrieveThing
focal_class.modifiers: private
focal_class.parameters: (final Builder builder)
focal_class.signature:  RetrieveThing(final Builder builder)
focal_class.class_method_signature: RetrieveThing.of(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static RetrieveThing of(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThing
focal_class.signature: RetrieveThing of(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThing
focal_class.signature: RetrieveThing of(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static Builder getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: getBuilder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.return: Builder
focal_class.signature: Builder getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.getBuilder(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static Builder getBuilder(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.identifier: getBuilder
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.return: Builder
focal_class.signature: Builder getBuilder(final ThingId thingId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThing 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: RetrieveThing
focal_class.signature: RetrieveThing fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static RetrieveThing 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: RetrieveThing
focal_class.signature: RetrieveThing fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.getSelectedFields()
focal_class.full_signature: @Override public Optional<JsonFieldSelector> getSelectedFields()
focal_class.identifier: getSelectedFields
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<JsonFieldSelector>
focal_class.signature: Optional<JsonFieldSelector> getSelectedFields()
focal_class.class_method_signature: RetrieveThing.getThingEntityId()
focal_class.full_signature: @Override public ThingId getThingEntityId()
focal_class.identifier: getThingEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ThingId
focal_class.signature: ThingId getThingEntityId()
focal_class.class_method_signature: RetrieveThing.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: RetrieveThing.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: RetrieveThing.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public RetrieveThing setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: RetrieveThing
focal_class.signature: RetrieveThing setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: RetrieveThing.getSnapshotRevision()
focal_class.full_signature: @Nonnull public Optional<Long> getSnapshotRevision()
focal_class.identifier: getSnapshotRevision
focal_class.modifiers: @Nonnull public
focal_class.parameters: ()
focal_class.return: Optional<Long>
focal_class.signature: Optional<Long> getSnapshotRevision()
focal_class.class_method_signature: RetrieveThing.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: RetrieveThing.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: RetrieveThing.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: RetrieveThing.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<RetrieveThing>
focal_method.body: @Deprecated
      public static Builder getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders) {
          return getBuilder(ThingId.of(thingId), dittoHeaders);
      }
focal_method.class_method_signature: RetrieveThing.getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_method.full_signature: @Deprecated public static Builder getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_method.identifier: getBuilder
focal_method.invocations: getBuilder of
focal_method.modifiers: @Deprecated public static
focal_method.parameters: (final CharSequence thingId, final DittoHeaders dittoHeaders)
focal_method.return: Builder
focal_method.signature: Builder getBuilder(final CharSequence thingId, final DittoHeaders dittoHeaders)