Package proguard.io
Class DataEntryClassInfoFilter
- java.lang.Object
-
- proguard.io.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 booleanaccepts(DataEntry dataEntry)Checks whether the filter accepts the given data entry.
-
-
-
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:DataEntryFilterChecks whether the filter accepts the given data entry.- Specified by:
acceptsin interfaceDataEntryFilter- Parameters:
dataEntry- the data entry to filter.- Returns:
- a boolean indicating whether the filter accepts the given data entry.
-
-