Bug 23079 JavaElementLabels does not honor P_COMPRESSED for types and members
Build 20020903 The label provider has an option to compress the package name (P_COMPRESSED). This option is not applied to types and members. Test Case: 1. Enable package fragment name compression 2. Search for declarations of a type or method which is not in the default package ==> the Search view should honor the package fragment name compression
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
if (getFlag(flags, F_POST_QUALIFIED)) {
				buf.append(CONCAT_STRING);
				getTypeLabel(field.getDeclaringType(), T_FULLY_QUALIFIED, buf);
			}
			
		} catch (JavaModelException e) {
			JavaPlugin.log(e); 
		}			
	}
	/**
	 * Appends the label for a initializer to a StringBuffer. Considers the I_* flags.
	 */	
	public static void getInitializerLabel(IInitializer initializer, int flags, StringBuffer buf) {
		
		if (getFlag(flags, I_FULLY_QUALIFIED)) {
			getTypeLabel(initializer.getDeclaringType(), T_FULLY_QUALIFIED, buf);
			buf.append('.');
		}
		buf.append(JavaUIMessages.getString("JavaElementLabels.initializer")); 
		
		if (getFlag(flags, I_POST_QUALIFIED)) {
			buf.append(CONCAT_STRING);
			getTypeLabel(initializer.getDeclaringType(), T_FULLY_QUALIFIED, buf);
		}
	}
	/**
	 * Appends the label for a type to a StringBuffer. Considers the T_* flags.
	 */		
	public static void getTypeLabel(IType type, int flags, StringBuffer buf) {