boolean[] (final PsiTypeParameter[] original) { final boolean[] toRemove = new boolean[original.length]; Arrays.fill(toRemove, true); for (final TypeParameterInfo info : myNewSignature) { if (info instanceof Existing) { toRemove[((Existing)info).getParameterIndex()] = false; } } return toRemove; }