final String moduleNameString = arguments.getAndConsumeArgument();
final String libClassScope = arguments.getAndConsumeArgument();
final String libClassName = arguments.getAndConsumeArgument();
final JavaScope scope;
try {
scope = JavaScope.valueOf(libClassScope.toUpperCase());
if (scope == JavaScope.PROTECTED || scope == JavaScope.PRIVATE) {
//package and private scopes are not allowed for top-level Java classes.
logger.info(StandaloneJarToolMessages.getString("invalidScope", libClassScope));