Searched refs:sourceLines (Results 1 – 2 of 2) sorted by relevance
41 private final ImmutableList.Builder<String> sourceLines = ImmutableList.builder(); field in JavaFileBuilder73 sourceLines.add(lines); in addLines()85 sourceLines.add(lines); in addLinesIf()92 return JavaFileObjects.forSourceLines(qualifiedName, sourceLines.build()); in build()
439 List<String> sourceLines = Resources.readLines(Resources.getResource(resourceName), UTF_8); in loadExpectedFile() local441 replaceGeneratedImport(sourceLines); in loadExpectedFile()444 resourceName.replace('/', '.').replace(".java", ""), sourceLines); in loadExpectedFile()454 private static void replaceGeneratedImport(List<String> sourceLines) { in replaceGeneratedImport() argument458 for (String line : sourceLines) { in replaceGeneratedImport()466 List<String> importLines = sourceLines.subList(firstImport, lastImport + 1); in replaceGeneratedImport()