OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:componentMethod
(Results
1 - 8
of
8
) sorted by null
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ProductionBinding.java
166
ProductionBinding forComponentMethod(ExecutableElement
componentMethod
) {
167
checkNotNull(
componentMethod
);
168
checkArgument(
componentMethod
.getKind().equals(METHOD));
169
checkArgument(
componentMethod
.getParameters().isEmpty());
170
checkArgument(MoreTypes.isTypeOf(ListenableFuture.class,
componentMethod
.getReturnType()));
172
keyFactory.forProductionComponentMethod(
componentMethod
),
173
componentMethod
,
182
ImmutableList.copyOf(
componentMethod
.getThrownTypes()),
ComponentDescriptor.java
312
for (ExecutableElement
componentMethod
: unimplementedMethods) {
314
MoreTypes.asExecutable(types.asMemberOf(declaredComponentType,
componentMethod
));
316
getDescriptorForComponentMethod(componentDefinitionType, kind,
componentMethod
);
362
ExecutableElement
componentMethod
) {
364
MoreTypes.asDeclared(componentElement.asType()),
componentMethod
));
371
Optional.of(dependencyRequestFactory.forComponentProvisionMethod(
componentMethod
,
373
componentMethod
);
378
componentMethod
,
380
componentMethod
);
385
componentMethod
);
[
all
...]
SubcomponentWriter.java
142
MethodWriter
componentMethod
;
145
componentMethod
=
149
componentMethod
.body().addSnippet("return new %s();", builderName.get());
152
componentMethod
=
155
writeSubcomponentWithoutBuilder(
componentMethod
, resolvedMethod);
157
componentMethod
.addModifiers(PUBLIC);
158
componentMethod
.annotate(Override.class);
162
MethodWriter
componentMethod
, ExecutableType resolvedMethod) {
170
componentMethod
.addParameter(moduleType, moduleVariable.getSimpleName().toString());
207
componentMethod
.body().addSnippet("return new %s(%s);"
[
all
...]
ProvisionBinding.java
229
ProvisionBinding forComponentMethod(ExecutableElement
componentMethod
) {
230
checkNotNull(
componentMethod
);
231
checkArgument(
componentMethod
.getKind().equals(METHOD));
232
checkArgument(
componentMethod
.getParameters().isEmpty());
233
Scope scope = Scope.scopeOf(
componentMethod
);
235
keyFactory.forComponentMethod(
componentMethod
),
236
componentMethod
,
240
ConfigurationAnnotations.getNullableType(
componentMethod
),
Key.java
187
Key forComponentMethod(ExecutableElement
componentMethod
) {
188
checkNotNull(
componentMethod
);
189
checkArgument(
componentMethod
.getKind().equals(METHOD));
190
TypeMirror returnType = normalize(types,
componentMethod
.getReturnType());
191
return forMethod(
componentMethod
, returnType);
194
Key forProductionComponentMethod(ExecutableElement
componentMethod
) {
195
checkNotNull(
componentMethod
);
196
checkArgument(
componentMethod
.getKind().equals(METHOD));
197
TypeMirror returnType = normalize(types,
componentMethod
.getReturnType());
202
return forMethod(
componentMethod
, keyType)
[
all
...]
BindingGraph.java
232
for (ComponentMethodDescriptor
componentMethod
: componentDescriptor.componentMethods()) {
233
Optional<DependencyRequest> componentMethodRequest =
componentMethod
.dependencyRequest();
AbstractComponentWriter.java
583
for (ComponentMethodDescriptor
componentMethod
:
585
if (
componentMethod
.dependencyRequest().isPresent()) {
586
DependencyRequest interfaceRequest =
componentMethod
.dependencyRequest().get();
[
all
...]
BindingGraphValidator.java
164
for (ComponentMethodDescriptor
componentMethod
:
166
Optional<DependencyRequest> entryPoint =
componentMethod
.dependencyRequest();
[
all
...]
Completed in 2217 milliseconds