aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtBehavior.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-02-06 16:40:36 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-02-06 16:40:36 +0000
commit4752e2e80ce31f1775420b39e6c5d93f7f13e127 (patch)
treee86d5a116aeba517c2ddff1716bbc672554c404a /src/main/javassist/CtBehavior.java
parent0552a7af397ffc796c513a3fd06ea76d977d7173 (diff)
downloadjavassist-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.java9
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();