List<IJavaCompletionProposal> proposals = new ArrayList<IJavaCompletionProposal>();
IMember member = (IMember) javaElement;
ICompilationUnit compilationUnit = member.getCompilationUnit();
ISourceRange sourceRange = member.getSourceRange();
AssistContext assistContext = new AssistContext(compilationUnit, null, sourceRange.getOffset(),
sourceRange.getLength());
ASTNode node = assistContext.getCoveringNode();
if (node instanceof MethodDeclaration) {
MethodDeclaration decl = (MethodDeclaration) node;
// SimpleName name = decl.getName();
if (problemType.equals(AutowireDependencyProvider.TOO_MANY_MATCHING_BEANS)) {