# Deprecated API

## Contents

- Classes
- Exceptions

- Classes
  Class | Description
  --- | ---
  org.spongepowered.asm.mixin.injection.callback.CallbackInfo | micromixin-runtime is deprecated for removal. Use micromixin-annotations instead. Reason for this is that mixin annotations have a retention policy of `RetentionPolicy.RUNTIME`. In edge cases such as `Annotation.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 the `LocalCapture` class in the callback package.
  org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable | micromixin-runtime is deprecated for removal. Use micromixin-annotations instead. Reason for this is that mixin annotations have a retention policy of `RetentionPolicy.RUNTIME`. In edge cases such as `Annotation.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 the `LocalCapture` class in the callback package.

- Exceptions
  Exceptions | Description
  --- | ---
  org.spongepowered.asm.mixin.injection.callback.CancellationException | micromixin-runtime is deprecated for removal. Use micromixin-annotations instead. Reason for this is that mixin annotations have a retention policy of `RetentionPolicy.RUNTIME`. In edge cases such as `Annotation.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 the `LocalCapture` class in the callback package.