Lines Matching refs:decl
402 auto decl = std::make_shared<Method>(); in generate_interface_method() local
403 decl->comment = method.GetComments(); in generate_interface_method()
404 decl->modifiers = PUBLIC; in generate_interface_method()
405 decl->returnType = JavaSignatureOf(method.GetType(), typenames); in generate_interface_method()
406 decl->name = method.GetName(); in generate_interface_method()
407 decl->annotations = generate_java_annotations(method.GetType()); in generate_interface_method()
412 decl->parameters.push_back(var); in generate_interface_method()
415 decl->exceptions.push_back("android.os.RemoteException"); in generate_interface_method()
417 return decl; in generate_interface_method()
767 std::shared_ptr<ClassElement> decl; in generate_methods() local
769 decl = generate_interface_method(method, typenames); in generate_methods()
775 decl = std::make_shared<LiteralClassElement>(code.str()); in generate_methods()
781 decl = std::make_shared<LiteralClassElement>(code.str()); in generate_methods()
784 interface->elements.push_back(decl); in generate_methods()