public static void logIncompatibleTypes(String found, String required, 
            Position position) {
        logger.log(
                java.util.logging.Level.WARNING, 
                "Type mismatch at {0}: found {1}, required {2}", 
                new Object[]{
                    position, found, required
                });
    }