Bug 91505 Typo in new API: JavaElementLabels.getDeclararionLabel(..)
I20050414-1107 Typo in new API: JavaElementLabels.getDeclararionLabel(..) ^ should be t Can we still correct this (it's new 3.1 API)?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java
if (root.isArchive())
			getArchiveLabel(root, flags, buf);
		else
			getFolderLabel(root, flags, buf);
	}
	
	private static void getArchiveLabel(IPackageFragmentRoot root, long flags, StringBuffer buf) {
			
		if (getFlag(flags, ROOT_VARIABLE) && getVariableLabel(root, flags, buf))
			return;
		boolean external= root.isExternal();
		if (external)
			getExternalArchiveLabel(root, flags, buf);
		else
			getInternalArchiveLabel(root, flags, buf);
	}
	
	private static boolean getVariableLabel(IPackageFragmentRoot root, long flags, StringBuffer buf) {
		try {
			IClasspathEntry rawEntry= root.getRawClasspathEntry();
			if (rawEntry != null) {
				if (rawEntry.getEntryKind() == IClasspathEntry.CPE_VARIABLE) {
					buf.append(rawEntry.getPath().makeRelative());
					buf.append(CONCAT_STRING);
					if (root.isExternal())
						buf.append(root.getPath().toOSString());
					else
						buf.append(root.getPath().makeRelative().toString());
					return true;
				}