package org.springframework.roo.addon.equals; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Creates equals and hashCode methods. * * @author Alan Stewart * @since 1.2.0 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface RooEquals { boolean appendSuper() default false; /** * @return an array of fields exclude in the equals and hashCode methods */ String[] excludeFields() default ""; }