Home
last modified time | relevance | path

Searched refs:TypeWriter (Results 1 – 10 of 10) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DSourceFileGenerator.java26 import dagger.internal.codegen.writer.TypeWriter;
72 private static Iterable<ClassName> getNamesForWriters(Iterable<TypeWriter> typeWriters) { in getNamesForWriters()
73 return Iterables.transform(typeWriters, new Function<TypeWriter, ClassName>() { in getNamesForWriters()
74 @Override public ClassName apply(TypeWriter input) { in getNamesForWriters()
DMapKeyGenerator.java32 import dagger.internal.codegen.writer.TypeWriter;
117 TypeWriter mapKeyCreatorWriter = writer.addClass(generatedTypeName.simpleName()); in write()
129 private void writeCreateMethod(TypeWriter mapKeyCreatorWriter, TypeElement annotationElement) { in writeCreateMethod()
DFactoryGenerator.java40 import dagger.internal.codegen.writer.TypeWriter;
110 final TypeWriter factoryWriter; in write()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DInterfaceWriter.java28 public final class InterfaceWriter extends TypeWriter {
42 .transform(new Function<TypeWriter, ClassName>() { in write()
43 @Override public ClassName apply(TypeWriter input) { in write()
69 for (TypeWriter nestedTypeWriter : nestedTypeWriters) { in write()
DJavaWriter.java66 private final List<TypeWriter> typeWriters;
75 public List<TypeWriter> getTypeWriters() { in getTypeWriters()
124 .transform(new Function<TypeWriter, ClassName>() { in write()
125 @Override public ClassName apply(TypeWriter input) { in write()
132 Deque<TypeWriter> declaredTypes = new ArrayDeque<>(typeWriters); in write()
134 TypeWriter currentType = declaredTypes.pop(); in write()
167 for (TypeWriter typeWriter : typeWriters) { in write()
DTypeWriter.java28 public abstract class TypeWriter /* ha ha */ extends Modifiable class
33 final List<TypeWriter> nestedTypeWriters;
36 TypeWriter(ClassName name) { in TypeWriter() method in TypeWriter
49 public MethodWriter addMethod(TypeWriter returnType, String name) { in addMethod()
DClassWriter.java36 public final class ClassWriter extends TypeWriter {
91 .transform(new Function<TypeWriter, ClassName>() { in write()
92 @Override public ClassName apply(TypeWriter input) { in write()
122 for (TypeWriter nestedTypeWriter : nestedTypeWriters) { in write()
DEnumWriter.java36 public final class EnumWriter extends TypeWriter {
59 .transform(new Function<TypeWriter, ClassName>() { in write()
60 @Override public ClassName apply(TypeWriter input) { in write()
106 for (TypeWriter nestedTypeWriter : nestedTypeWriters) { in write()
DConstructorWriter.java48 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter()
DMethodWriter.java71 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter()