Package io.papermc.asm.rules.method
Annotation Interface DirectStaticRewrite.Wrapper
- Enclosing class:
DirectStaticRewrite
Annotate a
public static method with this annotation and then scan it with TODO
to automatically generate a DirectParameterRewrite rule.-
Field Details
-
IMPLIED_METHOD_NAME
- See Also:
-
-
Element Details
-
owners
String[] ownersThe owners of the method to rewrite.- Returns:
- the owners
- Default:
{}
-
ownerClasses
Class<?>[] ownerClassesThe owners of the method to rewrite.- Returns:
- the owners
- Default:
{}
-
type
MethodType typeThe type of the method to rewrite.- Returns:
- the type
- Default:
VIRTUAL
-
methodName
String methodNameThe type to convert the parameters to.- Returns:
- the type to convert to
- Default:
"__%%implied_method_name%%__"
-