summaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-13 23:08:17 +0000
committerKenneth Russel <[email protected]>2006-04-13 23:08:17 +0000
commit32ae0b958e9a2daefc2a278af28050929a95dddb (patch)
tree22be9abfe3db4cab90dedd3874f9b2dd11eb3679 /src/java/com
parentae070c70ead00d1377ce80735a86c51434cf7c4e (diff)
Added TypeInfo.toString() from Justin Couch
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@27 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/sun/gluegen/TypeInfo.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/TypeInfo.java b/src/java/com/sun/gluegen/TypeInfo.java
index 437fa85..8f21c9f 100644
--- a/src/java/com/sun/gluegen/TypeInfo.java
+++ b/src/java/com/sun/gluegen/TypeInfo.java
@@ -58,4 +58,13 @@ public class TypeInfo {
public JavaType javaType() { return javaType; }
public void setNext(TypeInfo info) { this.next = info; }
public TypeInfo next() { return next; }
+
+ public String toString() {
+ StringBuffer buf = new StringBuffer("TypeInfo: ");
+ buf.append(name);
+ buf.append(" pointerDepth ");
+ buf.append(pointerDepth);
+ buf.append(" JavaType " + javaType);
+ return buf.toString();
+ }
}