public static void collectTypeParameters(final Set<? super PsiTypeParameter> used, final PsiElement element) {
    collectTypeParameters(used, element, Conditions.alwaysTrue());
  }
public static void collectTypeParameters(final Set<? super PsiTypeParameter> used, final PsiElement element)