Interface StaticFilter

    • Method Detail

      • filterMethods

        Set<MethodEntry> filterMethods​(Stream<MethodEntry> methods)
        Selects the methods that pass this filter.
        Parameters:
        methods - the candidate methods
        Returns:
        the candidates that pass
      • filterClasses

        Set<ClassFile> filterClasses​(Stream<ClassFile> classes)
        Selects the classes that pass this filter.
        Parameters:
        classes - the candidate classes
        Returns:
        the candidates that pass
      • and

        default StaticFilter and​(StaticFilter other)
        Combines this filter with another, keeping only what both accept.
        Parameters:
        other - the filter to intersect with
        Returns:
        the combined filter
      • or

        default StaticFilter or​(StaticFilter other)
        Combines this filter with another, keeping what either accepts.
        Parameters:
        other - the filter to union with
        Returns:
        the combined filter
      • all

        static StaticFilter all()
        Returns:
        a filter that accepts every candidate