diff options
author | Michi Henning <michi@zeroc.com> | 2009-06-10 16:24:15 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-06-10 16:24:15 +1000 |
commit | 6c07791213366a88049a91c3bcced6b1b6548b4c (patch) | |
tree | 24c083664b0884f38d0c6b1773ca39ed6f46d8cc /cpp/src/slice2java/Gen.cpp | |
parent | Bug 3502 - Improve javadoc support in Eclipse. (diff) | |
download | ice-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.cpp | 4 |
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 "; |