test_class.declarator: WEAK_1 = EntityTag.fromString("W/\"1\"")
test_class.modifier: private static final
test_class.original_string: private static final EntityTag WEAK_1 = EntityTag.fromString("W/\"1\"");
test_class.type: EntityTag
test_class.var_name: WEAK_1
test_class.declarator: WEAK_2 = EntityTag.fromString("W/\"2\"")
test_class.modifier: private static final
test_class.original_string: private static final EntityTag WEAK_2 = EntityTag.fromString("W/\"2\"");
test_class.type: EntityTag
test_class.var_name: WEAK_2
test_class.declarator: STRONG_1 = EntityTag.fromString("\"1\"")
test_class.modifier: private static final
test_class.original_string: private static final EntityTag STRONG_1 = EntityTag.fromString("\"1\"");
test_class.type: EntityTag
test_class.var_name: STRONG_1
test_class.declarator: STRONG_2 = EntityTag.fromString("\"2\"")
test_class.modifier: private static final
test_class.original_string: private static final EntityTag STRONG_2 = EntityTag.fromString("\"2\"");
test_class.type: EntityTag
test_class.var_name: STRONG_2
test_class.declarator: softly = new JUnitSoftAssertions()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final JUnitSoftAssertions softly = new JUnitSoftAssertions();
test_class.type: JUnitSoftAssertions
test_class.var_name: softly
test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/headers/entitytag/EntityTagTest.java
test_class.identifier: EntityTagTest
test_case.body: @Test
      public void strongComparisonEvaluatesToFalseForOneStrongTagWithSameValueThanWeakTag() {
          softly.assertThat(WEAK_1.strongCompareTo(STRONG_1)).isFalse();
      }
