@Override public List<TypeVariable> getTypeVariables() { return declaration .getTypeParameters() .stream() .map(getContext()::resolveTypeVariable) .collect(Collectors.toList()); }