summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-10-30 12:40:46 +0100
committerJose <jose@zeroc.com>2017-10-30 12:40:46 +0100
commit164a436b839b41076fbee2fa5663af39e6ff56fe (patch)
tree77eb45d3b765adf57ef2ed91620a4901f147c994 /cpp/src/Slice/JavaUtil.h
parentICE-8457 - Ruby and Python string fixes (diff)
downloadice-164a436b839b41076fbee2fa5663af39e6ff56fe.tar.bz2
ice-164a436b839b41076fbee2fa5663af39e6ff56fe.tar.xz
ice-164a436b839b41076fbee2fa5663af39e6ff56fe.zip
Fix Overqualification in generated code
See ICE-7856
Diffstat (limited to 'cpp/src/Slice/JavaUtil.h')
-rw-r--r--cpp/src/Slice/JavaUtil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Slice/JavaUtil.h b/cpp/src/Slice/JavaUtil.h
index 2ae8f2ebd3d..efb0297ea7d 100644
--- a/cpp/src/Slice/JavaUtil.h
+++ b/cpp/src/Slice/JavaUtil.h
@@ -107,6 +107,7 @@ protected:
//
std::string getPackage(const ContainedPtr&) const;
+ std::string getAbsolute(const std::string&, const std::string&) const;
//
// Returns the Java name for a Contained entity. If the optional
// package argument matches the entity's package name, then the
@@ -274,6 +275,12 @@ protected:
std::string getPackage(const ContainedPtr&) const;
//
+ // Returns the Java type without a package if the package
+ // matches the current package
+ //
+ std::string getAbsolute(const std::string&, const std::string&) const;
+
+ //
// Returns the Java name for a Contained entity. If the optional
// package argument matches the entity's package name, then the
// package is removed from the result.