Class CallbackInjectionInfo

All Implemented Interfaces:
ISliceContext, IInjectionPointContext, ISelectorContext, IMessageSink

public class CallbackInjectionInfo extends InjectionInfo
Information about a callback to inject, usually specified by Inject
  • Constructor Details

    • CallbackInjectionInfo

      protected CallbackInjectionInfo(MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation)
  • Method Details

    • parseInjector

      protected Injector parseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation)
      Specified by:
      parseInjector in class InjectionInfo
    • getSliceId

      public String getSliceId(String id)
      Description copied from class: InjectionInfo
      Return the mapped slice id for the specified ID. Injectors which only support use of a single slice will always return the default id (an empty string)
      Overrides:
      getSliceId in class InjectionInfo
      Parameters:
      id - slice id
      Returns:
      mapped id