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 HashCodeMethodHashCodeAndEqualsPlugin.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 HashCodeMethodHashCodeMethod.usingDefaultOffset()Creates a hash code method implementation that bases the hash code on a fixed value.static HashCodeMethodHashCodeMethod.usingOffset(int value) Creates a hash code method implementation that bases the hash code on a fixed value.static HashCodeMethodHashCodeMethod.usingSuperClassOffset()Creates a hash code method implementation that bases the hash code on the instrumented type's super class's hash code value.static HashCodeMethodHashCodeMethod.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.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 anullvalue check for the specified fields if they have a reference type additionally to any previously specified fields.