Enum Class ITargetSelector.Configure

java.lang.Object
java.lang.Enum<ITargetSelector.Configure>
org.spongepowered.asm.mixin.injection.selectors.ITargetSelector.Configure
All Implemented Interfaces:
Serializable, Comparable<ITargetSelector.Configure>, Constable
Enclosing interface:
ITargetSelector

public static enum ITargetSelector.Configure extends Enum<ITargetSelector.Configure>
Available selector reconfigurations
  • Enum Constant Details

    • SELECT_MEMBER

      public static final ITargetSelector.Configure SELECT_MEMBER
      Configure this selector for matching members in a class. Usually used to set defaults for match limits based on role.
    • SELECT_INSTRUCTION

      public static final ITargetSelector.Configure SELECT_INSTRUCTION
      Configure this selector for matching field and method instructions in a method body. Usually used to set defaults for match limits.
    • MOVE

      public static final ITargetSelector.Configure MOVE
      Where supported, changes the owner selection to the specified value.
    • ORPHAN

      public static final ITargetSelector.Configure ORPHAN
      Where supported, changes the owner selection to match all owners, retaining other properties.
    • TRANSFORM

      public static final ITargetSelector.Configure TRANSFORM
      Where supported, changes the descriptor to the specified value.
    • PERMISSIVE

      public static final ITargetSelector.Configure PERMISSIVE
      Where supported, changes the descriptor to match all target descriptors, retaining other properties
    • CLEAR_LIMITS

      public static final ITargetSelector.Configure CLEAR_LIMITS
      Where supported, removes the min and max limits for the selector, allowing it to return as many or as few matches as required.
  • Method Details

    • values

      public static ITargetSelector.Configure[] 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

      public static ITargetSelector.Configure valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • checkArgs

      public void checkArgs(String... args) throws IllegalArgumentException
      Throws:
      IllegalArgumentException