Package net.bytebuddy.implementation
Enum Class HashCodeMethod.NullValueGuard.NoOp
java.lang.Object
java.lang.Enum<HashCodeMethod.NullValueGuard.NoOp>
net.bytebuddy.implementation.HashCodeMethod.NullValueGuard.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<HashCodeMethod.NullValueGuard.NoOp>
,Constable
,HashCodeMethod.NullValueGuard
- Enclosing interface:
- HashCodeMethod.NullValueGuard
public static enum HashCodeMethod.NullValueGuard.NoOp
extends Enum<HashCodeMethod.NullValueGuard.NoOp>
implements HashCodeMethod.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.HashCodeMethod.NullValueGuard
HashCodeMethod.NullValueGuard.NoOp, HashCodeMethod.NullValueGuard.UsingJump
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafter()
Returns a stack manipulation to apply after computing a hash value.before()
Returns a stack manipulation to apply before computing a hash value.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 HashCodeMethod.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 a hash value.- Specified by:
before
in interfaceHashCodeMethod.NullValueGuard
- Returns:
- A stack manipulation to apply before computing a hash value.
-
after
Returns a stack manipulation to apply after computing a hash value.- Specified by:
after
in interfaceHashCodeMethod.NullValueGuard
- Returns:
- A stack manipulation to apply after computing a hash value.
-
getRequiredVariablePadding
public int getRequiredVariablePadding()Returns the required padding for the local variable array to apply this guard.- Specified by:
getRequiredVariablePadding
in interfaceHashCodeMethod.NullValueGuard
- Returns:
- The required padding for the local variable array to apply this guard.
-