public Path export(Path outputBaseDir, String application) throws Exception {
    return new BytecodeRouteParser(loader, dir).export(outputBaseDir, application);
  }
public Path export(Path outputBaseDir, String application) throws Exception {
    return new BytecodeRouteParser(loader, dir).export(outputBaseDir, application);
  }
public Path export ( Path outputBaseDir , String application ) throws Exception { return new BytecodeRouteParser ( loader , dir ) . export ( outputBaseDir , application ) ; }
Parse application bytecode, build route methods from it and export all metadata to <code>.json</code>.

@param outputBaseDir Output base directory. This method appends the java package of the given
application.
@param application Application to parse.
@return List of route methods.
@throws Exception If something goes wrong.
Parse application bytecode build route methods from it and export all metadata to <code > . json< / code > .