Class HashCodeAndEqualsPlugin

java.lang.Object
net.bytebuddy.build.HashCodeAndEqualsPlugin
All Implemented Interfaces:
Closeable, AutoCloseable, Plugin, Plugin.Factory, MethodAttributeAppender, MethodAttributeAppender.Factory, ElementMatcher<TypeDescription>
Direct Known Subclasses:
HashCodeAndEqualsPlugin.WithNonNullableFields

@Enhance public class HashCodeAndEqualsPlugin extends Object implements Plugin, Plugin.Factory, MethodAttributeAppender.Factory, MethodAttributeAppender
A build tool plugin that adds Object.hashCode() and Object.equals(Object) methods to a class if the HashCodeAndEqualsPlugin.Enhance annotation is present and no explicit method declaration was added. This plugin does not need to be closed.