public static class Injector.InjectorData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowCoerceArgs
When passing through
Injector.validateParams(org.spongepowered.asm.mixin.injection.code.Injector.InjectorData, org.objectweb.asm.Type, org.objectweb.asm.Type...) this
switch determines whether coercion is supported for both the primary
handler args and captured target args, or for target args only. |
int |
captureTargetArgs
Number of arguments to capture from the target, determined by the
number of extra args on the handler method
|
boolean |
coerceReturnType
True if the method itself is decorated with
Coerce and the
return type is coerced. |
java.lang.String |
description
Mutable description.
|
Target |
target
Redirect target
|
| Constructor and Description |
|---|
InjectorData(Target target) |
InjectorData(Target target,
java.lang.String description) |
InjectorData(Target target,
java.lang.String description,
boolean allowCoerceArgs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public final Target target
public java.lang.String description
public boolean allowCoerceArgs
Injector.validateParams(org.spongepowered.asm.mixin.injection.code.Injector.InjectorData, org.objectweb.asm.Type, org.objectweb.asm.Type...) this
switch determines whether coercion is supported for both the primary
handler args and captured target args, or for target args only.public int captureTargetArgs
public boolean coerceReturnType
Coerce and the
return type is coerced. Instructs the injector to add a CHECKCAST
following the handler.