Bug 41028 Java Browsing, Members View: types for fields [browsing]
Currently, the Members View of the Java Browsing perspective shows return types for functions, and types for method parameters. It would be helpful to extend this so that fields were also displayed with their type indicated.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementLabels.java
for (int i= 0; i < types.length; i++) {
						if (i > 0) {
							buf.append(COMMA_STRING);
						}
						buf.append(Signature.getSimpleName(Signature.toString(types[i])));
					}
				}
			}
			
			if (getFlag(flags, M_APP_RETURNTYPE) && method.exists() && !method.isConstructor()) {
				buf.append(DECL_STRING);
				buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType())));	
			}			
			
			
			if (getFlag(flags, M_POST_QUALIFIED)) {
				buf.append(CONCAT_STRING);
				getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED | (flags & P_COMPRESSED), buf);
			}			
			
		} catch (JavaModelException e) {
			JavaPlugin.log(e); 
		}
	}
	
	/**
	 * Appends the label for a field to a StringBuffer. Considers the F_* flags.
	 */	
	public static void getFieldLabel(IField field, int flags, StringBuffer buf) {
		try {