OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ConstructorWriter
(Results
1 - 8
of
8
) sorted by null
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
ClassWriter.java
38
private final List<
ConstructorWriter
> constructorWriters;
70
public
ConstructorWriter
addConstructor() {
71
ConstructorWriter
constructorWriter
= new
ConstructorWriter
(name.simpleName());
72
constructorWriters.add(
constructorWriter
);
73
return
constructorWriter
;
112
for (
ConstructorWriter
constructorWriter
: constructorWriters) {
114
if (!isDefaultConstructor(
constructorWriter
)) {
[
all
...]
EnumWriter.java
38
private final List<
ConstructorWriter
> constructorWriters = Lists.newArrayList();
50
public
ConstructorWriter
addConstructor() {
51
ConstructorWriter
constructorWriter
= new
ConstructorWriter
(name.simpleName());
52
constructorWriters.add(
constructorWriter
);
53
return
constructorWriter
;
96
for (
ConstructorWriter
constructorWriter
: constructorWriters) {
98
if (!isDefaultConstructor(
constructorWriter
)) {
[
all
...]
ConstructorWriter.java
29
public final class
ConstructorWriter
extends Modifiable implements Writable, HasClassReferences {
34
ConstructorWriter
(String name) {
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
FactoryGenerator.java
29
import dagger.internal.codegen.writer.
ConstructorWriter
;
111
final Optional<
ConstructorWriter
>
constructorWriter
;
120
constructorWriter
= Optional.absent();
133
constructorWriter
= Optional.of(classWriter.addConstructor());
134
constructorWriter
.get().addModifiers(PUBLIC);
140
constructorWriter
.get().addParameter(enclosingType, "module");
141
constructorWriter
.get().body()
163
constructorWriter
.get().addParameter(membersInjectorType, "membersInjector");
164
constructorWriter
.get().body(
[
all
...]
MembersInjectorGenerator.java
32
import dagger.internal.codegen.writer.
ConstructorWriter
;
137
ConstructorWriter
constructorWriter
= injectorWriter.addConstructor();
138
constructorWriter
.addModifiers(PUBLIC);
181
constructorWriter
.addParameter(field.type(), field.name());
195
constructorWriter
.body().addSnippet("assert %s != null;", field.name());
196
constructorWriter
.body().addSnippet("this.%1$s = %1$s;", field.name());
205
Joiner.on(", ").join(
constructorWriter
.parameters().keySet()));
ProducerFactoryGenerator.java
34
import dagger.internal.codegen.writer.
ConstructorWriter
;
105
ConstructorWriter
constructorWriter
= factoryWriter.addConstructor();
106
constructorWriter
.addModifiers(PUBLIC);
112
constructorWriter
123
constructorWriter
.addParameter(binding.bindingTypeElement(), "module");
124
constructorWriter
.body()
131
constructorWriter
.addParameter(Executor.class, "executor");
132
constructorWriter
.body()
151
constructorWriter
.addParameter(field.type(), field.name())
[
all
...]
AbstractComponentWriter.java
45
import dagger.internal.codegen.writer.
ConstructorWriter
;
138
protected
ConstructorWriter
constructorWriter
;
206
constructorWriter
277
constructorWriter
= componentWriter.addConstructor();
278
constructorWriter
.addModifiers(PRIVATE);
302
constructorWriter
.addParameter(builderWriter, "builder");
303
constructorWriter
.body().addSnippet("assert builder != null;");
700
constructorWriter
.body().addSnippet("%s(builder);", initializeMethod.name());
702
constructorWriter
.body().addSnippet("%s();", initializeMethod.name())
[
all
...]
/prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.0/
dagger-compiler-2.0.jar
Completed in 772 milliseconds