@Override public CodeSnippet process(HttpVariable httpVariable) { HttpAnnotation annotation = httpVariable.getHttpAnnotation().get(); String httpNameArgument = '"' + annotation.getName() + '"'; String variableNameArgument = httpVariable.getName(); String dateFormatArgument = parseOptionalStringArgument(httpVariable.getDateFormat(), "defaultDateFormat"); return process(httpVariable, httpNameArgument, variableNameArgument, dateFormatArgument); }
@Override public boolean canProcess(HttpVariable variable) { return variable.getHttpAnnotation().get().getParameterType() == getSupportedParameterType(); }