test_class.declarator: UNDER_TEST = ImmutableHeadersPlaceholder.INSTANCE
test_class.modifier: private static final
test_class.original_string: private static final ImmutableHeadersPlaceholder UNDER_TEST = ImmutableHeadersPlaceholder.INSTANCE;
test_class.type: ImmutableHeadersPlaceholder
test_class.var_name: UNDER_TEST
test_class.declarator: HEADERS = new HashMap<>()
test_class.modifier: private static final
test_class.original_string: private static final Map<String, String> HEADERS = new HashMap<>();
test_class.type: Map<String, String>
test_class.var_name: HEADERS
test_class.declarator: DEVICE_ID = "eclipse:ditto:device1234"
test_class.modifier: private static final
test_class.original_string: private static final String DEVICE_ID = "eclipse:ditto:device1234";
test_class.type: String
test_class.var_name: DEVICE_ID
test_class.file: model/placeholders/src/test/java/org/eclipse/ditto/model/placeholders/ImmutableHeadersPlaceholderTest.java
test_class.identifier: ImmutableHeadersPlaceholderTest
test_case.body: @Test
      public void testReplaceDeviceIdHeader() {
          assertThat(UNDER_TEST.resolve(HEADERS, "device_id")).contains(DEVICE_ID);
      }
test_case.class_method_signature: ImmutableHeadersPlaceholderTest.testReplaceDeviceIdHeader()
test_case.full_signature: @Test public void testReplaceDeviceIdHeader()
test_case.identifier: testReplaceDeviceIdHeader
test_case.invocations: contains assertThat resolve
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReplaceDeviceIdHeader()
focal_class.declarator: INSTANCE = new ImmutableHeadersPlaceholder()
focal_class.modifier: static final
focal_class.original_string: static final ImmutableHeadersPlaceholder INSTANCE = new ImmutableHeadersPlaceholder();
focal_class.type: ImmutableHeadersPlaceholder
focal_class.var_name: INSTANCE
focal_class.declarator: PREFIX = "header"
focal_class.modifier: private static final
focal_class.original_string: private static final String PREFIX = "header";
focal_class.type: String
focal_class.var_name: PREFIX
focal_class.file: model/placeholders/src/main/java/org/eclipse/ditto/model/placeholders/ImmutableHeadersPlaceholder.java
focal_class.identifier: ImmutableHeadersPlaceholder
focal_class.interfaces: implements HeadersPlaceholder
focal_class.class_method_signature: ImmutableHeadersPlaceholder.ImmutableHeadersPlaceholder()
focal_class.full_signature: private  ImmutableHeadersPlaceholder()
focal_class.identifier: ImmutableHeadersPlaceholder
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ImmutableHeadersPlaceholder()
focal_class.class_method_signature: ImmutableHeadersPlaceholder.getPrefix()
focal_class.full_signature: @Override public String getPrefix()
focal_class.identifier: getPrefix
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPrefix()
focal_class.class_method_signature: ImmutableHeadersPlaceholder.getSupportedNames()
focal_class.full_signature: @Override public List<String> getSupportedNames()
focal_class.identifier: getSupportedNames
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getSupportedNames()
focal_class.class_method_signature: ImmutableHeadersPlaceholder.supports(final String name)
focal_class.full_signature: @Override public boolean supports(final String name)
focal_class.identifier: supports
focal_class.modifiers: @Override public
focal_class.parameters: (final String name)
focal_class.return: boolean
focal_class.signature: boolean supports(final String name)
focal_class.class_method_signature: ImmutableHeadersPlaceholder.resolve(final Map<String, String> headers, final String headerKey)
focal_class.full_signature: @Override public Optional<String> resolve(final Map<String, String> headers, final String headerKey)
focal_class.identifier: resolve
focal_class.modifiers: @Override public
focal_class.parameters: (final Map<String, String> headers, final String headerKey)
focal_class.return: Optional<String>
focal_class.signature: Optional<String> resolve(final Map<String, String> headers, final String headerKey)
focal_class.class_method_signature: ImmutableHeadersPlaceholder.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_method.body: @Override
      public Optional<String> resolve(final Map<String, String> headers, final String headerKey) {
          ConditionChecker.argumentNotEmpty(headerKey, "headerKey");
          ConditionChecker.argumentNotNull(headers, "headers");
          return Optional.ofNullable(headers.get(headerKey));
      }
focal_method.class_method_signature: ImmutableHeadersPlaceholder.resolve(final Map<String, String> headers, final String headerKey)
focal_method.full_signature: @Override public Optional<String> resolve(final Map<String, String> headers, final String headerKey)
focal_method.identifier: resolve
focal_method.invocations: argumentNotEmpty argumentNotNull ofNullable get
focal_method.modifiers: @Override public
focal_method.parameters: (final Map<String, String> headers, final String headerKey)
focal_method.return: Optional<String>
focal_method.signature: Optional<String> resolve(final Map<String, String> headers, final String headerKey)