Searched refs:methodBuilder (Results 1 – 7 of 7) sorted by relevance
336 MethodSpec.Builder methodBuilder = in generateRemoteFrameworkClassWrapper() local337 MethodSpec.methodBuilder(method.getSimpleName().toString()) in generateRemoteFrameworkClassWrapper()343 methodBuilder.addException(ClassName.get(m)); in generateRemoteFrameworkClassWrapper()353 methodBuilder.addParameter(parameterSpec); in generateRemoteFrameworkClassWrapper()421 methodBuilder.beginControlFlow("try"); in generateRemoteFrameworkClassWrapper()424 methodBuilder.addStatement(runLogic); in generateRemoteFrameworkClassWrapper()426 methodBuilder.addStatement("return $L", runLogic); in generateRemoteFrameworkClassWrapper()429 methodBuilder.nextControlFlow( in generateRemoteFrameworkClassWrapper()434 methodBuilder.nextControlFlow("catch ($T e)", m) in generateRemoteFrameworkClassWrapper()438 methodBuilder in generateRemoteFrameworkClassWrapper()[all …]
343 MethodSpec.Builder methodBuilder = in generateFrameworkInterface() local344 MethodSpec.methodBuilder(method.getSimpleName().toString()) in generateFrameworkInterface()353 methodBuilder.returns(signatureReturnOverrides.get(signature)); in generateFrameworkInterface()356 methodBuilder.addJavadoc("See {@link $T#$L}.", in generateFrameworkInterface()360 methodBuilder.addException(ClassName.get(thrownType)); in generateFrameworkInterface()377 methodBuilder.addParameter(parameterSpec); in generateFrameworkInterface()380 classBuilder.addMethod(methodBuilder.build()); in generateFrameworkInterface()421 MethodSpec.Builder methodBuilder = in generateDpmParent() local422 MethodSpec.methodBuilder(method.getSimpleName().toString()) in generateDpmParent()431 methodBuilder.addException(ClassName.get(thrownType)); in generateDpmParent()[all …]
154 ApiMethod.Builder methodBuilder = ApiMethod.newBuilder(); in parse() local155 methodBuilder.setName(dxMethod.getName()); in parse()156 methodBuilder.setAccessFlags(dxMethod.getAccessFlags()); in parse()158 methodBuilder.addParameters(ClassUtils.getCanonicalName(parameter)); in parse()160 methodBuilder.setReturnType( in parse()164 methodBuilder.addAllAnnotations(annLst); in parse()166 classBuilder.addMethods(methodBuilder.build()); in parse()273 ApiMethod.Builder methodBuilder = ApiMethod.newBuilder(); in processMethod() local274 methodBuilder.setName(m.getName()); in processMethod()276 methodBuilder.addParameters(ClassUtils.getCanonicalName(parameter)); in processMethod()[all …]
178 ApiMethod.Builder methodBuilder = ApiMethod.newBuilder(); in parseApi() local179 methodBuilder.setName(symbol.name); in parseApi()180 mInternalApiClassBuilder.addMethods(methodBuilder.build()); in parseApi()193 ApiMethod.Builder methodBuilder = ApiMethod.newBuilder(); in parseApi() local194 methodBuilder.setName(symbol.name); in parseApi()195 apiClassBuilder.addMethods(methodBuilder.build()); in parseApi()
331 ApiMethod.Builder methodBuilder = ApiMethod.newBuilder(); in parseJavaHostTest() local332 methodBuilder.setName(m.getName()); in parseJavaHostTest()338 methodBuilder.setKnownFailureFilter(nfFilter); in parseJavaHostTest()340 tClassBuilder.addMethods(methodBuilder); in parseJavaHostTest()
243 TestSuite.Package.Class.Method.Builder methodBuilder = in parseApkTestCase() local245 methodBuilder.setName(mName); in parseApkTestCase()246 tClassBuilder.addMethods(methodBuilder); in parseApkTestCase()261 TestSuite.Package.Class.Method.Builder methodBuilder = in parseApkTestCase() local263 methodBuilder.setName(mName); in parseApkTestCase()264 tClassBuilder.addMethods(methodBuilder); in parseApkTestCase()278 TestSuite.Package.Class.Method.Builder methodBuilder = in parseApkTestCase() local280 methodBuilder.setName(mName); in parseApkTestCase()281 tClassBuilder.addMethods(methodBuilder); in parseApkTestCase()384 TestSuite.Package.Class.Method.Builder methodBuilder = in parseJarTestCase() local[all …]
247 FunSpec.Builder methodBuilder = FunSpec.builder(method.getName()) in generatedMethodsForTestApiClasses() local252 methodBuilder.returns(returnTypeName); in generatedMethodsForTestApiClasses()255 String[] parametersInfo = buildParametersCode(method, methodBuilder); in generatedMethodsForTestApiClasses()312 methodBuilder.addCode(codeBuilder.build()); in generatedMethodsForTestApiClasses()314 proxyClassBuilder.addFunction(methodBuilder.build()); in generatedMethodsForTestApiClasses()355 private CodeBlock.Builder buildReflectionMethodCode(FunSpec.Builder methodBuilder, in buildReflectionMethodCode() argument364 if (methodBuilder.getParameters().isEmpty()) { in buildReflectionMethodCode()536 FunSpec.Builder methodBuilder) { in buildParametersCode() argument550 methodBuilder.addParameter(parameterSpec); in buildParametersCode()