It is normal that `KtLightMethod::hasModifierPrope...
# kontributors
s
It is normal that
KtLightMethod::hasModifierProperty(PsiModifier.STATIC)
returns true for
Copy code
object Bar {
    @JvmStatic
    fun foobar{} //This method
}
But false for
Copy code
class Bar {
    companion object {
        @JvmStatic
        fun foobar() {
        }
    }
}
Instance of
KtLightMethod
obtained by
LightClassUtil.getLightClassMethod(it)
from
KotlinFunctionShortNameIndex.getInstance().get('foobar',project,scope)