void (InspectionApplication app) { app.myHelpProvider = this; app.myProjectPath = determineProjectPath(); app.myProfileName = getProfileNameOrPathProperty(); app.myOutPath = determineOutputPath(); app.mySourceDirectory = determineDirectoryToInspect(app.myProjectPath); app.setVerboseLevel(getVerboseLevelProperty()); final Boolean errorCodeRequired = getErrorCodeRequiredProperty(); if (errorCodeRequired != null) { app.myErrorCodeRequired = errorCodeRequired; } final Boolean runWithEditorSettings = getRunWithEditorSettingsProperty(); if (runWithEditorSettings != null) { app.myRunWithEditorSettings = runWithEditorSettings; } final String xsltSchemePath = getXSLTSchemePathProperty(); if (xsltSchemePath != null) { app.myOutputFormat = xsltSchemePath; } else { final String outputFormat = getOutputFormatProperty(); if (outputFormat != null) { app.myOutputFormat = StringUtil.toLowerCase(outputFormat); } } }