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.withEnumerationTypedFieldsFirst()
Returns a new version of this equals method that compares fields with enumeration types prior to fields with non-enumeration types.
|
EqualsMethod |
EqualsMethod.withFieldOrder(Comparator<? super FieldDescription.InDefinedShape> comparator)
Applies the supplied comparator to determine an order for fields for being compared.
|
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. |
EqualsMethod |
EqualsMethod.withPrimitiveTypedFieldsFirst()
Returns a new version of this equals method that compares fields with primitive types prior to fields with non-primitive types.
|
EqualsMethod |
EqualsMethod.withPrimitiveWrapperTypedFieldsFirst()
Returns a new version of this equals method that compares fields with primitive wrapper types prior to fields with non-primitive wrapper types.
|
EqualsMethod |
EqualsMethod.withStringTypedFieldsFirst()
|
Copyright © 2014–2023. All rights reserved.