public static Constructor<?> locateConstructorOnClass(Class<?> containingClass,
			Class<?>[] parameterTypes) {

		Constructor<?> constructor = null;

		try {
			constructor = containingClass.getDeclaredConstructor(parameterTypes);
		}
		catch (SecurityException e) {
			// shouldn't happen
		}
		catch (NoSuchMethodException e) {
			// no constructor with the given parameters
		}

		return constructor;
	}
Locates the method of the name <code>methodName</code> on the given
class.  If the given class does not contain the method, then this
method will recursively call up <code>containingClass</code>'s
implementation tree looking for a parent implementation of the
requested method.

@param methodName The name of the method to locate.
@param containingClass The class that contains the desired method.
@param parameterTypes The parameters of the desired method (may be null).
@return The Method object that matches the given name, or null if not
        suitable method could be found.
Ghidra/Framework/Utility/src/main/java/utilities/util/reflection/ReflectionUtilities.java