Bug 100818 [quick fix] Wrong label for nested enum LinkedCorrectionProposal.LinkedModeProposal
3.1-RC2 test pass - have the cu below -> compile error since the return value in the switch statement is not compatible with the declared return type - use quick fix to change the declared return type - note the label of the proposed return type is wrong - there is no separator between the type name and the qualifier -------- P.java ---------- package pr100795; class P { enum E {ONE, TWO, THREE} int m(int i) { switch (i) { case 0: return E.ONE; } } } --------------------------
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java
buffer.append('.');
		}
		buffer.append(binding.getName());
		if ((flags & JavaElementLabels.M_APP_TYPE_PARAMETERS) != 0) {
			if (binding.isParameterizedMethod()) {
				ITypeBinding[] typeArguments= binding.getTypeArguments();
				if (typeArguments.length > 0) {
					buffer.append(' ');
					getTypeArgumentsLabel(typeArguments, (flags & JavaElementLabels.T_TYPE_PARAMETERS), buffer);
				}				
			}
		}
		
		
		
		buffer.append('(');
		if ((flags & JavaElementLabels.M_PARAMETER_TYPES | JavaElementLabels.M_PARAMETER_NAMES) != 0) {
			ITypeBinding[] parameters= ((flags & JavaElementLabels.M_PARAMETER_TYPES) != 0) ? binding.getParameterTypes() : null;
			if (parameters != null) {
				for (int index= 0; index < parameters.length; index++) {
					if (index > 0) {
						buffer.append(JavaElementLabels.COMMA_STRING); 
					}
					if (parameters != null) {
						ITypeBinding paramType= parameters[index];
						if (binding.isVarargs() && (index == parameters.length - 1)) {
							getTypeLabel(paramType.getElementType(), (flags & JavaElementLabels.T_TYPE_PARAMETERS), buffer);
							appendDimensions(paramType.getDimensions() - 1, buffer);
							buffer.append(JavaElementLabels.ELLIPSIS_STRING);
						} else {