* ICompilationUnit.getType feature - walkback if not simple name
* ICompilationUnit.getType expects simple name
	protected static boolean typeNameExistsInPackage(IPackageFragment pack, String name) throws JavaModelException{		Assert.isTrue(pack.exists(), "package must exist");		Assert.isTrue(!pack.isReadOnly(), "package must not be read-only");		/*		 * ICompilationUnit.getType feature - walkback if not simple name		 */  		if (name.indexOf(".") != -1)			name= name.substring(0, name.indexOf("."));		ICompilationUnit[] cus= pack.getCompilationUnits();		for (int i= 0; i < cus.length; i++){			if (cus[i].getType(name).exists())				return true;		}		return false;	}