code: public static <T extends TypeDefinition> ElementMatcher.Junction<T> ofSort(TypeDefinition.Sort sort) {
          return ofSort(is(sort));
      }
docs: Matches generic type descriptions of the given sort.
  
  @param sort The generic type sort to match.
  @param <T>  The type of the matched object.
  @return A matcher that matches generic types of the given sort.