diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-06 16:40:36 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-06 16:40:36 +0000 |
commit | 4752e2e80ce31f1775420b39e6c5d93f7f13e127 (patch) | |
tree | e86d5a116aeba517c2ddff1716bbc672554c404a /src/main/javassist/CtField.java | |
parent | 0552a7af397ffc796c513a3fd06ea76d977d7173 (diff) | |
download | javassist-4752e2e80ce31f1775420b39e6c5d93f7f13e127.tar.gz javassist-4752e2e80ce31f1775420b39e6c5d93f7f13e127.zip |
supported generic type signatures.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@348 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtField.java')
-rw-r--r-- | src/main/javassist/CtField.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/javassist/CtField.java b/src/main/javassist/CtField.java index c8d62f00..1219ecb0 100644 --- a/src/main/javassist/CtField.java +++ b/src/main/javassist/CtField.java @@ -285,6 +285,17 @@ public class CtField extends CtMember { * Returns the character string representing the type of the field. * If two fields have the same type, * <code>getSignature()</code> returns the same string. + * + * <p>Note that the returned string is not the type signature + * contained in the <code>SignatureAttirbute</code>. It is + * a descriptor. To obtain a type signature, call the following + * methods: + * + * <ul><pre>getFieldInfo().getAttribute(SignatureAttribute.tag) + * </pre></ul> + * + * @see javassist.bytecode.Descriptor + * @see javassist.bytecode.SignatureAttribute */ public String getSignature() { return fieldInfo.getDescriptor(); |