boolean (GrReferenceElement<?> ref, boolean isCompileStatic) { if (isCompileStatic) return true; if (!myInspectionEnabled) return false; if (GroovyAccessibilityInspection.isSuppressed(ref)) return false; return true; }