类 ResourceFileProcessingFlagFilter

  • 所有已实现的接口:
    ResourceFileVisitor, KotlinModuleVisitor

    public class ResourceFileProcessingFlagFilter
    extends java.lang.Object
    implements ResourceFileVisitor
    This ResourceFileVisitor delegates all its visits to a given delegate visitor, but only of the processing flags of the visited resource file match the given processing flag requirements.
    • 构造器详细资料

      • ResourceFileProcessingFlagFilter

        public ResourceFileProcessingFlagFilter​(int requiredSetProcessingFlags,
                                                int requiredUnsetProcessingFlags,
                                                ResourceFileVisitor acceptedVisitor)
        Creates a new ResourceFileProcessingFlagFilter.
        参数:
        requiredSetProcessingFlags - the processing flags that should be set.
        requiredUnsetProcessingFlags - the class processing flags that should be unset.
        acceptedVisitor - the ResourceFileVisitor to which visits will be delegated.
    • 方法详细资料

      • visitAnyResourceFile

        public void visitAnyResourceFile​(ResourceFile resourceFile)
        从接口复制的说明: ResourceFileVisitor
        Visits any ResourceFile instance. The more specific default implementations of this interface delegate to this method.

        Unlike most other visitor interfaces, this default implementation is empty, because most implementations only care about one type of resource file.

        指定者:
        visitAnyResourceFile 在接口中 ResourceFileVisitor