Module jdk.dynalink

Class DefaultInternalObjectFilter

    • Constructor Detail

      • DefaultInternalObjectFilter

        public DefaultInternalObjectFilter​(MethodHandle parameterFilter,
                                           MethodHandle returnFilter)
        Creates a new filter.
        Parameters:
        parameterFilter - the filter for method parameters. Must be of type Object(Object), or null.
        returnFilter - the filter for return values. Must be of type Object(Object), or null.
        Throws:
        IllegalArgumentException - if one or both filters are not of the expected type.