Raw use of parameterized class

in the definition of method getStaticFieldValues() change:

getStaticFieldValues(Class<?> fieldSource, Class<T> fieldType)

to

getStaticFieldValues(Class<?> fieldSource, Class<?> fieldType)