Class Decorations

java.lang.Object
com.llamalad7.mixinextras.utils.Decorations

public class Decorations extends Object
  • Field Details

    • PERSISTENT

      public static final String PERSISTENT
      "Persistent" decorations will be copied to handler method calls which targeted the original instruction. This should be used as a prefix to an existing decoration key.
      See Also:
    • POPPED_OPERATION

      public static final String POPPED_OPERATION
      Stores that a non-void operation has its result immediately popped and so can be treated as void by someone using WrapWithCondition on it.
      See Also:
    • LOCAL_REF_MAP

      public static final String LOCAL_REF_MAP
      Stores a map of LVT index of target local -> LVT index of applicable LocalRef. References should be shared by injectors that wrap/replace the same target instruction.
      See Also:
    • NEW_IS_DUPED

      public static final String NEW_IS_DUPED
      Stores that a NEW instruction is immediately DUPed so that WrapOperation can handle it properly.
      See Also:
    • NEW_ARG_TYPES

      public static final String NEW_ARG_TYPES
      Stores the types that a NEW's <init> takes as its parameters.
      See Also:
    • WRAPPED

      public static final String WRAPPED
      Stores that this node has been wrapped by a WrapOperation.
      See Also:
    • CANCELLABLE_CI_INDEX

      public static final String CANCELLABLE_CI_INDEX
      Stores the shared CallbackInfo local index for this target instruction.
      See Also:
  • Constructor Details

    • Decorations

      public Decorations()