boolean (@NotNull StubElement<?> stub) { if (stub instanceof PsiMemberStub) { PsiModifierListStub modList = stub.findChildStubByType(JavaStubElementTypes.MODIFIER_LIST); if (modList != null) { return BitUtil.isSet(modList.getModifiersMask(), ModifierFlags.NAME_TO_MODIFIER_FLAG_MAP.getInt(PsiModifier.STATIC)); } } return false; }