boolean (PsiReferenceList extendsList) { if (extendsList == null) { return false; } final PsiJavaCodeReferenceElement[] referenceElements = extendsList.getReferenceElements(); for (PsiJavaCodeReferenceElement referenceElement : referenceElements) { final PsiReferenceParameterList parameterList = referenceElement.getParameterList(); if (parameterList == null) { continue; } final PsiType[] typeArguments = parameterList.getTypeArguments(); if (typeArguments.length != 0) { return true; } } return false; }