public List<RouteMethod> parse(String application) throws Exception {
    return new BytecodeRouteParser(loader, dir).parse(application).stream()
        .filter(filter)
        .collect(Collectors.toList());
  }
public List<RouteMethod> parse(String application) throws Exception {
    return new BytecodeRouteParser(loader, dir).parse(application).stream()
        .filter(filter)
        .collect(Collectors.toList());
  }
public List < RouteMethod > parse ( String application ) throws Exception { return new BytecodeRouteParser ( loader , dir ) . parse ( application ) . stream ( ) . filter ( filter ) . collect ( Collectors . toList ( ) ) ; }
Parse application bytecode and build route methods from it.

@param application Application to parse.
@return List of route methods.
@throws Exception If something goes wrong.
Parse application bytecode and build route methods from it .