code: private void retainOnlyClassesWithDeclaredAnnotation(Set<Class<?>> classSet, Class<? extends Annotation> annotation) {
          classSet.removeIf(clazz -> !clazz.isAnnotationPresent(annotation));
      }
docs: TODO We need unit test for this: annotation scanning with TestdataUnannotatedExtendedEntity