/** * Create bean descriptor, find all classes/subclasses/interfaces which have to be taken in * consideration for this validator and create meta data. * * @param annotationIgnores Data structure keeping track on which annotation should be ignored * @param beanMetaDataCache The bean meta data cache */ private void createMetaData( AnnotationIgnores annotationIgnores, BeanMetaDataCache beanMetaDataCache) { beanDescriptor = new BeanDescriptorImpl<T>(this); initDefaultGroupSequence(); for (Class<?> current : ReflectionHelper.computeClassHierarchy(beanClass, true)) { initClass(current, annotationIgnores, beanMetaDataCache); } }