if (addParams) { for (Iterator it = type.getKeyProperties().iterator();
if (from != null) { for (Iterator it = from.getKeyProperties().iterator();
    private Signature getSignature(ObjectType type, SQLBlock block,                                   Path prefix, boolean addParams) {        Signature sig = new Signature(getSource(type, block, prefix));        for (Iterator it = block.getPaths().iterator(); it.hasNext(); ) {            Path path = (Path) it.next();            if (prefix == null) {                sig.addPath(path);            } else {                sig.addPath(prefix.getRelative(path));            }        }        if (addParams) {            for (Iterator it = type.getKeyProperties().iterator();                 it.hasNext(); ) {                Property key = (Property) it.next();                Parameter p = new Parameter                    (key.getType(), Path.get(key.getName()));                sig.addParameter(p);            }        }        return sig;    }