getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf);
getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED | (flags & P_COMPRESSED), buf);
	public static void getMethodLabel(IMethod method, int flags, StringBuffer buf) {		try {			// return type			if (getFlag(flags, M_PRE_RETURNTYPE) && method.exists() && !method.isConstructor()) {				buf.append(Signature.getSimpleName(Signature.toString(method.getReturnType())));				buf.append(' ');			}						// qualification			if (getFlag(flags, M_FULLY_QUALIFIED)) {				getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf);				buf.append('.');			}							buf.append(method.getElementName());						// parameters			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); //$NON-NLS-1$					}					if (types != null) {						buf.append(Signature.getSimpleName(Signature.toString(types[i])));					}					if (names != null) {						if (types != null) {							buf.append(' ');						}						buf.append(names[i]);					}				}				buf.append(')');			}								if (getFlag(flags, M_EXCEPTIONS) && method.exists()) {				String[] types= method.getExceptionTypes();				if (types.length > 0) {					buf.append(" throws "); //$NON-NLS-1$					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())));				}									// post qualification			if (getFlag(flags, M_POST_QUALIFIED)) {				buf.append(CONCAT_STRING);				getTypeLabel(method.getDeclaringType(), T_FULLY_QUALIFIED, buf);			}								} catch (JavaModelException e) {			JavaPlugin.log(e); // NotExistsException will not reach this point		}	}