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
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user