boolean (PsiClassInitializer initializer) { final MethodReferenceVisitor visitor = new MethodReferenceVisitor(initializer); initializer.accept(visitor); return !visitor.areReferencesStaticallyAccessible(); }