public static enum HashCodeMethod.OffsetProvider.ForSuperMethodCall extends Enum<HashCodeMethod.OffsetProvider.ForSuperMethodCall> implements HashCodeMethod.OffsetProvider
Object.hashCode()
implementation.HashCodeMethod.OffsetProvider.ForFixedValue, HashCodeMethod.OffsetProvider.ForSuperMethodCall
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(TypeDescription instrumentedType)
Resolves this offset provider for a given instrumented type.
|
static HashCodeMethod.OffsetProvider.ForSuperMethodCall |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashCodeMethod.OffsetProvider.ForSuperMethodCall[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashCodeMethod.OffsetProvider.ForSuperMethodCall INSTANCE
public static HashCodeMethod.OffsetProvider.ForSuperMethodCall[] values()
for (HashCodeMethod.OffsetProvider.ForSuperMethodCall c : HashCodeMethod.OffsetProvider.ForSuperMethodCall.values()) System.out.println(c);
public static HashCodeMethod.OffsetProvider.ForSuperMethodCall valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic StackManipulation resolve(TypeDescription instrumentedType)
resolve
in interface HashCodeMethod.OffsetProvider
instrumentedType
- The instrumented type.Copyright © 2014–2021. All rights reserved.