refactor(reflection): migrate to using cutin library
All checks were successful
github-mirror / push-github (push) Successful in 12s
Build / Gradle-Build (push) Successful in 15s
Test / Gradle-Test (push) Successful in 24s

This commit is contained in:
2025-04-13 23:15:38 +02:00
parent ebf5600e29
commit ef9384336a
47 changed files with 452 additions and 756 deletions

View File

@@ -0,0 +1,19 @@
package net.tomatentum.marinara.container;
import net.tomatentum.cutin.ReflectedMethodFactoryImpl;
import net.tomatentum.cutin.container.LoneMethodContainer;
import net.tomatentum.marinara.checks.CheckExecutionContext;
import net.tomatentum.marinara.checks.CheckMethodIdentifier;
import net.tomatentum.marinara.checks.CheckMethodIdentifier.CheckMethodType;
import net.tomatentum.marinara.checks.InteractionCheckMethod.InteractionCheckMethodFactory;
public class InteractionCheckContainer extends LoneMethodContainer<CheckMethodIdentifier, CheckExecutionContext> {
public InteractionCheckContainer() {
super(new ReflectedMethodFactoryImpl<>());
super.factory()
.addFactory(new InteractionCheckMethodFactory(this, CheckMethodType.PRE))
.addFactory(new InteractionCheckMethodFactory(this, CheckMethodType.POST));
}
}