Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2014-08-19 23:29:30 +0000
committerSergey Prigogin2014-08-27 21:35:34 +0000
commit47a6e159347e229048116fcddef99c6921a6b189 (patch)
tree83bb9955ca59aef7d260856a37f7d315a0a485d3
parente1516b4a114bcefdc048fb4d6c955d98d17d9087 (diff)
downloadorg.eclipse.cdt-47a6e159347e229048116fcddef99c6921a6b189.tar.gz
org.eclipse.cdt-47a6e159347e229048116fcddef99c6921a6b189.tar.xz
org.eclipse.cdt-47a6e159347e229048116fcddef99c6921a6b189.zip
Added toString method.
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPNamespaceAlias.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPNamespaceAlias.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPNamespaceAlias.java
index 7bcf3de1bda..8a3d28ff62c 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPNamespaceAlias.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPNamespaceAlias.java
@@ -118,4 +118,12 @@ public class CPPNamespaceAlias extends PlatformObject implements ICPPNamespaceAl
public boolean isInline() {
return false;
}
+
+ /**
+ * For debugging use only.
+ */
+ @Override
+ public String toString() {
+ return getName();
+ }
}

Back to the top