createFilter

public static ArgumentFilter createFilter(Method method)

Creates a new filter by the passed method.

If the method is not annotated for filtering, the returned instance accepts all arguments.