Class MethodSelector

java.lang.Object
uk.co.real_logic.sbe.codec.java.MethodSelector

public class MethodSelector extends Object
Selects sorted methods of a class that are annotated with GroupOrder.
  • Constructor Details

    • MethodSelector

      public MethodSelector(Set<String> ignoredMethods)
      Create a method selector with a set of methods to be ignored.
      Parameters:
      ignoredMethods - to be skipped over.
  • Method Details

    • objectAndIteratorMethods

      public static Set<String> objectAndIteratorMethods()
      The method names for method belonging to Object and Iterator.
      Returns:
      the method names for method belonging to Object and Iterator.
    • select

      public List<Method> select(Class<?> clazz)
      Select a list of methods from a given class.
      Parameters:
      clazz - to select the method for.
      Returns:
      the list of methods