User: rednesto Date: 10 Jul 23 12:19 Revision: 52872c2f62b56c8a795e6c9f8a249f0a114cff7c Summary: Fix Ktlint errors TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8630&personal=false Index: src/main/kotlin/insight/ListenerEventAnnotator.kt =================================================================== --- src/main/kotlin/insight/ListenerEventAnnotator.kt (revision 6c0bb4f497848691c2347289261c750722940b19) +++ src/main/kotlin/insight/ListenerEventAnnotator.kt (revision 52872c2f62b56c8a795e6c9f8a249f0a114cff7c) @@ -55,9 +55,9 @@ } val method: UMethod = runCatchingKtIdeaExceptions { - element.toUElement()?.uastParent as? UMethod - ?: element.getUastParentOfType() - ?.getParentOfType()?.uastParent as? UMethod // Be sure to be on the type of a parameter + element.toUElement()?.uastParent as? UMethod + ?: element.getUastParentOfType() + ?.getParentOfType()?.uastParent as? UMethod // Be sure to be on the type of a parameter } ?: return if (method.javaPsi.hasModifierProperty(PsiModifier.ABSTRACT)) { // I don't think any implementation allows for abstract