use of com.github.javaparser.symbolsolver.resolution.typesolvers.ClassLoaderTypeSolver in project flow by vaadin.
the class OpenAPIObjectGenerator method createParserConfiguration.
private ParserConfiguration createParserConfiguration() {
typeSolver = new CombinedTypeSolver(new ReflectionTypeSolver(false));
if (typeResolverClassLoader != null) {
typeSolver.add(new ClassLoaderTypeSolver(typeResolverClassLoader));
}
JavaSymbolSolver symbolResolver = new JavaSymbolSolver(typeSolver);
return new ParserConfiguration().setSymbolResolver(symbolResolver);
}
Aggregations