List paths = getProjectSourcePaths( projectName ); for ( int i = 0; i < paths.size( ); i++ )
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); if (project != null && hasJavaNature( project ))
	private List getAllProjectSourcePaths( String path )	{		List retValue = new ArrayList( );		if ( path == null || path.length( ) == 0 )		{			return retValue;		}		StringTokenizer token = new StringTokenizer( path, PROPERTYSEPARATOR );		while ( token.hasMoreTokens( ) )		{			String projectName = token.nextToken( );			List paths = getProjectSourcePaths( projectName );			for ( int i = 0; i < paths.size( ); i++ )			{				retValue.add( paths.get( i ) );			}		}		return retValue;	}