Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DBuilderValidator.java107 ExecutableElement buildMethod = null; in validate() local
117 if (buildMethod != null) { in validate()
120 buildMethod); in validate()
127 buildMethod = method; in validate()
150 if (buildMethod == null) { in validate()
DComponentDescriptor.java233 abstract ExecutableElement buildMethod();
439 ExecutableElement buildMethod = null;
442 buildMethod = method;
449 verify(buildMethod != null); // validation should have ensured this.
451 map.build(), buildMethod, element.getEnclosingElement().asType()));
DAbstractComponentWriter.java323 MethodWriter buildMethod; in addBuildMethod() local
325 ExecutableElement specBuildMethod = builderSpec.get().buildMethod(); in addBuildMethod()
329 buildMethod = in addBuildMethod()
332 buildMethod.annotate(Override.class); in addBuildMethod()
334 buildMethod = builderWriter.addMethod(componentDefinitionTypeName(), "build"); in addBuildMethod()
336 buildMethod.addModifiers(PUBLIC); in addBuildMethod()
341 buildMethod.body() in addBuildMethod()
346 buildMethod.body() in addBuildMethod()
355 buildMethod.body().addSnippet("return new %s(this);", name); in addBuildMethod()
DComponentWriter.java101 .buildMethod() in addFactoryMethods()
/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()