AnalyzerConfig { public static Maven maven(Language... languages) { return maven(null, languages); } AnalyzerConfig();  AnalyzerConfig(AnalyzerConfig config); protected  AnalyzerConfig(EnumSet<Language> languages, List<Path> sources, List<Path> classes); AnalyzerConfig and(AnalyzerConfig config); static Maven maven(Language... languages); static Maven maven(String module, Language... languages); static Gradle gradle(Language... languages); static Gradle gradle(String module, Language... languages); AnalyzerConfig withSources(File basedir, String... packages); AnalyzerConfig withClasses(File basedir, String... packages); List<Path> getSourcePaths(Language... languages); List<Path> getClassPaths(Language... languages); List<File> getSources(Language... languages); List<File> getClasses(Language... languages);  }
@Test void mavenModuleRedefinition() { assertThrows(IllegalStateException.class, () -> AnalyzerConfig.maven("code-assert-core").modules("").mainAndTest()); }