code: public static Map<String,String> findTypeNames( File appDirectory, boolean includeFacets, boolean includeComponents ) {
  
  		// TreeMap: keys are sorted alphabetically.
  		Map<String,String> result = new TreeMap<> ();
  		for( RoboconfTypeBean type : findAllTypes( appDirectory ).values()) {
  
  			if( includeFacets && type.isFacet())
  				result.put( type.getName(), type.getDescription());
  
  			if( includeComponents && ! type.isFacet())
  				result.put( type.getName(), type.getDescription());
  		}
  
  		return result;
  	}
docs: Find type names from raw graph files (including malformed ones).
  @param appDirectory the application's directory (can be null)
  @param includeFacets true to include facet names in the result
  @param includeComponents true to include component names in the result
  @return a non-null map (key = type name, value = description)