aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/javassist/CtConstructor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/CtConstructor.java b/src/main/javassist/CtConstructor.java
index 72dcee11..cac15b36 100644
--- a/src/main/javassist/CtConstructor.java
+++ b/src/main/javassist/CtConstructor.java
@@ -180,7 +180,7 @@ public final class CtConstructor extends CtBehavior {
if (methodInfo.isStaticInitializer())
return MethodInfo.nameClinit;
else
- return declaringClass.getName();
+ return declaringClass.getSimpleName();
}
/**