Calling JavaParser.parse(InputStream) so it is transaction-compatible