From 0108205367a56c49ff576ad4fa1c266c9e0f9bcf Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 18 May 2015 15:42:33 +0300 Subject: [PATCH] Minor: log class of element in assert message --- .../kotlin/load/java/structure/impl/JavaConstructorImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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