Enum 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>, java.lang.constant.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.
  • Enum Constant Details

  • Constructor Details

    • NoOp

      private NoOp()
  • Method Details

    • values

      public static HashCodeMethod.NullValueGuard.NoOp[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HashCodeMethod.NullValueGuard.NoOp valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • before

      public StackManipulation before()
      Returns a stack manipulation to apply before computing a hash value.
      Specified by:
      before in interface HashCodeMethod.NullValueGuard
      Returns:
      A stack manipulation to apply before computing a hash value.
    • after

      public StackManipulation after()
      Returns a stack manipulation to apply after computing a hash value.
      Specified by:
      after in interface HashCodeMethod.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 interface HashCodeMethod.NullValueGuard
      Returns:
      The required padding for the local variable array to apply this guard.