Package com.llamalad7.mixinextras.utils
Class Decorations
java.lang.Object
com.llamalad7.mixinextras.utils.Decorations
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStores the shared CallbackInfo local index for this target instruction.static final StringStores a map of LVT index of target local -> LVT index of applicableLocalRef.static final StringStores the types that a NEW's <init> takes as its parameters.static final StringStores that a NEW instruction is immediately DUPed so thatWrapOperationcan handle it properly.static final String"Persistent" decorations will be copied to handler method calls which targeted the original instruction.static final StringStores that a non-void operation has its result immediately popped and so can be treated as void by someone usingWrapWithConditionon it.static final StringStores that this node has been wrapped by aWrapOperation. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
Stores that a non-void operation has its result immediately popped and so can be treated as void by someone usingWrapWithConditionon it.- See Also:
-
LOCAL_REF_MAP
Stores a map of LVT index of target local -> LVT index of applicableLocalRef. References should be shared by injectors that wrap/replace the same target instruction.- See Also:
-
NEW_IS_DUPED
Stores that a NEW instruction is immediately DUPed so thatWrapOperationcan handle it properly.- See Also:
-
NEW_ARG_TYPES
Stores the types that a NEW's <init> takes as its parameters.- See Also:
-
WRAPPED
Stores that this node has been wrapped by aWrapOperation.- See Also:
-
CANCELLABLE_CI_INDEX
Stores the shared CallbackInfo local index for this target instruction.- See Also:
-
-
Constructor Details
-
Decorations
public Decorations()
-