void (@NotNull PsiMethod method) { //no drilldown if (method.getNameIdentifier() == null) { return; } if (!method.hasModifierProperty(PsiModifier.PUBLIC)) { return; } final PsiCodeBlock body = method.getBody(); if (body == null) { return; } if (method.isConstructor()) { return; } if (PropertyUtil.isSimpleGetter(method) || PropertyUtil.isSimpleSetter(method)) { return; } if (containsLoggingCall(body)) { return; } registerMethodError(method); }