public static boolean isUnusedInSpock(@NotNull GrMethod method, @NotNull GlobalUsageHelper helper) {
    PsiClass containingClass = method.getContainingClass();
    return isSpecification(containingClass) && !isTestMethod(method) && !isFixtureMethod(method) && !helper.isLocallyUsed(method);
  }
public static boolean isUnusedInSpock(@NotNull GrMethod method, @NotNull GlobalUsageHelper helper)