Enum MemberSubstitution.Replacement.Binding.Unresolved

java.lang.Object
java.lang.Enum<MemberSubstitution.Replacement.Binding.Unresolved>
net.bytebuddy.asm.MemberSubstitution.Replacement.Binding.Unresolved
All Implemented Interfaces:
Serializable, Comparable<MemberSubstitution.Replacement.Binding.Unresolved>, java.lang.constant.Constable, MemberSubstitution.Replacement.Binding
Enclosing interface:
MemberSubstitution.Replacement.Binding

public static enum MemberSubstitution.Replacement.Binding.Unresolved extends Enum<MemberSubstitution.Replacement.Binding.Unresolved> implements MemberSubstitution.Replacement.Binding
An unresolved binding.
  • Enum Constant Details

  • Constructor Details

    • Unresolved

      private Unresolved()
  • Method Details

    • 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

      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
    • isBound

      public boolean isBound()
      Returns true if this binding is resolved.
      Specified by:
      isBound in interface MemberSubstitution.Replacement.Binding
      Returns:
      true if this binding is resolved.
    • make

      public StackManipulation make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)
      Creates a stack manipulation that represents the substitution. This method can only be called for actually bound bindings.
      Specified by:
      make in interface MemberSubstitution.Replacement.Binding
      Parameters:
      parameters - The parameters that are accessible to the substitution target.
      result - The result that is expected from the substitution target or void if none is expected.
      methodHandle - A method handle that represents the original expression that is being substituted.
      stackManipulation - The original byte code expression that is being substituted.
      freeOffset - The first offset that can be used for storing local variables.
      Returns:
      A stack manipulation that represents the replacement.