code: public static <T extends ItemInfo> Predicate<T> fromScan() {
          return input -> input instanceof ScanSupport && ((ScanSupport) input).isFromScan();
      }
docs: Filter for items registered with classpath scan. Not all items support classpath scan
  {@link ScanSupport}. Items not supporting scan are considered not resolved by scan
  (so it's safe to apply filter for all items).
  
  @param <T> expected info container type (if used within single configuration type)
  @return items from classpath scan filter