code: public static <T extends TypeDefinition> ElementMatcher.Junction<T> isVariable(ElementMatcher<? super NamedElement> matcher) {
          return new TypeSortMatcher<T>(anyOf(TypeDefinition.Sort.VARIABLE, TypeDefinition.Sort.VARIABLE_SYMBOLIC)).and(matcher);
      }
docs: Matches a type variable with the given name.
  
  @param matcher A matcher for the type variable's name.
  @param <T>     The type of the matched object.
  @return A matcher that matches type variables with the given name.