Package | Description |
---|---|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
protected abstract EqualsMethod |
HashCodeAndEqualsPlugin.Enhance.InvokeSuper.equalsMethod(TypeDescription instrumentedType)
Resolves the equals method to use.
|
Modifier and Type | Method and Description |
---|---|
static EqualsMethod |
EqualsMethod.isolated()
Creates an equals method implementation that does not invoke the super class's
Object.equals(Object) method. |
static EqualsMethod |
EqualsMethod.requiringSuperClassEquality()
Creates an equals implementation that invokes the super class's
Object.equals(Object) method first. |
EqualsMethod |
EqualsMethod.withIgnoredFields(ElementMatcher<? super FieldDescription.InDefinedShape> ignored)
Returns a new version of this equals method implementation that ignores the specified fields additionally to any
previously specified fields.
|
EqualsMethod |
EqualsMethod.withNonNullableFields(ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable)
Returns a new version of this equals method implementation that does not apply a
null value check for the specified fields
if they have a reference type additionally to any previously specified fields. |
Copyright © 2014–2018. All rights reserved.