Uses of Class
net.bytebuddy.implementation.HashCodeMethod
Packages that use HashCodeMethod
Package
Description
A package for types that allow for applying Byte Buddy transformation during a build process.
The implementation package contains any logic for intercepting method calls.
-
Uses of HashCodeMethod in net.bytebuddy.build
Methods in net.bytebuddy.build that return HashCodeMethodModifier and TypeMethodDescriptionprotected abstract HashCodeMethod
HashCodeAndEqualsPlugin.Enhance.InvokeSuper.hashCodeMethod
(TypeDescription instrumentedType, boolean typeHash, boolean subclassEquality) Resolves the hash code method to use. -
Uses of HashCodeMethod in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation that return HashCodeMethodModifier and TypeMethodDescriptionstatic HashCodeMethod
HashCodeMethod.usingDefaultOffset()
Creates a hash code method implementation that bases the hash code on a fixed value.static HashCodeMethod
HashCodeMethod.usingOffset
(int value) Creates a hash code method implementation that bases the hash code on a fixed value.static HashCodeMethod
HashCodeMethod.usingSuperClassOffset()
Creates a hash code method implementation that bases the hash code on the instrumented type's super class's hash code value.static HashCodeMethod
HashCodeMethod.usingTypeHashOffset
(boolean dynamic) Creates a hash code method implementation that bases the hash code on the instrumented type's class constant's hash code..HashCodeMethod.withIdentityFields
(ElementMatcher<? super FieldDescription.InDefinedShape> identity) Returns a new version of this hash code method implementation that considers the matched fields by their identity.HashCodeMethod.withIgnoredFields
(ElementMatcher<? super FieldDescription.InDefinedShape> ignored) Returns a new version of this hash code method implementation that ignores the specified fields additionally to any previously specified fields.HashCodeMethod.withNonNullableFields
(ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable) Returns a new version of this hash code method implementation that does not apply anull
value check for the specified fields if they have a reference type additionally to any previously specified fields.