Class FixedMethodFilter

All Implemented Interfaces:

public class FixedMethodFilter extends Object implements org.springframework.expression.MethodFilter
A MethodFilter implementation that will always return the same Method instance within a single-element list if it is present in the candidate list. If the Method is not present in the candidate list, it will return an empty list.
Mark Fisher, Gary Russell, Janne Valkealahti
  • Constructor Details

    • FixedMethodFilter

      public FixedMethodFilter(Method method)
  • Method Details

    • filter

      public List<Method> filter(List<Method> methods)
      Specified by:
      filter in interface org.springframework.expression.MethodFilter