void (PsiMethodCallExpression callExpression, HighlightInfo.Builder errorResult) { if (callExpression.getMethodExpression().getQualifierExpression() == null) { PsiMethod method = callExpression.resolveMethod(); if (method != null && PsiTypesUtil.isGetClass(method)) { var action = new ReplaceGetClassWithClassLiteralFix(callExpression); if (errorResult != null) { errorResult.registerFix(action, null, null, null, null); } } } }