Home
last modified time | relevance | path

Searched refs:JavaWriter (Results 1 – 12 of 12) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java51 public final class JavaWriter { class
52 public static JavaWriter inPackage(String packageName) { in inPackage()
53 return new JavaWriter(packageName); in inPackage()
56 public static JavaWriter inPackage(Package enclosingPackage) { in inPackage()
57 return new JavaWriter(enclosingPackage.getName()); in inPackage()
60 public static JavaWriter inPackage(PackageElement packageElement) { in inPackage()
61 return new JavaWriter(packageElement.getQualifiedName().toString()); in inPackage()
69 private JavaWriter(String packageName) { in JavaWriter() method in JavaWriter
79 public JavaWriter addImport(Class<?> importedClass) { in addImport()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSourceFileGenerator.java25 import dagger.internal.codegen.writer.JavaWriter;
54 ImmutableSet<JavaWriter> writers = write(generatedTypeName, input); in generate()
55 for (JavaWriter javaWriter : writers) { in generate()
99 abstract ImmutableSet<JavaWriter> write(ClassName generatedTypeName, T input);
DMonitoringModuleGenerator.java25 import dagger.internal.codegen.writer.JavaWriter;
69 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, TypeElement componentElement) { in write()
70 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
DComponentWriter.java22 import dagger.internal.codegen.writer.JavaWriter;
52 JavaWriter javaWriter = JavaWriter.inPackage(name.packageName()); in createComponentClass()
DMapKeyGenerator.java27 import dagger.internal.codegen.writer.JavaWriter;
114 ImmutableSet<JavaWriter> write( in write()
116 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
DFactoryGenerator.java32 import dagger.internal.codegen.writer.JavaWriter;
100 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, ProvisionBinding binding) { in write()
108 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
DComponentGenerator.java25 import dagger.internal.codegen.writer.JavaWriter;
122 ImmutableSet<JavaWriter> write(ClassName componentName, BindingGraph input) { in write()
DMembersInjectorGenerator.java34 import dagger.internal.codegen.writer.JavaWriter;
111 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, MembersInjectionBinding binding) {
122 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName());
DProducerFactoryGenerator.java36 import dagger.internal.codegen.writer.JavaWriter;
95 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, ProductionBinding binding) { in write()
102 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
DAbstractComponentWriter.java47 import dagger.internal.codegen.writer.JavaWriter;
128 protected final Set<JavaWriter> javaWriters = new LinkedHashSet<>();
253 ImmutableSet<JavaWriter> write() { in write()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DJavaWriterTest.java27 JavaWriter javaWriter = JavaWriter.inPackage("test"); in referencedAndDeclaredSimpleName()
/external/dagger2/
DCHANGELOG.md76 * Update JavaWriter to 2.1.1.
82 * Update JavaWriter to 1.0.5.