Change Class<?> to Class in annotation utils