1 package org.pojomatic.annotations;
2
3 import java.lang.annotation.Documented;
4 import java.lang.annotation.ElementType;
5 import java.lang.annotation.Retention;
6 import java.lang.annotation.RetentionPolicy;
7 import java.lang.annotation.Target;
8
9 import org.pojomatic.Pojomator;
10
11 /**
12 * Declares that the annotated type overrides the behavior of {@link Object#equals(Object) equals},
13 * and hence is not compatible for equals with its superclasses.
14 *
15 * @see Pojomator#doEquals(Object, Object)
16 */
17 @Documented
18 @Target(ElementType.TYPE)
19 @Retention(RetentionPolicy.RUNTIME)
20 public @interface OverridesEquals {
21 }