接口 ImportSelector

    • 方法详细资料

      • getExclusionFilter

        @Nullable
        default Predicate<StringgetExclusionFilter()
        Return a predicate for excluding classes from the import candidates, to be transitively applied to all classes found through this selector's imports.

        If this predicate returns true for a given fully-qualified class name, said class will not be considered as an imported configuration class, bypassing class file loading as well as metadata introspection.

        返回:
        the filter predicate for fully-qualified candidate class names of transitively imported configuration classes, or null if none
        从以下版本开始:
        5.2.4