class Builder {
        private DeclarativeAuthorizatorPolicy instance;

        public Builder readFrom(Topic topic, String user, String client) {
            final DeclarativeAuthorizatorPolicy policy = createOrGet();
            policy.addReadFrom(topic, user, client);
            return this;
        }

        public Builder writeTo(Topic topic, String user, String client) {<FILL_FUNCTION_BODY>}

        private DeclarativeAuthorizatorPolicy createOrGet() {
            if (instance == null) {
                instance = new DeclarativeAuthorizatorPolicy();
            }
            return instance;
        }

        public IAuthorizatorPolicy build() {
            return createOrGet();
        }
    }

            final DeclarativeAuthorizatorPolicy policy = createOrGet();
            policy.addWriteTo(topic, user, client);
            return this;
        
<no_super_class>