diff options
-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(); + } } |