protected static enum EqualsMethod.SuperClassCheck extends Enum<EqualsMethod.SuperClassCheck>
| Enum Constant and Description |
|---|
DISABLED
Does not perform any super class check.
|
ENABLED
Invokes the super class's
Object.equals(Object) method. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract StackManipulation |
resolve(TypeDescription instrumentedType)
Resolves a stack manipulation for the required super class check.
|
static EqualsMethod.SuperClassCheck |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EqualsMethod.SuperClassCheck[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EqualsMethod.SuperClassCheck DISABLED
public static final EqualsMethod.SuperClassCheck ENABLED
Object.equals(Object) method.public static EqualsMethod.SuperClassCheck[] values()
for (EqualsMethod.SuperClassCheck c : EqualsMethod.SuperClassCheck.values()) System.out.println(c);
public static EqualsMethod.SuperClassCheck 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 nullprotected abstract StackManipulation resolve(TypeDescription instrumentedType)
instrumentedType - The instrumented type.Copyright © 2014–2023. All rights reserved.