Home
last modified time | relevance | path

Searched refs:sourceLines (Results 1 – 2 of 2) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/
DJavaFileBuilder.java41 private final ImmutableList.Builder<String> sourceLines = ImmutableList.builder(); field in JavaFileBuilder
73 sourceLines.add(lines); in addLines()
85 sourceLines.add(lines); in addLinesIf()
92 return JavaFileObjects.forSourceLines(qualifiedName, sourceLines.build()); in build()
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryProcessorTest.java439 List<String> sourceLines = Resources.readLines(Resources.getResource(resourceName), UTF_8); in loadExpectedFile() local
441 replaceGeneratedImport(sourceLines); in loadExpectedFile()
444 resourceName.replace('/', '.').replace(".java", ""), sourceLines); in loadExpectedFile()
454 private static void replaceGeneratedImport(List<String> sourceLines) { in replaceGeneratedImport() argument
458 for (String line : sourceLines) { in replaceGeneratedImport()
466 List<String> importLines = sourceLines.subList(firstImport, lastImport + 1); in replaceGeneratedImport()