public static List<ICompletionProposal> computeBeanReferenceQuickAssistProposals(IDOMNode node,
String attributeName, IFile file, String text, String beanName, int offset, int length,
boolean missingEndQuote) {
List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
Set<ContentAssistProposalWrapper> possibleProposals = new QuickfixContentAssistConverter(node, attributeName,
file).getReferenceableBeanDescriptions(text, false);
for (ContentAssistProposalWrapper proposal : possibleProposals) {
proposals.add(new RenameToSimilarNameQuickFixProposal(proposal.getName(), offset, length, missingEndQuote,
proposal.getDisplayText()));
}