Bug 31649 Quick assist surround proposals need different label
20030211 All uix fix/assist proposals have a descriptive label 'Remove xx', 'Change to..' The surround template proposals should follow this rule as well. e.g. 'Surround with {0} template'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickTemplateProcessor.java
int nestingLevel= 0;
			int curr= reader.read();		
			while (curr != JavaCodeReader.EOF) {
				if (')' == (char) curr)
					++ nestingLevel;
				else if ('(' == (char) curr) {
					-- nestingLevel;
				
					if (nestingLevel < 0) {
						int start= reader.getOffset();
						if (looksLikeMethod(reader))
							return start + 1;
					}	
				}
				curr= reader.read();					
			}
		} catch (IOException e) {
		}
		
		return contextPosition;
	}		
	
	/**
	 * Order the given proposals.
	 */
	private ICompletionProposal[] order(ICompletionProposal[] proposals) {
		Arrays.sort(proposals, fComparator);
		return proposals;	
	}