diff --git a/compiler/frontend.java/src/org/jetbrains/kotlin/load/java/structure/impl/JavaConstructorImpl.java b/compiler/frontend.java/src/org/jetbrains/kotlin/load/java/structure/impl/JavaConstructorImpl.java index 421c5dfdb8c..1d2e83207f8 100644 --- a/compiler/frontend.java/src/org/jetbrains/kotlin/load/java/structure/impl/JavaConstructorImpl.java +++ b/compiler/frontend.java/src/org/jetbrains/kotlin/load/java/structure/impl/JavaConstructorImpl.java @@ -31,7 +31,8 @@ public class JavaConstructorImpl extends JavaMemberImpl implements Ja public JavaConstructorImpl(@NotNull PsiMethod psiMethod) { super(psiMethod); assert psiMethod.isConstructor() : - "PsiMethod which is not a constructor should not be wrapped in JavaConstructorImpl: " + psiMethod.getName(); + "PsiMethod which is not a constructor should not be wrapped in JavaConstructorImpl: " + + psiMethod.getName() + " " + psiMethod.getClass().getName(); } @NotNull