protected static enum EqualsMethod.TypeCompatibilityCheck extends Enum<EqualsMethod.TypeCompatibilityCheck>
| Enum Constant and Description |
|---|
EXACT
Requires an exact type match.
|
SUBCLASS
Requires a subtype relationship.
|
| Modifier and Type | Field and Description |
|---|---|
protected static MethodDescription.InDefinedShape |
GET_CLASS
The
Object.getClass() method. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract StackManipulation |
resolve(TypeDescription instrumentedType)
Resolves a stack manipulation for the required type compatibility check.
|
static EqualsMethod.TypeCompatibilityCheck |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EqualsMethod.TypeCompatibilityCheck[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EqualsMethod.TypeCompatibilityCheck EXACT
public static final EqualsMethod.TypeCompatibilityCheck SUBCLASS
protected static final MethodDescription.InDefinedShape GET_CLASS
Object.getClass() method.public static EqualsMethod.TypeCompatibilityCheck[] values()
for (EqualsMethod.TypeCompatibilityCheck c : EqualsMethod.TypeCompatibilityCheck.values()) System.out.println(c);
public static EqualsMethod.TypeCompatibilityCheck 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.