test_class.declarator: KNOWN_LABEL_VALUE = "KEEP-ALESIA"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_LABEL_VALUE = "KEEP-ALESIA";
test_class.type: String
test_class.var_name: KNOWN_LABEL_VALUE
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/acks/ImmutableAcknowledgementLabelTest.java
test_class.identifier: ImmutableAcknowledgementLabelTest
test_case.body: @Test
      public void compareToWorksAsExpected() {
          final ImmutableAcknowledgementLabel ackLabelAbc = ImmutableAcknowledgementLabel.of("abc");
          final ImmutableAcknowledgementLabel ackLabelDef = ImmutableAcknowledgementLabel.of("def");
  
          try (final AutoCloseableSoftAssertions softly = new AutoCloseableSoftAssertions()) {
              softly.assertThat(ackLabelAbc.compareTo(ackLabelAbc))
                      .as("compare with equal")
                      .isZero();
              softly.assertThat(ackLabelAbc.compareTo(ackLabelDef))
                      .as("compare with greater")
                      .isNegative();
              softly.assertThat(ackLabelDef.compareTo(ackLabelAbc))
                      .as("compare with less")
                      .isPositive();
          }
      }
test_case.class_method_signature: ImmutableAcknowledgementLabelTest.compareToWorksAsExpected()
test_case.full_signature: @Test public void compareToWorksAsExpected()
test_case.identifier: compareToWorksAsExpected
test_case.invocations: of of isZero as assertThat compareTo isNegative as assertThat compareTo isPositive as assertThat compareTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void compareToWorksAsExpected()
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final String label;
focal_class.type: String
focal_class.var_name: label
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/acks/ImmutableAcknowledgementLabel.java
focal_class.identifier: ImmutableAcknowledgementLabel
focal_class.interfaces: implements AcknowledgementLabel
focal_class.class_method_signature: ImmutableAcknowledgementLabel.ImmutableAcknowledgementLabel(final String label)
focal_class.full_signature: private  ImmutableAcknowledgementLabel(final String label)
focal_class.identifier: ImmutableAcknowledgementLabel
focal_class.modifiers: private
focal_class.parameters: (final String label)
focal_class.signature:  ImmutableAcknowledgementLabel(final String label)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.of(final CharSequence label)
focal_class.full_signature: static ImmutableAcknowledgementLabel of(final CharSequence label)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final CharSequence label)
focal_class.return: ImmutableAcknowledgementLabel
focal_class.signature: ImmutableAcknowledgementLabel of(final CharSequence label)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.length()
focal_class.full_signature: @Override public int length()
focal_class.identifier: length
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int length()
focal_class.class_method_signature: ImmutableAcknowledgementLabel.charAt(final int index)
focal_class.full_signature: @Override public char charAt(final int index)
focal_class.identifier: charAt
focal_class.modifiers: @Override public
focal_class.parameters: (final int index)
focal_class.return: char
focal_class.signature: char charAt(final int index)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.subSequence(final int start, final int end)
focal_class.full_signature: @Override public CharSequence subSequence(final int start, final int end)
focal_class.identifier: subSequence
focal_class.modifiers: @Override public
focal_class.parameters: (final int start, final int end)
focal_class.return: CharSequence
focal_class.signature: CharSequence subSequence(final int start, final int end)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.equals(@Nullable final Object o)
focal_class.full_signature: @SuppressWarnings("squid:S2097") @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @SuppressWarnings("squid:S2097") @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.contains(final Class<?>[] interfaceClasses, final Class<?> searchedInterfaceClass)
focal_class.full_signature: private static boolean contains(final Class<?>[] interfaceClasses, final Class<?> searchedInterfaceClass)
focal_class.identifier: contains
focal_class.modifiers: private static
focal_class.parameters: (final Class<?>[] interfaceClasses, final Class<?> searchedInterfaceClass)
focal_class.return: boolean
focal_class.signature: boolean contains(final Class<?>[] interfaceClasses, final Class<?> searchedInterfaceClass)
focal_class.class_method_signature: ImmutableAcknowledgementLabel.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: ImmutableAcknowledgementLabel.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: static ImmutableAcknowledgementLabel of(final CharSequence label) {
          return new ImmutableAcknowledgementLabel(label.toString());
      }
focal_method.class_method_signature: ImmutableAcknowledgementLabel.of(final CharSequence label)
focal_method.full_signature: static ImmutableAcknowledgementLabel of(final CharSequence label)
focal_method.identifier: of
focal_method.invocations: toString
focal_method.modifiers: static
focal_method.parameters: (final CharSequence label)
focal_method.return: ImmutableAcknowledgementLabel
focal_method.signature: ImmutableAcknowledgementLabel of(final CharSequence label)