Annotation Type CanExecute
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface CanExecuteUse this annotation to tag methods that determine if this object's
Executemethod can be called. The tagged method must return Boolean value.
This annotation must not be applied to more than one method per class. If several class methods are tagged with this annotation, only one of them will be called.