}
try {
URL orig = file.toURI().toURL();
DefaultIncludeResolver includeResolver = getDefaultIncludeResolver(file.getParentFile());
DefineState defineState = new DefineState(new HashMap<String, String>());
IdlPreprocessorReader preprocessor = new IdlPreprocessorReader(orig,
location,
includeResolver,
defineState);
IDLLexer lexer = new IDLLexer(new java.io.LineNumberReader(preprocessor));
lexer.setTokenObjectClass("antlr.CommonHiddenStreamToken");