Bug 62868 Error introduced by "create method definition in super class/interface" Quick Assist [quick assist]
I200405190010 I used this quick assist but did not notice that my method was protected and that the method got created in an interface. If a method is protected and it only implements an interface then the quick assist should not be enabled.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java
ITypeBinding curr= bindings[i];
			
			SingleVariableDeclaration newParam= ast.newSingleVariableDeclaration();
			
			String typeName= importRewrite.addImport(curr);
			newParam.setType(ASTNodeFactory.newType(ast, typeName));
			newParam.setName(ast.newSimpleName(paramNames[i]));
			
			params.add(newParam);
			
			addLinkedPosition(rewrite.track(newParam.getType()), false, "arg_type_" + i); 
			addLinkedPosition(rewrite.track(newParam.getName()), false, "arg_name_" + i); 
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.internal.ui.text.correction.AbstractMethodCompletionProposal#getNewName()
	 */
	protected SimpleName getNewName(ASTRewrite rewrite) {
		AST ast= rewrite.getAST();
		SimpleName nameNode= ast.newSimpleName(fMethod.getName());
		addLinkedPosition(rewrite.track(nameNode), false, KEY_NAME);
		return nameNode;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.internal.ui.text.correction.AbstractMethodCompletionProposal#evaluateModifiers(org.eclipse.jdt.core.dom.ASTNode)
	 */
	protected int evaluateModifiers(ASTNode targetTypeDecl) {
		if (getSenderBinding().isInterface()) {
			return 0;
		} else {