Annotation Interface WrapOperation


@Target(METHOD) @Retention(RUNTIME) public @interface WrapOperation
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    org.spongepowered.asm.mixin.injection.At[]
    Selector for targeting method calls, field gets/sets and object instantiations.
    org.spongepowered.asm.mixin.injection.Constant[]
    Selector for targeting `instanceof`s.
    int
     
    boolean
     
    int
     
    org.spongepowered.asm.mixin.injection.Slice[]
     
  • Element Details

    • at

      org.spongepowered.asm.mixin.injection.At[] at
      Selector for targeting method calls, field gets/sets and object instantiations.
      Default:
      {}
    • constant

      org.spongepowered.asm.mixin.injection.Constant[] constant
      Selector for targeting `instanceof`s.
      Default:
      {}
    • slice

      org.spongepowered.asm.mixin.injection.Slice[] slice
      Default:
      {}
    • remap

      boolean remap
      Default:
      true
    • require

      int require
      Default:
      -1
    • expect

      int expect
      Default:
      1
    • allow

      int allow
      Default:
      -1