Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private val PsiMember.isKotlinAutogeneratedMethod: Boolean
get() = this is KtLightMethod && navigationElement is KtClass

private val PsiMethod.canBeCalledStatically: Boolean
get() = isStatic || containingClass?.isStatic ?: throw IllegalStateException("No containing class found for method $this")
get() = isStatic || containingClass?.let { it.isStatic && !it.isInterface && !it.isAbstract } ?: throw IllegalStateException("No containing class found for method $this")

private val PsiMethod.isUntestableMethodOfAbstractOrInterface: Boolean
get() {
Expand Down