void (final PsiMethod[] methods) { for (final PsiMethod superMethod : methods) { final PsiTypeElement superType = superMethod.getReturnTypeElement(); if (superType == null) continue; addLink(superType, returnType); addLink(returnType, superType); } }