]> source.dussan.org Git - javassist.git/commitdiff
fixed a bug in CtConstructor#getName()
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 4 Nov 2004 16:42:55 +0000 (16:42 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 4 Nov 2004 16:42:55 +0000 (16:42 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@148 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/CtConstructor.java

index 72dcee11e5c08542f2f2823dc95a6349e70069ae..cac15b36260b05c231926f459c375ae3013985c2 100644 (file)
@@ -180,7 +180,7 @@ public final class CtConstructor extends CtBehavior {
         if (methodInfo.isStaticInitializer())
             return MethodInfo.nameClinit;
         else
-            return declaringClass.getName();
+            return declaringClass.getSimpleName();
     }
 
     /**