![JAR search and dependency download from the Maven repository](/logo.png)
org.pojomatic.annotations.SubclassCannotOverrideEquals Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pojomatic Show documentation
Show all versions of pojomatic Show documentation
Automatically provides configurable implementations of the
equals(Object), hashCode() and toString() methods inherited from java.lang.Object
package org.pojomatic.annotations;
import java.lang.annotation.*;
import org.pojomatic.Pojomator;
/**
* Declares that a subclass of the annotated type cannot override the behavior of equals.
*
* Absent this annotation, it is assumed that subclasses cannot override {@code equals} for interface
* types, and can for other types.
*
* @see Pojomator#doEquals(Object, Object)
*/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface SubclassCannotOverrideEquals {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy