Searched refs:codeBuilder (Results 1 – 3 of 3) sorted by relevance
137 private void addWriteToParcelTypes(CodeBlock.Builder codeBuilder, List<Type> types) { in addWriteToParcelTypes() argument138 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() argument158 codeBuilder.addStatement( in addWriteToParcelType()162 codeBuilder.addStatement("return"); in addWriteToParcelType()[all …]
107 CodeBlock.Builder codeBuilder = CodeBlock.builder(); in initializeField() local112 codeBuilder.add( in initializeField()115 codeBuilder.add(initCode); in initializeField()117 componentImplementation.addInitialization(codeBuilder.build()); in initializeField()
186 MethodVisitor codeBuilder = in visitEnd() local188 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()