Minor: log class of element in assert message
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ public class JavaConstructorImpl extends JavaMemberImpl<PsiMethod> 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
|
||||
|
||||
Reference in New Issue
Block a user