Bug 93249 Code assist doesn't propose full method stub
- take revision 1.8 of BuildPathAction. - in run method add the following IRunnableWithProgress runnable= new IRunnableWithProgress() { }; - inside the runnable type run<code assist> and select run observe: only the following method signature gets inserted. No method body. Additionally IProgressMonitor is fully qualified. public void run(org.eclipse.core.runtime.IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java
ChildListPropertyDescriptor descriptor= null;
		ASTNode node= NodeFinder.perform(unit, offset, 0);
		if (node instanceof AnonymousClassDeclaration) {
			binding= ((ClassInstanceCreation) node.getParent()).resolveTypeBinding();
			descriptor= AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY;
		} else if (node instanceof AbstractTypeDeclaration) {
			final AbstractTypeDeclaration declaration= ((AbstractTypeDeclaration) node);
			descriptor= declaration.getBodyDeclarationsProperty();
			binding= declaration.resolveBinding();
		}
		if (binding != null) {
			ASTRewrite rewrite= ASTRewrite.create(unit.getAST());
			IMethodBinding[] bindings= StubUtility2.getOverridableMethods(rewrite.getAST(), binding, true);
			if (bindings != null && bindings.length > 0) {
				List candidates= new ArrayList(bindings.length);
				IMethodBinding method= null;
				for (int index= 0; index < bindings.length; index++) {
					method= bindings[index];
					if (method.getName().equals(fMethodName) && method.getParameterTypes().length == fParamTypes.length)
						candidates.add(method);
				}
				if (candidates.size() > 1) {
					method= Bindings.findMethodInHierarchy(rewrite.getAST().resolveWellKnownType("java.lang.Object"), binding, fMethodName, fParamTypes); 
					if (method == null)
						method= (IMethodBinding) candidates.get(0);
				} else if (!candidates.isEmpty())
					method= (IMethodBinding) candidates.get(0);
				if (method != null) {
					CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings(fJavaProject);
					ListRewrite rewriter= rewrite.getListRewrite(node, descriptor);