Clarified assertion for EA-45529.

This commit is contained in:
Evgeny Gerashchenko
2014-10-09 19:27:17 +04:00
parent 38514673bf
commit 0137b7ec3c
@@ -123,7 +123,7 @@ class KotlinSignatureUtil {
return false;
}
PsiAnnotation annotation = findKotlinSignatureAnnotation(element);
assert annotation != null;
assert annotation != null : "Annotation not found for " + element.getText();
if (annotation.getContainingFile() == annotationOwner.getContainingFile()) {
return annotation.isWritable();
} else {