void (@NotNull GlobalInspectionContext globalContext, @NotNull RefMethod refMethod) { if (refMethod.getSuperMethods().isEmpty()) { globalContext.getExtension(GlobalJavaInspectionContext.CONTEXT).enqueueMethodUsagesProcessor(refMethod, psiReference -> { getEntryPointsManager(globalContext).addEntryPoint(refMethod, false); return false; }); } else { for (RefMethod refSuper : refMethod.getSuperMethods()) { enqueueMethodUsages(globalContext, refSuper); } } }