@@ -117,36 +117,6 @@ public Function getFunction(
117117 final String namespace ,
118118 final String name ,
119119 Object [] parameters ) {
120- return getFunction (namespace , name , parameters , new JXPathFilter ());
121- }
122-
123- /**
124- * Returns a {@link Function}, if found, for the specified namespace,
125- * name and parameter types.
126- * <p>
127- * @param namespace - if it is not the same as specified in the
128- * construction, this method returns null
129- * @param name - name of the method, which can one these forms:
130- * <ul>
131- * <li><b>methodname</b>, if invoking a method on an object passed as the
132- * first parameter</li>
133- * <li><b>Classname.new</b>, if looking for a constructor</li>
134- * <li><b>subpackage.subpackage.Classname.new</b>, if looking for a
135- * constructor in a subpackage</li>
136- * <li><b>Classname.methodname</b>, if looking for a static method</li>
137- * <li><b>subpackage.subpackage.Classname.methodname</b>, if looking for a
138- * static method of a class in a subpackage</li>
139- * </ul>
140- * @param parameters Object[] of parameters
141- * @param jxPathFilter the XPath filter
142- * @return a MethodFunction, a ConstructorFunction or null if no function
143- * is found
144- */
145- public Function getFunction (
146- final String namespace ,
147- final String name ,
148- Object [] parameters ,
149- final JXPathFilter jxPathFilter ) {
150120 if (!Objects .equals (this .namespace , namespace )) {
151121 return null ;
152122 }
@@ -216,7 +186,7 @@ public Function getFunction(
216186
217187 Class functionClass ;
218188 try {
219- functionClass = ClassLoaderUtil .getClass (className , true , jxPathFilter );
189+ functionClass = ClassLoaderUtil .getClass (className , true );
220190 }
221191 catch (final ClassNotFoundException ex ) {
222192 throw new JXPathException (
0 commit comments