code: public void registerFilters() {
          addExcludeFilter(new TypeFilter() {
              @Override
              public boolean match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory) {
                  return !metadataReader.getClassMetadata().isInterface();
              }
          });
          addIncludeFilter(new AnnotationTypeFilter(SpringRestClientEnabled.class));
      }
docs: Configures parent scanner to search for the right interfaces. It can search
  for all interfaces or just for those that extends a markerInterface or/and
  those annotated with the annotationClass