Class CallbackInfo
- java.lang.Object
-
- org.spongepowered.asm.mixin.injection.callback.CallbackInfo
-
- Direct Known Subclasses:
CallbackInfoReturnable
@Deprecated public class CallbackInfo extends java.lang.ObjectDeprecated.micromixin-runtime is deprecated for removal. Use micromixin-annotations instead. Reason for this is that mixin annotations have a retention policy ofRetentionPolicy.RUNTIME. In edge cases such asAnnotation.annotationType(), the class needs to present at runtime. This is especially compounded by JPMS not supporting packages being in two or more modules, while micromixin-annotation having theLocalCaptureclass in the callback package.
-
-
Constructor Summary
Constructors Constructor Description CallbackInfo(java.lang.String name, boolean cancellable)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancel()Deprecated.java.lang.StringgetId()Deprecated.booleanisCancellable()Deprecated.booleanisCancelled()Deprecated.
-
-
-
Method Detail
-
getId
@NotNull public java.lang.String getId()
Deprecated.
-
cancel
public void cancel() throws CancellationExceptionDeprecated.- Throws:
CancellationException
-
isCancellable
public final boolean isCancellable()
Deprecated.
-
isCancelled
public final boolean isCancelled()
Deprecated.
-
-