indexFile(writer, "/path/file14.txt", "some file with body-css-style ");
indexFile(writer, "/path/file15.txt", "Assert.assertEquals(\"Setter\", expected (new MethodClassifier) is");
indexFile(writer, "/path/file16.txt", "class MethodClassifier() { Integer a = new Integer(1); String s = new String(); } ");
indexFile(writer, "/path/file17.txt", "MethodClassifier(); main() { class Different { static class B; } }");
numDocs = writer.numDocs();
writer.close();
}
private static void indexFile(IndexWriter writer, String path, String contents) throws CoreException, IOException
{