Package io.papermc.asm.rules.method
Interface StaticRewrite
- All Superinterfaces:
FilteredMethodRewriteRule,MethodRewriteRule,OwnableRewriteRule,RewriteRule
- All Known Subinterfaces:
StaticRewrite.Generated,StaticRewrite.Generated.Param,StaticRewrite.Generated.Return
- All Known Implementing Classes:
StaticRewrite.Plain,StaticRewrites.DirectParam,StaticRewrites.FuzzyParam
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final recordstatic final recordNested classes/interfaces inherited from interface io.papermc.asm.rules.method.MethodRewriteRule
MethodRewriteRule.Rewrite, MethodRewriteRule.RewriteSingleNested classes/interfaces inherited from interface io.papermc.asm.rules.RewriteRule
RewriteRule.Chain, RewriteRule.ChainBuilder, RewriteRule.MethodGeneratorFactory -
Field Summary
FieldsFields inherited from interface io.papermc.asm.rules.method.MethodRewriteRule
LAMBDA_METAFACTORY_OWNERFields inherited from interface io.papermc.asm.rules.RewriteRule
EMPTY -
Method Summary
Modifier and TypeMethodDescriptiondefault MethodTypeDescmodifyMethodDescriptor(MethodTypeDesc bytecodeDescriptor) default MethodRewriteRule.Rewriterewrite(ClassProcessingContext context, boolean invokeDynamic, int opcode, String owner, String name, MethodTypeDesc descriptor, boolean isInterface) Methods inherited from interface io.papermc.asm.rules.method.FilteredMethodRewriteRule
matchingMethodsByName, methodMatcher, shouldProcessMethods inherited from interface io.papermc.asm.rules.method.MethodRewriteRule
createVisitorMethods inherited from interface io.papermc.asm.rules.OwnableRewriteRule
matchesOwner, ownersMethods inherited from interface io.papermc.asm.rules.RewriteRule
generateMethods
-
Field Details
-
CONSTRUCTOR_METHOD_NAME
- See Also:
-
-
Method Details
-
staticRedirectOwner
ClassDesc staticRedirectOwner() -
modifyMethodDescriptor
-
rewrite
default MethodRewriteRule.Rewrite rewrite(ClassProcessingContext context, boolean invokeDynamic, int opcode, String owner, String name, MethodTypeDesc descriptor, boolean isInterface) - Specified by:
rewritein interfaceMethodRewriteRule
-