类 AdviceModeImportSelector<A extends Annotation>

    • 方法详细资料

      • selectImports

        @Nullable
        protected abstract String[] selectImports​(AdviceMode adviceMode)
        Determine which classes should be imported based on the given AdviceMode.

        Returning null from this method indicates that the AdviceMode could not be handled or was unknown and that an IllegalArgumentException should be thrown.

        参数:
        adviceMode - the value of the advice mode attribute for the annotation specified via generics.
        返回:
        array containing classes to import (empty array if none; null if the given AdviceMode is unknown)