Home
last modified time | relevance | path

Searched refs:codeBuilder (Results 1 – 3 of 3) sorted by relevance

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DBundlerGenerator.java137 private void addWriteToParcelTypes(CodeBlock.Builder codeBuilder, List<Type> types) { in addWriteToParcelTypes() argument
138 codeBuilder.beginControlFlow( in addWriteToParcelTypes()
140 codeBuilder.addStatement("return"); in addWriteToParcelTypes()
142 codeBuilder.nextControlFlow( in addWriteToParcelTypes()
145 addWriteToParcelType(codeBuilder, type); in addWriteToParcelTypes()
147 codeBuilder.endControlFlow(); in addWriteToParcelTypes()
149 codeBuilder.addStatement( in addWriteToParcelTypes()
155 private void addWriteToParcelType(CodeBlock.Builder codeBuilder, Type type) { in addWriteToParcelType() argument
158 codeBuilder.addStatement( in addWriteToParcelType()
162 codeBuilder.addStatement("return"); in addWriteToParcelType()
[all …]
/external/dagger2/java/dagger/internal/codegen/writing/
DFrameworkFieldInitializer.java107 CodeBlock.Builder codeBuilder = CodeBlock.builder(); in initializeField() local
112 codeBuilder.add( in initializeField()
115 codeBuilder.add(initCode); in initializeField()
117 componentImplementation.addInitialization(codeBuilder.build()); in initializeField()
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaClassFixer.java186 MethodVisitor codeBuilder = in visitEnd() local
188 codeBuilder.visitTypeInsn(Opcodes.NEW, getInternalName()); in visitEnd()
189 codeBuilder.visitInsn(Opcodes.DUP); in visitEnd()
190 codeBuilder.visitMethodInsn( in visitEnd()
196 codeBuilder.visitFieldInsn( in visitEnd()
198 codeBuilder.visitInsn(Opcodes.RETURN); in visitEnd()
199 codeBuilder.visitMaxs(2, 0); // two values are pushed onto the stack in visitEnd()
200 codeBuilder.visitEnd(); in visitEnd()