public XQueryFunction getDeclaration(StructuredQName functionName, Expression[] staticArgs) {
for (Iterator it=libraryList.iterator(); it.hasNext();) {
FunctionLibrary lib = (FunctionLibrary)it.next();
if (lib instanceof XQueryFunctionBinder) {
XQueryFunction func = ((XQueryFunctionBinder)lib).getDeclaration(functionName, staticArgs);
if (func != null) {
return func;
}
}
}