test_class.declarator: fluxCapacitorProperties
test_class.modifier: private static
test_class.original_string: private static FeatureProperties fluxCapacitorProperties;
test_class.type: FeatureProperties
test_class.var_name: fluxCapacitorProperties
test_class.declarator: fluxCapacitor
test_class.modifier: private static
test_class.original_string: private static Feature fluxCapacitor;
test_class.type: Feature
test_class.var_name: fluxCapacitor
test_class.declarator: thingWithoutMetadata
test_class.modifier: private static
test_class.original_string: private static Thing thingWithoutMetadata;
test_class.type: Thing
test_class.var_name: thingWithoutMetadata
test_class.declarator: command
test_class.modifier: @Mock private
test_class.original_string: @Mock private ThingModifyCommand command;
test_class.type: ThingModifyCommand
test_class.var_name: command
test_class.declarator: entity
test_class.modifier: @Mock private
test_class.original_string: @Mock private Entity<?> entity;
test_class.type: Entity<?>
test_class.var_name: entity
test_class.file: services/utils/persistent-actors/src/test/java/org/eclipse/ditto/services/utils/persistentactors/MetadataFromSignalTest.java
test_class.identifier: MetadataFromSignalTest
test_case.body: @Test
      public void tryToGetInstanceWithNullCommand() {
          assertThatNullPointerException()
                  .isThrownBy(() -> MetadataFromSignal.of(null, null, entity.getMetadata().orElse(null)))
                  .withMessage("The signal must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: MetadataFromSignalTest.tryToGetInstanceWithNullCommand()
test_case.full_signature: @Test public void tryToGetInstanceWithNullCommand()
test_case.identifier: tryToGetInstanceWithNullCommand
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException of orElse getMetadata
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetInstanceWithNullCommand()
focal_class.declarator: signal
focal_class.modifier: private final
focal_class.original_string: private final Signal<?> signal;
focal_class.type: Signal<?>
focal_class.var_name: signal
focal_class.declarator: withOptionalEntity
focal_class.modifier: private final
focal_class.original_string: private final WithOptionalEntity withOptionalEntity;
focal_class.type: WithOptionalEntity
focal_class.var_name: withOptionalEntity
focal_class.declarator: existingMetadata
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Metadata existingMetadata;
focal_class.type: Metadata
focal_class.var_name: existingMetadata
focal_class.file: services/utils/persistent-actors/src/main/java/org/eclipse/ditto/services/utils/persistentactors/MetadataFromSignal.java
focal_class.identifier: MetadataFromSignal
focal_class.interfaces: implements Supplier<Metadata>
focal_class.class_method_signature: MetadataFromSignal.MetadataFromSignal(final Signal<?> signal, final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.full_signature: private  MetadataFromSignal(final Signal<?> signal, final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.identifier: MetadataFromSignal
focal_class.modifiers: private
focal_class.parameters: (final Signal<?> signal, final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.signature:  MetadataFromSignal(final Signal<?> signal, final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.class_method_signature: MetadataFromSignal.of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.full_signature: public static MetadataFromSignal of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.return: MetadataFromSignal
focal_class.signature: MetadataFromSignal of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_class.class_method_signature: MetadataFromSignal.get()
focal_class.full_signature: @Override @Nullable public Metadata get()
focal_class.identifier: get
focal_class.modifiers: @Override @Nullable public
focal_class.parameters: ()
focal_class.return: Metadata
focal_class.signature: Metadata get()
focal_class.class_method_signature: MetadataFromSignal.getMetadataHeadersToPut()
focal_class.full_signature: private SortedSet<MetadataHeader> getMetadataHeadersToPut()
focal_class.identifier: getMetadataHeadersToPut
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: SortedSet<MetadataHeader>
focal_class.signature: SortedSet<MetadataHeader> getMetadataHeadersToPut()
focal_class.class_method_signature: MetadataFromSignal.buildMetadata(final JsonValue entity, final SortedSet<MetadataHeader> metadataHeaders)
focal_class.full_signature: private Metadata buildMetadata(final JsonValue entity, final SortedSet<MetadataHeader> metadataHeaders)
focal_class.identifier: buildMetadata
focal_class.modifiers: private
focal_class.parameters: (final JsonValue entity, final SortedSet<MetadataHeader> metadataHeaders)
focal_class.return: Metadata
focal_class.signature: Metadata buildMetadata(final JsonValue entity, final SortedSet<MetadataHeader> metadataHeaders)
focal_class.class_method_signature: MetadataFromSignal.getMetadataBuilder()
focal_class.full_signature: private MetadataBuilder getMetadataBuilder()
focal_class.identifier: getMetadataBuilder
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: MetadataBuilder
focal_class.signature: MetadataBuilder getMetadataBuilder()
focal_class.class_method_signature: MetadataFromSignal.addMetadataToLeaf(final JsonPointer path,
              final MetadataHeader metadataHeader,
              final MetadataBuilder metadataBuilder,
              final JsonValue entity)
focal_class.full_signature: private static void addMetadataToLeaf(final JsonPointer path,
              final MetadataHeader metadataHeader,
              final MetadataBuilder metadataBuilder,
              final JsonValue entity)
focal_class.identifier: addMetadataToLeaf
focal_class.modifiers: private static
focal_class.parameters: (final JsonPointer path,
              final MetadataHeader metadataHeader,
              final MetadataBuilder metadataBuilder,
              final JsonValue entity)
focal_class.return: void
focal_class.signature: void addMetadataToLeaf(final JsonPointer path,
              final MetadataHeader metadataHeader,
              final MetadataBuilder metadataBuilder,
              final JsonValue entity)
focal_method.body: public static MetadataFromSignal of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata) {
          return new MetadataFromSignal(checkNotNull(signal, "signal"),
                  checkNotNull(withOptionalEntity, "withOptionalEntity"),
                  existingMetadata);
      }
focal_method.class_method_signature: MetadataFromSignal.of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_method.full_signature: public static MetadataFromSignal of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_method.identifier: of
focal_method.invocations: checkNotNull checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)
focal_method.return: MetadataFromSignal
focal_method.signature: MetadataFromSignal of(final Signal<?> signal,
              final WithOptionalEntity withOptionalEntity,
              @Nullable final Metadata existingMetadata)