Class Filters

  • All Implemented Interfaces:
    IFilter

    public final class Filters
    extends java.lang.Object
    implements IFilter
    Filter that combines other filters.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IFilter NONE
      Filter that does nothing.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static IFilter all()
      Creates filter that combines all other filters.
      void filter​(org.objectweb.asm.tree.MethodNode methodNode, IFilterContext context, IFilterOutput output)
      This method is called for every method.
      • Methods inherited from class java.lang.Object

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

      • NONE

        public static final IFilter NONE
        Filter that does nothing.
    • Method Detail

      • all

        public static IFilter all()
        Creates filter that combines all other filters.
        Returns:
        filter that combines all other filters
      • filter

        public void filter​(org.objectweb.asm.tree.MethodNode methodNode,
                           IFilterContext context,
                           IFilterOutput output)
        Description copied from interface: IFilter
        This method is called for every method. The filter implementation is expected to inspect the provided method and report its result to the given IFilterOutput instance.
        Specified by:
        filter in interface IFilter
        Parameters:
        methodNode - method to inspect
        context - context information for the method
        output - callback to report filtering results to