String projectName = token.nextToken( ); IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); if (project != null && hasJavaNature( project ))
IProject project = projects[i]; 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( );			IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);			if (project != null && hasJavaNature( project ))			{				retValue.add( JavaCore.create( project ));			}			//List paths = getProjectSourcePaths( projectName );//			for ( int i = 0; i < paths.size( ); i++ )//			{//				retValue.add( paths.get( i ) );//			}		}		return retValue;	}