boolean (@NotNull UMethod method) { if (method.getName().equals("getListCellRendererComponent") || method.getName().equals("getTableCellRendererComponent")) { PsiMethod psi = method.getJavaPsi(); PsiMethod[] methods = psi.findDeepestSuperMethods(); if (methods.length == 1) { PsiClass aClass = methods[0].getContainingClass(); if (aClass != null) { String qualifiedName = aClass.getQualifiedName(); if ("javax.swing.ListCellRenderer".equals(qualifiedName) || "javax.swing.table.TableCellRenderer".equals(qualifiedName)) { processBody(method.getUastBody(), method); } } } } return true; }