Create IScanner for Java source 1.5 and below