private boolean promptToFixMethod( UIExecutionContext context, String methodName, String propertyName) { UIPrompt prompt = context.getPrompt(); return prompt.promptBoolean( "Method '" + methodName + "'already exists for property" + propertyName + " . Method is not following the selected pattern." + " Should it be fixed?"); }
@Command(value = "wait", help = "Wait for ENTER.", enabled = NonGUIEnabledPredicate.class) public void wait(UIPrompt prompt) { prompt.prompt("Press <ENTER> to continue..."); }