Package io.papermc.asm.rules.method
Interface FilteredMethodRewriteRule
- All Superinterfaces:
MethodRewriteRule,OwnableRewriteRule,RewriteRule
- All Known Subinterfaces:
StaticRewrite,StaticRewrite.Generated,StaticRewrite.Generated.Param,StaticRewrite.Generated.Return
- All Known Implementing Classes:
MethodRewrites.SubTypeReturn,MethodRewrites.SuperTypeParam,StaticRewrite.Plain,StaticRewrites.DirectParam,StaticRewrites.FuzzyParam
A rule that targets specific methods and owners.
-
Nested Class Summary
Nested 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
Fields 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 Stream<Map.Entry<Executable,MethodTypeDesc>> default booleanshouldProcess(ClassProcessingContext context, int opcode, String owner, String name, String descriptor, boolean isInterface) Methods inherited from interface io.papermc.asm.rules.method.MethodRewriteRule
createVisitor, rewriteMethods inherited from interface io.papermc.asm.rules.OwnableRewriteRule
matchesOwner, ownersMethods inherited from interface io.papermc.asm.rules.RewriteRule
generateMethods
-
Method Details
-
methodMatcher
MethodMatcher methodMatcher() -
shouldProcess
default boolean shouldProcess(ClassProcessingContext context, int opcode, String owner, String name, String descriptor, boolean isInterface) - Specified by:
shouldProcessin interfaceMethodRewriteRule
-
matchingMethodsByName
-