@Test void scan_single_file_with_dumb_file_should_not_fail() throws Exception { String filename = "!!dummy"; JavaAstScanner.scanSingleFileForTests(TestUtils.emptyInputFile(filename), new VisitorsBridge(null)); }
@VisibleForTesting public static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge) { scanSingleFileForTests(file, visitorsBridge, new JavaVersionImpl(), null); }
JavaAstScanner { @VisibleForTesting public static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge) { scanSingleFileForTests(file, visitorsBridge, new JavaVersionImpl(), null); } }
JavaAstScanner { @VisibleForTesting public static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge) { scanSingleFileForTests(file, visitorsBridge, new JavaVersionImpl(), null); } JavaAstScanner(@Nullable SonarComponents sonarComponents); }
JavaAstScanner { @VisibleForTesting public static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge) { scanSingleFileForTests(file, visitorsBridge, new JavaVersionImpl(), null); } JavaAstScanner(@Nullable SonarComponents sonarComponents); void scan(Iterable<? extends InputFile> inputFiles); void setVisitorBridge(VisitorsBridge visitor); @VisibleForTesting static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge); @VisibleForTesting static void scanSingleFileForTests(InputFile inputFile, VisitorsBridge visitorsBridge, JavaVersion javaVersion, @Nullable SonarComponents sonarComponents); }
JavaAstScanner { @VisibleForTesting public static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge) { scanSingleFileForTests(file, visitorsBridge, new JavaVersionImpl(), null); } JavaAstScanner(@Nullable SonarComponents sonarComponents); void scan(Iterable<? extends InputFile> inputFiles); void setVisitorBridge(VisitorsBridge visitor); @VisibleForTesting static void scanSingleFileForTests(InputFile file, VisitorsBridge visitorsBridge); @VisibleForTesting static void scanSingleFileForTests(InputFile inputFile, VisitorsBridge visitorsBridge, JavaVersion javaVersion, @Nullable SonarComponents sonarComponents);  }