private static int getCheckStaticLevel(@NotNull MethodCandidateInfo method) { boolean available = method.isStaticsScopeCorrect(); return (available ? 1 : 0) << 1 | (method.getCurrentFileResolveScope() instanceof PsiImportStaticStatement ? 0 : 1); }