Config conf = JPF.createConfig(args);
ProviderFactory.init(conf);
ModelClassProvider modelProvider = ProviderFactory.getModelProvider();
List<Reporter> reporters = buildReportersList(conf);
List<Checker> checkers = buildCheckersList(conf, reporters);
Collection<MethodSpec> specs = getSpecs(conf);
for (ClassInfo model : modelProvider.loadClassInfos(specs)) {
checkModelClass(model, checkers);
}
for (Reporter reporter : reporters) {
reporter.close();