private boolean isJavaProperty(String token)
    {
        String opt = token.substring(0, 1);
        Option option = options.getOption(opt);

        return option != null && (option.getArgs() >= 2 || option.getArgs() == Option.UNLIMITED_VALUES);
    }
private boolean isJavaProperty ( String token ) { String opt = token . substring ( 0 , 1 ) ; Option option = options . getOption ( opt ) ; return option != null && ( option . getArgs ( ) >= 2 || option . getArgs ( ) == Option . UNLIMITED_VALUES ) ; }
Check if the specified token is a Java-like property (-Dkey=value).