Package org.apache.druid.annotations
Annotation Type SubclassesMustOverrideEqualsAndHashCode
-
@Documented @Inherited @Retention(CLASS) @Target(TYPE) public @interface SubclassesMustOverrideEqualsAndHashCode
An annotation that tells all subclasses of the annotated class to not use the default implementation of hashCode and equals that is provided byObject
. This annotation is useful on classes that you expect will be used in equals checks in other parts of the codebase.