code: public final void resolve(String value) {
  		future.complete(new Tree((Tree) null, null, value));
  	}
docs: Resolves the value of the current Promise with the given text.
  
  @param value
  the value of the Promise