Annotation Interface DirectStaticRewrite.Wrapper

Enclosing class:
DirectStaticRewrite

@Target(METHOD) @Retention(RUNTIME) public static @interface DirectStaticRewrite.Wrapper
Annotate a public static method with this annotation and then scan it with TODO to automatically generate a DirectParameterRewrite rule.
  • Field Details

  • Element Details

    • owners

      String[] owners
      The owners of the method to rewrite.
      Returns:
      the owners
      Default:
      {}
    • ownerClasses

      Class<?>[] ownerClasses
      The owners of the method to rewrite.
      Returns:
      the owners
      Default:
      {}
    • type

      The type of the method to rewrite.
      Returns:
      the type
      Default:
      VIRTUAL
    • methodName

      String methodName
      The type to convert the parameters to.
      Returns:
      the type to convert to
      Default:
      "__%%implied_method_name%%__"