Bug 29091 Protected method created when overridding public method from super class
M4 Using org.eclipse.jdt.internal.debug.ui.launcher.MainTypeSelectionDialog, override TwoPaneElementSelector#createDialogArea(Composite) createDialogArea is created but is has protected visibility. I believe it should have public visibility as TwoPaneElementSelector#createDialogArea(Composite) is public and one cannot reduce the visibility of the inherited method.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodStubCompletionProposal.java
protected String updateReplacementString(IDocument document, char trigger, int offset, ImportsStructure impStructure) throws CoreException, BadLocationException {
		IType declaringType= fJavaProject.findType(fTypeName);
		if (declaringType != null) {
			IMethod method= JavaModelUtil.findMethod(fMethodName, fParamTypes, false, declaringType);
			if (method != null) {
				GenStubSettings settings= new GenStubSettings(JavaPreferencesSettings.getCodeGenerationSettings());
				IType definingType= null;
				if (impStructure != null) {
					IJavaElement currElem= impStructure.getCompilationUnit().getElementAt(offset);
					if (currElem != null) {
						definingType= (IType) currElem.getAncestor(IJavaElement.TYPE);
					}
				}
				settings.noBody= (definingType != null) && definingType.isInterface();
				settings.callSuper= declaringType.isClass() && !Flags.isAbstract(method.getFlags()) && !Flags.isStatic(method.getFlags());
				settings.methodOverwrites= !Flags.isStatic(method.getFlags());
				String stub= StubUtility.genStub(fTypeName, method, settings, impStructure);
				
				String lineDelim= StubUtility.getLineDelimiterFor(document);
				IRegion region= document.getLineInformationOfOffset(getReplacementOffset());
				int lineStart= region.getOffset();
				int indent= Strings.computeIndent(document.get(lineStart, getReplacementOffset() - lineStart), settings.tabWidth);
				String replacement= StubUtility.codeFormat(stub, indent, lineDelim);
				return Strings.trimLeadingTabsAndSpaces(replacement);
			}
		}
		return null;
	}
}