if (mapper == null) { throw new NullPointerException("FunctionMapper target cannot be null"); } this.target = mapper;
return this.memento;
if (this.memento == null) { this.memento = new FunctionMapperImpl(); } Method m = this.target.resolveFunction(prefix, localName); if (m != null) { this.memento.addFunction(prefix, localName, m); } return m;