Package net.bytebuddy.implementation
Enum EqualsMethod.NullValueGuard.NoOp
- java.lang.Object
-
- java.lang.Enum<EqualsMethod.NullValueGuard.NoOp>
-
- net.bytebuddy.implementation.EqualsMethod.NullValueGuard.NoOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EqualsMethod.NullValueGuard.NoOp>
,EqualsMethod.NullValueGuard
- Enclosing interface:
- EqualsMethod.NullValueGuard
public static enum EqualsMethod.NullValueGuard.NoOp extends java.lang.Enum<EqualsMethod.NullValueGuard.NoOp> implements EqualsMethod.NullValueGuard
A non-operational null value guard.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.EqualsMethod.NullValueGuard
EqualsMethod.NullValueGuard.NoOp, EqualsMethod.NullValueGuard.UsingJump
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
NoOp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StackManipulation
after()
Returns a stack manipulation to apply after computing equality.StackManipulation
before()
Returns a stack manipulation to apply before computing equality.int
getRequiredVariablePadding()
Returns the required padding for the local variable array to apply this guard.static EqualsMethod.NullValueGuard.NoOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EqualsMethod.NullValueGuard.NoOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final EqualsMethod.NullValueGuard.NoOp INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static EqualsMethod.NullValueGuard.NoOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EqualsMethod.NullValueGuard.NoOp c : EqualsMethod.NullValueGuard.NoOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EqualsMethod.NullValueGuard.NoOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
before
public StackManipulation 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
public StackManipulation 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.
-
-