public static IPath getSARLOutputPathFor(
			IProject project) {
		assert project != null;
		final IPreferenceStore preferenceStore = getSARLPreferencesFor(project);
		if (preferenceStore.getBoolean(IS_PROJECT_SPECIFIC)) {
			String key;
			for (final OutputConfiguration projectConfiguration : getXtextConfigurationsFor(project)) {
				key = BuilderPreferenceAccess.getKey(
						projectConfiguration,
						EclipseOutputConfigurationProvider.OUTPUT_DIRECTORY);
				final String path = preferenceStore.getString(key);
				if (!Strings.isNullOrEmpty(path)) {
					return Path.fromOSString(path);
				}
			}
		}
		return null;
	}
public static IPath getSARLOutputPathFor ( IProject project ) { assert project != null ; final IPreferenceStore preferenceStore = getSARLPreferencesFor ( project ) ; if ( preferenceStore . getBoolean ( IS_PROJECT_SPECIFIC ) ) { String key ; for ( final OutputConfiguration projectConfiguration : getXtextConfigurationsFor ( project ) ) { key = BuilderPreferenceAccess . getKey ( projectConfiguration , EclipseOutputConfigurationProvider . OUTPUT_DIRECTORY ) ; final String path = preferenceStore . getString ( key ) ; if ( ! Strings . isNullOrEmpty ( path ) ) { return Path . fromOSString ( path ) ; } } } return null ; }
Replies the output path for the generated sources that is registered inside the project's preferences.
If the project has no specific configuration, replies <code>null</code>.

@param project the project.
@return the output path for SARL compiler if the project has a specific configuration,
otherwise <code>null</code>.