test_case.class_method_signature: EntityTagTest.strongComparisonEvaluatesToFalseForOneStrongTagWithSameValueThanWeakTag()
test_case.full_signature: @Test public void strongComparisonEvaluatesToFalseForOneStrongTagWithSameValueThanWeakTag()
test_case.identifier: strongComparisonEvaluatesToFalseForOneStrongTagWithSameValueThanWeakTag
test_case.invocations: isFalse assertThat strongCompareTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void strongComparisonEvaluatesToFalseForOneStrongTagWithSameValueThanWeakTag()
focal_class.declarator: VALIDATION_ERROR_MESSAGE_TEMPLATE = "The opaque tag <%s> is not a valid entity-tag."
focal_class.modifier: private static final
focal_class.original_string: private static final String VALIDATION_ERROR_MESSAGE_TEMPLATE = "The opaque tag <%s> is not a valid entity-tag.";
focal_class.type: String
focal_class.var_name: VALIDATION_ERROR_MESSAGE_TEMPLATE
focal_class.declarator: ENTITY_TAG_REGEX_PATTERN = Pattern.compile(Regex.ENTITY_TAG)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern ENTITY_TAG_REGEX_PATTERN = Pattern.compile(Regex.ENTITY_TAG);
focal_class.type: Pattern
focal_class.var_name: ENTITY_TAG_REGEX_PATTERN
focal_class.declarator: WEAK_PREFIX = "W/"
focal_class.modifier: private static final
focal_class.original_string: private static final String WEAK_PREFIX = "W/";
focal_class.type: String
focal_class.var_name: WEAK_PREFIX
focal_class.declarator: weak
focal_class.modifier: private final
focal_class.original_string: private final boolean weak;
focal_class.type: boolean
focal_class.var_name: weak
focal_class.declarator: opaqueTag
focal_class.modifier: private final
focal_class.original_string: private final String opaqueTag;
focal_class.type: String
focal_class.var_name: opaqueTag
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/headers/entitytag/EntityTag.java
focal_class.identifier: EntityTag
focal_class.class_method_signature: EntityTag.EntityTag(final boolean weak, final String opaqueTag)
focal_class.full_signature: private  EntityTag(final boolean weak, final String opaqueTag)
focal_class.identifier: EntityTag
focal_class.modifiers: private
focal_class.parameters: (final boolean weak, final String opaqueTag)
focal_class.signature:  EntityTag(final boolean weak, final String opaqueTag)
focal_class.class_method_signature: EntityTag.isValid(@Nullable final CharSequence entityTag)
focal_class.full_signature: public static boolean isValid(@Nullable final CharSequence entityTag)
focal_class.identifier: isValid
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final CharSequence entityTag)
focal_class.return: boolean
focal_class.signature: boolean isValid(@Nullable final CharSequence entityTag)
focal_class.class_method_signature: EntityTag.getOpaqueTag()
focal_class.full_signature: public String getOpaqueTag()
focal_class.identifier: getOpaqueTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOpaqueTag()
focal_class.class_method_signature: EntityTag.isWeak()
focal_class.full_signature: public boolean isWeak()
focal_class.identifier: isWeak
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isWeak()
focal_class.class_method_signature: EntityTag.strongCompareTo(final EntityTag otherEntityTag)
focal_class.full_signature: public boolean strongCompareTo(final EntityTag otherEntityTag)
focal_class.identifier: strongCompareTo
focal_class.modifiers: public
focal_class.parameters: (final EntityTag otherEntityTag)
focal_class.return: boolean
focal_class.signature: boolean strongCompareTo(final EntityTag otherEntityTag)
focal_class.class_method_signature: EntityTag.weakCompareTo(final EntityTag otherEntityTag)
focal_class.full_signature: public boolean weakCompareTo(final EntityTag otherEntityTag)
focal_class.identifier: weakCompareTo
focal_class.modifiers: public
focal_class.parameters: (final EntityTag otherEntityTag)
focal_class.return: boolean
focal_class.signature: boolean weakCompareTo(final EntityTag otherEntityTag)
focal_class.class_method_signature: EntityTag.fromString(final String entityTag)
focal_class.full_signature: public static EntityTag fromString(final String entityTag)
focal_class.identifier: fromString
focal_class.modifiers: public static
focal_class.parameters: (final String entityTag)
focal_class.return: EntityTag
focal_class.signature: EntityTag fromString(final String entityTag)
focal_class.class_method_signature: EntityTag.fromEntity(@Nullable final Object entity)
focal_class.full_signature: public static Optional<EntityTag> fromEntity(@Nullable final Object entity)
focal_class.identifier: fromEntity
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final Object entity)
focal_class.return: Optional<EntityTag>
focal_class.signature: Optional<EntityTag> fromEntity(@Nullable final Object entity)
focal_class.class_method_signature: EntityTag.strong(final String opaqueTag)
focal_class.full_signature: public static EntityTag strong(final String opaqueTag)
focal_class.identifier: strong
focal_class.modifiers: public static
focal_class.parameters: (final String opaqueTag)
focal_class.return: EntityTag
focal_class.signature: EntityTag strong(final String opaqueTag)
focal_class.class_method_signature: EntityTag.weak(final String opaqueTag)
focal_class.full_signature: public static EntityTag weak(final String opaqueTag)
focal_class.identifier: weak
focal_class.modifiers: public static
focal_class.parameters: (final String opaqueTag)
focal_class.return: EntityTag
focal_class.signature: EntityTag weak(final String opaqueTag)
focal_class.class_method_signature: EntityTag.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.class_method_signature: EntityTag.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @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: EntityTag.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_method.body: public boolean strongCompareTo(final EntityTag otherEntityTag) {
          if (isWeak()) {
              return false;
          }
  
          if (otherEntityTag.isWeak()) {
              return false;
          }
  
          return equals(otherEntityTag);
      }
focal_method.class_method_signature: EntityTag.strongCompareTo(final EntityTag otherEntityTag)
focal_method.full_signature: public boolean strongCompareTo(final EntityTag otherEntityTag)
focal_method.identifier: strongCompareTo
focal_method.invocations: isWeak isWeak equals
focal_method.modifiers: public
focal_method.parameters: (final EntityTag otherEntityTag)
focal_method.return: boolean
focal_method.signature: boolean strongCompareTo(final EntityTag otherEntityTag)