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, M_PRE_RETURNTYPE) && method.exists() && !method.isConstructor()) {
				buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType())));
				buf.append(' ');
			}
			
			
			if (getFlag(flags, M_FULLY_QUALIFIED)) {
				getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf);
				buf.append('.');
			}
				
			buf.append(method.getElementName());
			
			
			if (getFlag(flags, M_PARAMETER_TYPES | M_PARAMETER_NAMES)) {
				buf.append('(');
				
				String[] types= getFlag(flags, M_PARAMETER_TYPES) ? method.getParameterTypes() : null;
				String[] names= (getFlag(flags, M_PARAMETER_NAMES) && method.exists()) ? method.getParameterNames() : null;
				int nParams= types != null ? types.length : names.length;
				
				for (int i= 0; i < nParams; i++) {
					if (i > 0) {
						buf.append(COMMA_STRING); 
					}
					if (types != null) {
						buf.append(Signature.getSimpleName(Signature.toString(types[i])));
					}
					if (names != null) {