diff options
author | Kenneth Russel <[email protected]> | 2006-04-13 23:08:17 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-04-13 23:08:17 +0000 |
commit | 32ae0b958e9a2daefc2a278af28050929a95dddb (patch) | |
tree | 22be9abfe3db4cab90dedd3874f9b2dd11eb3679 /src | |
parent | ae070c70ead00d1377ce80735a86c51434cf7c4e (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')
-rw-r--r-- | src/java/com/sun/gluegen/TypeInfo.java | 9 |
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(); + } } |