Package proguard.io

Class DataEntryClassInfoFilter

java.lang.Object
proguard.io.DataEntryClassInfoFilter
All Implemented Interfaces:
DataEntryFilter

public class DataEntryClassInfoFilter extends Object implements DataEntryFilter
This DataEntryFilter filters data entries based on whether they correspond to classes in a given class pool that have a given processing info.
  • Constructor Details

    • DataEntryClassInfoFilter

      public DataEntryClassInfoFilter(ClassPool classPool, Object processingInfo)
      Creates a new DataEntryClassInfoFilter.
      Parameters:
      classPool - the class pool in which the data entry is searched.
      processingInfo - the processing info that the found class should have.
  • Method Details

    • accepts

      public boolean accepts(DataEntry dataEntry)
      Description copied from interface: DataEntryFilter
      Checks whether the filter accepts the given data entry.
      Specified by:
      accepts in interface DataEntryFilter
      Parameters:
      dataEntry - the data entry to filter.
      Returns:
      a boolean indicating whether the filter accepts the given data entry.