class SetAddressFromObjectNameReceiverCreator extends BasicIntermediateReceiverObjectCreator {

    @Override
    public Collection<Object> enumIdentifiers(IObject config, IObject context)
            throws InvalidReceiverPipelineException, ReceiverObjectCreatorException {
        try {
            Object name = config.getValue(objectNameFieldName);
            return Collections.singletonList(name);
        } catch (ReadValueException | InvalidArgumentException e) {
            throw new ReceiverObjectCreatorException(e);
        }
    }

    public  SetAddressFromObjectNameReceiverCreator(IReceiverObjectCreator underlyingObjectCreator, IObject filterConfig, IObject objectConfig);

}