test_class.declarator: NAME = "ditto"
test_class.modifier: private static final
test_class.original_string: private static final String NAME = "ditto";
test_class.type: String
test_class.var_name: NAME
test_class.declarator: NAMESPACE = "eclipse"
test_class.modifier: private static final
test_class.original_string: private static final String NAMESPACE = "eclipse";
test_class.type: String
test_class.var_name: NAMESPACE
test_class.declarator: POLICY_ID = PolicyId.of(NAMESPACE, NAME)
test_class.modifier: private static final
test_class.original_string: private static final PolicyId POLICY_ID = PolicyId.of(NAMESPACE, NAME);
test_class.type: PolicyId
test_class.var_name: POLICY_ID
test_class.declarator: UNDER_TEST = ImmutablePolicyPlaceholder.INSTANCE
test_class.modifier: private static final
test_class.original_string: private static final PolicyPlaceholder UNDER_TEST = ImmutablePolicyPlaceholder.INSTANCE;
test_class.type: PolicyPlaceholder
test_class.var_name: UNDER_TEST
test_class.file: model/placeholders/src/test/java/org/eclipse/ditto/model/placeholders/ImmutablePolicyPlaceholderTest.java
test_class.identifier: ImmutablePolicyPlaceholderTest
test_case.body: @Test
      public void testReplacePolicyId() {
          assertThat(UNDER_TEST.resolve(POLICY_ID, "id")).contains(POLICY_ID.toString());
      }
test_case.class_method_signature: ImmutablePolicyPlaceholderTest.testReplacePolicyId()
test_case.full_signature: @Test public void testReplacePolicyId()
test_case.identifier: testReplacePolicyId
test_case.invocations: contains assertThat resolve toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReplacePolicyId()
focal_class.declarator: INSTANCE = new ImmutablePolicyPlaceholder()
focal_class.modifier: static final
focal_class.original_string: static final ImmutablePolicyPlaceholder INSTANCE = new ImmutablePolicyPlaceholder();
focal_class.type: ImmutablePolicyPlaceholder
focal_class.var_name: INSTANCE
focal_class.file: model/placeholders/src/main/java/org/eclipse/ditto/model/placeholders/ImmutablePolicyPlaceholder.java
focal_class.identifier: ImmutablePolicyPlaceholder
focal_class.interfaces: implements PolicyPlaceholder
focal_class.class_method_signature: ImmutablePolicyPlaceholder.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: ImmutablePolicyPlaceholder.resolve(final CharSequence policyId, final String placeholder)
focal_class.full_signature: @Override public Optional<String> resolve(final CharSequence policyId, final String placeholder)
focal_class.identifier: resolve
focal_class.modifiers: @Override public
focal_class.parameters: (final CharSequence policyId, final String placeholder)
focal_class.return: Optional<String>
focal_class.signature: Optional<String> resolve(final CharSequence policyId, final String placeholder)
focal_class.superclass: extends AbstractEntityPlaceholder<PolicyId>
focal_method.body: @Override
      public Optional<String> resolve(final CharSequence policyId, final String placeholder) {
          argumentNotEmpty(placeholder, "placeholder");
          checkNotNull(policyId, "Policy ID");
          if (policyId instanceof PolicyId) {
              return doResolve(((PolicyId) policyId), placeholder);
          } else {
              return Optional.empty();
          }
      }
focal_method.class_method_signature: ImmutablePolicyPlaceholder.resolve(final CharSequence policyId, final String placeholder)
focal_method.full_signature: @Override public Optional<String> resolve(final CharSequence policyId, final String placeholder)
focal_method.identifier: resolve
focal_method.invocations: argumentNotEmpty checkNotNull doResolve empty
focal_method.modifiers: @Override public
focal_method.parameters: (final CharSequence policyId, final String placeholder)
focal_method.return: Optional<String>
focal_method.signature: Optional<String> resolve(final CharSequence policyId, final String placeholder)