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/CtBehavior.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/CtBehavior.java')
-rw-r--r-- | src/main/javassist/CtBehavior.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/javassist/CtBehavior.java b/src/main/javassist/CtBehavior.java index 6f4777e8..a71b4830 100644 --- a/src/main/javassist/CtBehavior.java +++ b/src/main/javassist/CtBehavior.java @@ -262,7 +262,16 @@ public abstract class CtBehavior extends CtMember { * and the return type, <code>getSignature()</code> returns the * same string (the return type of constructors is <code>void</code>). * + * <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>getMethodInfo().getAttribute(SignatureAttribute.tag) + * </pre></ul> + * * @see javassist.bytecode.Descriptor + * @see javassist.bytecode.SignatureAttribute */ public String getSignature() { return methodInfo.getDescriptor(); |