add context Object to check methods and create the ability to have a specific method for each type of context or one for all by using the superclass and casting yourself
All checks were successful
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 12s
Test / Gradle-Test (push) Successful in 17s

This commit is contained in:
2024-11-29 18:17:33 +01:00
parent 019ba8f552
commit 659218682e
3 changed files with 24 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ import java.lang.annotation.Annotation;
public interface InteractionCheck<A extends Annotation> {
public boolean preExec(A annotation);
public boolean postExec(A annotation);
public boolean preExec(Object context, A annotation);
public boolean postExec(Object context, A annotation);
}