code: @Override
  	public List<TargetWrapperDescriptor> listPossibleTargets( AbstractApplication app ) {
  
  		// Find the matching targets based on registered hints
  		String key = new InstanceContext( app ).toString();
  		String tplKey = null;
  		if( app instanceof Application )
  			tplKey = new InstanceContext(((Application) app).getTemplate()).toString();
  
  		List<File> targetDirectories = new ArrayList<> ();
  		File dir = new File( this.configurationMngr.getWorkingDirectory(), ConfigurationUtils.TARGETS );
  		for( File f : Utils.listDirectories( dir )) {
  
  			// If there is no hint for this target, then it is global.
  			// We can list it.
  			File hintsFile = new File( f, TARGETS_HINTS_FILE );
  			if( ! hintsFile.exists()) {
  				targetDirectories.add( f );
  				continue;
  			}
  
  			// Otherwise, the key must exist in the file
  			Properties props = Utils.readPropertiesFileQuietly( hintsFile, this.logger );
  			if( props.containsKey( key ))
  				targetDirectories.add( f );
  			else if( tplKey != null && props.containsKey( tplKey ))
  				targetDirectories.add( f );
  		}
  
  		// Build the result
  		return buildList( targetDirectories, app );
  	}
docs: In relation with hints