Searched refs:TypeWriter (Results 1 – 10 of 10) sorted by relevance
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | SourceFileGenerator.java | 26 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()
|
D | MapKeyGenerator.java | 32 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()
|
D | FactoryGenerator.java | 40 import dagger.internal.codegen.writer.TypeWriter; 110 final TypeWriter factoryWriter; in write()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | InterfaceWriter.java | 28 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()
|
D | JavaWriter.java | 66 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()
|
D | TypeWriter.java | 28 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()
|
D | ClassWriter.java | 36 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()
|
D | EnumWriter.java | 36 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()
|
D | ConstructorWriter.java | 48 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter()
|
D | MethodWriter.java | 71 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter()
|