Home
last modified time | relevance | path

Searched refs:buildMethod (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/
DDefineComponentBuilderMetadatas.java119 ExecutableElement buildMethod = buildMethods.get(0); in getUncached() local
120 TypeMirror component = buildMethod.getReturnType(); in getUncached()
122 buildMethod.getReturnType().getKind().equals(TypeKind.DECLARED) in getUncached()
128 buildMethod, in getUncached() local
134 .filter(method -> !method.equals(buildMethod)) in getUncached()
149 buildMethod, in getUncached()
157 abstract ExecutableElement buildMethod(); in buildMethod() method in DefineComponentBuilderMetadatas.DefineComponentBuilderMetadata
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentCreatorValidator.java209 ExecutableElement buildMethod = null; in validateBuilder() local
214 if (buildMethod != null) { in validateBuilder()
220 buildMethod); in validateBuilder()
224 buildMethod = method; in validateBuilder()
240 if (buildMethod == null) { in validateBuilder()
243 validateNotGeneric(buildMethod); in validateBuilder()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DBuilderSpec.java119 private ExecutableElement buildMethod; field in BuilderSpec.Builder
144 public Optional<ExecutableElement> buildMethod() { in buildMethod() method in BuilderSpec.Builder
158 return buildMethod; in autoBuildMethod()
282 for (Element buildMethod : errorElements) { in defineVars()
284 buildMethod, in defineVars()
292 this.buildMethod = Iterables.getOnlyElement(buildMethods); in defineVars()
297 vars.buildMethod = Optional.of(new SimpleMethod(buildMethod)); in defineVars()
DAutoValueTemplateVars.java112 Optional<SimpleMethod> buildMethod = Optional.empty(); field in AutoValueTemplateVars
Dautovalue.vm381 ${buildMethod.get().access}${origClass}${actualTypes} ${buildMethod.get().name}() {
/external/auto/value/src/test/java/com/google/auto/value/processor/
DGuavaCollectionBuildersTest.java97 Method buildMethod = builderClass.getMethod("build"); in checkImmutableClass() local
98 expect.that(buildMethod.getReturnType()).isEqualTo(c); in checkImmutableClass()
DExtensionTest.java1040 Optional<ExecutableElement> buildMethod = builderContext.buildMethod(); in builderContext()
1041 assertThat(buildMethod).isPresent(); in builderContext()
1042 assertThat(buildMethod.get().getSimpleName().toString()).isEqualTo("build"); in builderContext()
1043 assertThat(buildMethod.get().getParameters()).isEmpty(); in builderContext()
1044 assertThat(buildMethod.get().getReturnType().toString()).isEqualTo("foo.bar.Baz"); in builderContext()
1105 assertThat(builderContext.buildMethod()).isEmpty(); in oddBuilderContext()
/external/dagger2/java/dagger/internal/codegen/binding/
DErrorMessages.java205 ExecutableElement buildMethod, in factoryMethodReturnsSupertypeWithMissingMethods() argument
212 buildMethod.getSimpleName(), in factoryMethodReturnsSupertypeWithMissingMethods()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DBeanAsArrayBuilderDeserializer.java54 AnnotatedMethod buildMethod) in BeanAsArrayBuilderDeserializer() argument
60 _buildMethod = buildMethod; in BeanAsArrayBuilderDeserializer()
/external/auto/value/src/main/java/com/google/auto/value/extension/
DAutoValueExtension.java252 Optional<ExecutableElement> buildMethod(); in buildMethod() method
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBuilder.java294 public void setPOJOBuilder(AnnotatedMethod buildMethod, JsonPOJOBuilder.Value config) { in setPOJOBuilder() argument
295 _buildMethod = buildMethod; in setPOJOBuilder()
DBeanDeserializerFactory.java339 AnnotatedMethod buildMethod = builderDesc.findMethod(buildMethodName, null); in buildBuilderBasedDeserializer() local
340 if (buildMethod != null) { // note: can't yet throw error; may be given build method in buildBuilderBasedDeserializer()
342 …ClassUtil.checkAndFixAccess(buildMethod.getMember(), config.isEnabled(MapperFeature.OVERRIDE_PUBLI… in buildBuilderBasedDeserializer()
345 builder.setPOJOBuilder(buildMethod, builderConfig); in buildBuilderBasedDeserializer()
/external/doclava/src/com/google/doclava/
DInfoBuilder.java648 MethodInfo method = buildMethod(member, cls, false); in buildClassBody()
962 private MethodInfo buildMethod(ParseTree tree, ClassInfo containingClass, in buildMethod() method in InfoBuilder
1372 iface.addMethod(buildMethod(child, iface, false)); in buildInterfaceBody()
1448 annotation.addAnnotationElement(buildMethod(child, annotation, true)); in buildAnnotationBody()