E.g., here:
|
.addSourceFile("testdata/Shape_Stuff.java") |
We should call com.google.errorprone.CompilationTestHelper#addSourceLines instead and copy the relevant source into a text block, and then delete the separate source files. We can also remove any related @SuppressWarnings("deprecation") annotations.