Package org.spongepowered.asm.mixin.injection
package org.spongepowered.asm.mixin.injection
Injectors are class postprocessors which search for annotated methods merged
by mixins and perform weaving operations as requested.
-
ClassDescriptionAnnotation for specifying the type of
InjectionPointto use to perform anInjectprocess.Shift is used to shift resulting opcodesUsage with callback injectors (@Inject)Annotation for specifying the injection point for anModifyConstantinjector.Available options for theConstant.expandZeroConditions()setting.A descriptor for matching a target element, for details of usage seeDynamicSelectorDesc.Collection type forDescto allowRepeatableto work.This annotation can be used on any injector callback to define a value for total required injections across multiple callbacks.Context for an injection point, used to access the mixin as well as the owner method and annotation for the injection pointSpecifies that this mixin method should inject a callback (or callbacks) to itself in the target method(s) identified byInject.method().Base class for injection point discovery classes.Injection point code forAtannotations to useBoolean extensions for the At parser, mainly to avoid having to add many booleans in the futureTarget restriction level for different injection point types when used by restricted injectors (eg.Additional specifier for injection points.Specifies that this mixin method should inject an argument modifier to itself in the target method(s) identified byModifyArg.method().Specifies that this mixin method should inject an multi-argument modifier callback to itself in the target method(s) identified byModifyArgs.method().Specifies that this mixin method should inject a constant modifier callback to itself in the target method(s) identified byModifyConstant.method()at the specified LDC (or specialised const opcode) instruction in order to adjust the constant value returned.Specifies that this mixin method should inject a variable modifier callback to itself in the target method(s) identified byModifyVariable.method().See@Desc.nextSpecifies that this mixin method should redirect the specified method call, field access or object construction (via the new keyword) to the method decorated with this annotation.A Slice identifies a section of a method to search for injection points.Annotation used to decorate surrogate injector methods.