Class MethodFinder

java.lang.Object
nl.pim16aap2.util.reflection.MethodFinder

public final class MethodFinder extends Object
Represents a ReflectionFinder for methods.

This class can be used to retrieve methods by name and by return type.

  • Constructor Details

    • MethodFinder

      public MethodFinder()
  • Method Details

    • inClass

      @CheckReturnValue @Contract(pure=true) public MethodFinder.MethodFinderInSource inClass(Class<?> source)
      Sets the class this method finder will search in for methods.
      Parameters:
      source - The class to analyze.
      Returns:
      The next step in the method finding process.