Package io.papermc.asm.versioned
Class CachingVersionedRuleFactory
java.lang.Object
io.papermc.asm.versioned.CachingVersionedRuleFactory
- All Implemented Interfaces:
VersionedRuleFactory
Caches creating
RewriteRules for each ApiVersion.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.asm.versioned.VersionedRuleFactory
VersionedRuleFactory.Chain -
Field Summary
Fields inherited from interface io.papermc.asm.versioned.VersionedRuleFactory
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VersionedRuleFactoryfinal RewriteRulecreateRule(ApiVersion<?> apiVersion) protected final VersionedRuleFactory
-
Constructor Details
-
CachingVersionedRuleFactory
public CachingVersionedRuleFactory()
-
-
Method Details
-
createRootFactory
-
rootFactory
-
createRule
- Specified by:
createRulein interfaceVersionedRuleFactory
-