Home
last modified time | relevance | path

Searched refs:addCode (Results 1 – 24 of 24) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/
DOptionalFactories.java142 .addCode("$L // safe covariant cast\n", AnnotationSpecs.suppressWarnings(UNCHECKED)) in absentOptionalProviderMethod()
143 .addCode( in absentOptionalProviderMethod()
153 .addCode("return provider;") in absentOptionalProviderMethod()
327 .addCode(
340 .addCode(
358 .addCode(
373 .addCode(
384 .addCode(
394 .addCode(
434 .addCode("return $L;", optionalKind.presentExpression(CodeBlock.of("input")))
DMembersInjectorGenerator.java131 createMethodBuilder.addCode( in write()
169 createMethodBuilder.addCode( in write()
171 createMethodBuilder.addCode(");"); in write()
178 injectMembersBuilder.addCode( in write()
DSwitchingProviders.java183 .addCode(getOnlyElement(switchCodeBlockPartitions)) in getMethods()
202 .addCode(switchCodeBlockPartitions.get(i)) in getMethods()
DPrivateMethodBindingExpression.java67 .addCode(methodBody()) in addMethod()
DModifiableConcreteMethodBindingExpression.java84 .addCode(methodBody()) in addMethod()
DComponentImplementationBuilder.java251 methodBuilder.addCode(CodeBlocks.concat(cancellationStatements)).build(); in addCancellationListenerImplementation()
266 cancelParentStatement.ifPresent(methodBuilder::addCode); in addCancellationListenerImplementation()
416 initializationMethod.addCode( in implementInitializationMethod()
560 .addCode(CodeBlocks.concat(partition)) in createPartitionedMethods()
DHjarSourceFileGenerator.java104 skeleton.addCode(completeMethod.code); in skeletonMethod()
DMembersInjectionMethods.java99 methodBuilder.addCode( in membersInjectionMethod()
DInjectionMethod.java87 .addCode(methodBody()); in toMethodSpec()
DModifiableBindingExpressions.java165 .addCode( in reimplementedMethod()
DFactoryGenerator.java250 .addCode( in getMethod()
DComponentBindingExpressions.java234 return method.addCode(methodBody).build(); in getComponentMethod()
DProducerFactoryGenerator.java210 .addCode( in write()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java65 .addCode("return $S;\n", "taco") in basic()
131 .addCode("/* code snippets */\n") in anonymousInnerClass()
141 .addCode("return $L;\n", aSimpleThung) in anonymousInnerClass()
190 .addCode("/* code snippets */\n") in annotatedParameters()
360 .addCode("return $S;\n", "paper airplane!") in enumWithSubclassing()
368 .addCode("this.handPosition = handPosition;\n") in enumWithSubclassing()
371 .addCode("this($S);\n", "fist") in enumWithSubclassing()
463 .addCode("return $S;\n", "west side") in enumWithMembersButNoConstructorCall()
561 .addCode("return 0;\n") in typeVariables()
571 .addCode("throw new $T($S);\n", UnsupportedOperationException.class, "TODO") in typeVariables()
[all …]
DFileWritingTest.java176 .addCode("$T.out.println($S);\n", System.class, "Hello World!") in filerClassesWithTabIndent()
DJavaFileTest.java598 .addCode("$T.out.println($S);\n", System.class, "Hello World!") in defaultPackage()
/external/dagger2/java/dagger/grpc/server/processor/
DProxyModuleGenerator.java91 .addCode( in provideServiceDefinitionContribution()
96 method.addCode( in provideServiceDefinitionContribution()
101 method.addCode(".build();"); in provideServiceDefinitionContribution()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHuffman.java167 addCode(i, CODES[i], CODE_LENGTHS[i]); in buildTree()
171 private void addCode(int sym, int code, byte len) { in addCode() method in Huffman
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHuffman.java170 addCode(i, CODES[i], CODE_LENGTHS[i]); in buildTree()
175 private void addCode(int sym, int code, byte len) { in addCode() method in Huffman
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHuffman.java166 addCode(i, CODES[i], CODE_LENGTHS[i]); in buildTree()
170 private void addCode(int sym, int code, byte len) { in addCode() method in Huffman
/external/dagger2/java/dagger/internal/codegen/javapoet/
DCodeBlocks.java109 .addCode(body) in anonymousProvider()
/external/python/cpython2/Lib/compiler/
Dpyassem.py510 lnotab.addCode(self.opnum[opname])
518 lnotab.addCode(self.opnum[opname], lo, hi)
610 def addCode(self, *args): member in LineAddrTable
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java417 public Builder addCode(String format, Object... args) { in addCode() method in MethodSpec.Builder
427 public Builder addCode(CodeBlock codeBlock) { in addCode() method in MethodSpec.Builder
/external/javapoet/
DREADME.md67 .addCode(""