diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-09-01 09:45:37 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-09-01 09:45:37 +0000 |
commit | 1592597bc675e159a13b289e3a62a91fdfd76bdc (patch) | |
tree | db4a2671de4609af511e206438556d54cd8d638c /src/main/javassist/CtField.java | |
parent | 377937bfbebda0065ec18dfb742504da22529cb4 (diff) | |
download | javassist-1592597bc675e159a13b289e3a62a91fdfd76bdc.tar.gz javassist-1592597bc675e159a13b289e3a62a91fdfd76bdc.zip |
implemented toString().
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@40 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtField.java')
-rw-r--r-- | src/main/javassist/CtField.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/javassist/CtField.java b/src/main/javassist/CtField.java index 5d279d20..5adc76c7 100644 --- a/src/main/javassist/CtField.java +++ b/src/main/javassist/CtField.java @@ -98,6 +98,13 @@ public class CtField extends CtMember { next = null; } + protected void extendToString(StringBuffer buffer) { + buffer.append(' '); + buffer.append(getName()); + buffer.append(' '); + buffer.append(fieldInfo.getDescriptor()); + } + /* Javac.CtFieldWithInit overrides. */ protected ASTree getInitAST() { return null; } |