Just to nitpick: `clazz.isAnnotationPresent(classOf[ValueType])`