boolean (@NotNull final PsiClass superClass, final PsiClassType interfaceType) { boolean redundantImplements = false; PsiClassType[] superClassInterfaces = superClass.getImplementsListTypes(); for(PsiClassType superClassInterface: superClassInterfaces) { if (superClassInterface.equals(interfaceType)) { redundantImplements = true; break; } } return redundantImplements; }