public interface SubstitutionGuard
ClassSubstitution
and
MethodSubstitution
.
Implementor must have a single public constructor with one of the following signatures:
Guard(Architecture)
Guard()
(an implicit constructor is OK as well)Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Return true if the substitution should be enabled.
|
boolean execute()