Лялюшкин - Лабораторная работа #2

toColor(final Class<T> clazz)
It will be much better to rename "clazz" to "color"/"newColor"/"tagetColor"/"colorClass"/something like that.