Package net.bytebuddy.implementation
Enum Class EqualsMethod.NullValueGuard.NoOp
java.lang.Object
java.lang.Enum<EqualsMethod.NullValueGuard.NoOp>
net.bytebuddy.implementation.EqualsMethod.NullValueGuard.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<EqualsMethod.NullValueGuard.NoOp>
,Constable
,EqualsMethod.NullValueGuard
- Enclosing interface:
EqualsMethod.NullValueGuard
public static enum EqualsMethod.NullValueGuard.NoOp
extends Enum<EqualsMethod.NullValueGuard.NoOp>
implements EqualsMethod.NullValueGuard
A non-operational null value guard.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.EqualsMethod.NullValueGuard
EqualsMethod.NullValueGuard.NoOp, EqualsMethod.NullValueGuard.UsingJump
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafter()
Returns a stack manipulation to apply after computing equality.before()
Returns a stack manipulation to apply before computing equality.int
Returns the required padding for the local variable array to apply this guard.Returns the enum constant of this class with the specified name.static EqualsMethod.NullValueGuard.NoOp[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
before
Returns a stack manipulation to apply before computing equality.- Specified by:
before
in interfaceEqualsMethod.NullValueGuard
- Returns:
- A stack manipulation to apply before computing equality.
-
after
Returns a stack manipulation to apply after computing equality.- Specified by:
after
in interfaceEqualsMethod.NullValueGuard
- Returns:
- A stack manipulation to apply after computing equality.
-
getRequiredVariablePadding
public int getRequiredVariablePadding()Returns the required padding for the local variable array to apply this guard.- Specified by:
getRequiredVariablePadding
in interfaceEqualsMethod.NullValueGuard
- Returns:
- The required padding for the local variable array to apply this guard.
-