summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2009-06-10 16:24:15 +1000
committerMichi Henning <michi@zeroc.com>2009-06-10 16:24:15 +1000
commit6c07791213366a88049a91c3bcced6b1b6548b4c (patch)
tree24c083664b0884f38d0c6b1773ca39ed6f46d8cc /cpp/src/slice2java/Gen.cpp
parentBug 3502 - Improve javadoc support in Eclipse. (diff)
downloadice-6c07791213366a88049a91c3bcced6b1b6548b4c.tar.bz2
ice-6c07791213366a88049a91c3bcced6b1b6548b4c.tar.xz
ice-6c07791213366a88049a91c3bcced6b1b6548b4c.zip
Bug 3502. _fooOperations and _fooOperationsNC now get javadoc comments as well.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp4
1 files changed, 3 insertions, 1 deletions
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 ";