Class FindMethod
java.lang.Object
org.springframework.data.couchbase.repository.support.FindMethod
From jonskeet.uk as provided in https://groups.google.com/g/comp.lang.java.programmer/c/khq5GGXIzC4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Method
findDeclaredMethod
(Class source, String name, Class[] parameterTypes) Finds the most specific applicable declared methodstatic Method
findMethod
(Class source, String name, Class[] parameterTypes) Finds the most specific applicable method
-
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 inname
- Name of method to findparameterTypes
- 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 inname
- Name of method to findparameterTypes
- Parameter types to search for- Throws:
NoSuchMethodException
-