From 6c07791213366a88049a91c3bcced6b1b6548b4c Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Wed, 10 Jun 2009 16:24:15 +1000 Subject: Bug 3502. _fooOperations and _fooOperationsNC now get javadoc comments as well. --- cpp/src/slice2java/Gen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/src/slice2java/Gen.cpp') diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index f17835c1842..c49b10f525e 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -1714,7 +1714,9 @@ Slice::Gen::OpsVisitor::writeOperations(const ClassDefPtr& p, bool noCurrent) // // Generate the operations interface // - out << sp << nl << "public interface " << '_' << name << opIntfName; + out << sp; + writeDocComment(out, p, getDeprecateReason(p, 0, p->isInterface() ? "interface" : "class")); + out << nl << "public interface " << '_' << name << opIntfName; if((bases.size() == 1 && bases.front()->isAbstract()) || bases.size() > 1) { out << " extends "; -- cgit v1.2.3