java.lang.Object
org.springframework.data.couchbase.repository.support.FindMethod

public class FindMethod extends Object
From jonskeet.uk as provided in https://groups.google.com/g/comp.lang.java.programmer/c/khq5GGXIzC4
  • Constructor Details

    • FindMethod

      public FindMethod()
  • Method Details

    • findMethod

      public static Method findMethod(Class source, String name, Class[] parameterTypes) throws NoSuchMethodException
      Finds the most specific applicable method
      Parameters:
      source - Class to find method in
      name - Name of method to find
      parameterTypes - Parameter types to search for
      Throws:
      NoSuchMethodException
    • findDeclaredMethod

      public static Method findDeclaredMethod(Class source, String name, Class[] parameterTypes) throws NoSuchMethodException
      Finds the most specific applicable declared method
      Parameters:
      source - Class to find method in
      name - Name of method to find
      parameterTypes - Parameter types to search for
      Throws:
      NoSuchMethodException