Package proguard.io

Class DataEntryClassInfoFilter

  • All Implemented Interfaces:
    DataEntryFilter

    public class DataEntryClassInfoFilter
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      DataEntryClassInfoFilter​(ClassPool classPool, java.lang.Object processingInfo)
      Creates a new DataEntryClassInfoFilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accepts​(DataEntry dataEntry)
      Checks whether the filter accepts the given data entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataEntryClassInfoFilter

        public DataEntryClassInfoFilter​(ClassPool classPool,
                                        java.lang.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 Detail

      • 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.