&& name.toLowerCase().indexOf(selectedFunction) == 0)
names[n++] = name;
}
Arrays.sort(names, 0, n);
for (int i = 0; i < n; i++) {
ScriptFunction f = (ScriptFunction) ht.get(names[i]);
s.append(namesOnly ? f.getSignature() : f.toString());
s.append('\n');
}
return s.toString();
}