类 AttributeProcessingFlagFilter

java.lang.Object
proguard.classfile.attribute.visitor.AttributeProcessingFlagFilter
所有已实现的接口:
AttributeVisitor

public class AttributeProcessingFlagFilter extends Object implements AttributeVisitor
This AttributeVisitor delegates its visits to another given AttributeVisitor, but only when the visited attribute has the proper processing flags.
  • 构造器详细资料

    • AttributeProcessingFlagFilter

      public AttributeProcessingFlagFilter(int requiredSetProcessingFlags, int requiredUnsetProcessingFlags, AttributeVisitor attributeVisitor)
      Creates a new AttributeProcessingFlagFilter.
      参数:
      requiredSetProcessingFlags - the attribute processing flags that should be set.
      requiredUnsetProcessingFlags - the attribute processing flags that should be unset.
      attributeVisitor - the AttributeVisitor to which visits will be delegated.
    • AttributeProcessingFlagFilter

      public AttributeProcessingFlagFilter(int requiredSetProcessingFlags, int requiredUnsetProcessingFlags, AttributeVisitor acceptedAttributeVisitor, AttributeVisitor rejectedAttributeVisitor)
      Creates a new AttributeProcessingFlagFilter.
      参数:
      requiredSetProcessingFlags - the attribute processing flags that should be set.
      requiredUnsetProcessingFlags - the attribute processing flags that should beunset.
      acceptedAttributeVisitor - the AttributeVisitor to which visits will be delegated.
      rejectedAttributeVisitor - the AttributeVisitor to which visits of attributes that do not have the proper flags will be delegated.
  • 方法详细资料