code: public Instance resolveInstance( String instancePath ) {
  
  		Instance instance = null;
  		String componentName = this.instancePathToComponentName.get( instancePath );
  		if( componentName != null ) {
  
  			String instanceName = InstanceHelpers.findInstanceName( instancePath );
  			Component component;
  			if( DefineVariableCommandInstruction.FAKE_COMPONENT_NAME.equals( componentName ))
  				component = new Component( DefineVariableCommandInstruction.FAKE_COMPONENT_NAME );
  			else
  				component = ComponentHelpers.findComponent( this.app, componentName );
  
  			if( ! Utils.isEmptyOrWhitespaces( instanceName ) && component != null )
  				instance = new Instance( instanceName ).component( component );
  			else
  				this.logger.warning( "Instance's component of " + instancePath + " could not be resolved." );
  		}
  
  		return instance;
  	}
docs: Resolves an instance, be it into the application or defined by a previous command instruction.
  <p>
  This method should be used as it simulates some modifications made to the application by command
  instructions. When validating instructions, it will always be more reliable than directly picking
  up instances in the application.
  </p>
  
  @param instancePath a non-null instance path
  @return an instance, or null if it was never created