Here is the definition of CtConstructor.getName() in Javassist 3.0RC1:

    /**
     * Obtains the name of this constructor.
     * It is the same as the simple name of the class declaring this
     * constructor.  If this object represents a class initializer,
     * then this method returns "<clinit>".
     */
    public String getName() {
        if (methodInfo.isStaticInitializer())
            return MethodInfo.nameClinit;
        else
            return declaringClass.getName();
    }

It claims to return the simple name of the declaring class, but it actually returns 
the fully qualified name.
Is this the appropriate place for reporting bugs?
Guillaume

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853817#3853817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853817


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to