Bug 37755 Inner class not displayed in Outline view
I've defined 2 inner classes, but only 1 is shown in the Outline view. With the 2 nested classes shown below, only DBChoice is displayed under the HearingFeedback class in the Outline: public class HearingFeedback extends Action { class DbAnswer { int question_d; String answer_text; String answered; ArrayList choices; DbAnswer() { // no-arg constructor } DbAnswer(int question_id, String answer_text, String answered) { this.question_d = question_id; this.answer_text = answer_text; this.answered = answered; } } // End of DbAnswer class DbChoice { int choice_id; String selected; DbChoice() { // no-arg constructor } DbChoice(int choice_id, String selected) { this.choice_id = choice_id; this.selected = selected; } } // End of DbChoice ...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
fContextMenuID= contextMenuID;
		fEditor= editor;
		
		fTogglePresentation= new TogglePresentationAction();
		fPreviousError= new GotoErrorAction("PreviousError.", false); 
		fPreviousError.setImageDescriptor(JavaPluginImages.DESC_TOOL_GOTO_PREV_ERROR);
		fNextError= new GotoErrorAction("NextError.", true); 
		fNextError.setImageDescriptor(JavaPluginImages.DESC_TOOL_GOTO_NEXT_ERROR);
		fShowJavadoc= (TextEditorAction) fEditor.getAction("ShowJavaDoc"); 
		fUndo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.UNDO);
		fRedo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.REDO);
		
		fTogglePresentation.setEditor(editor);
		fPreviousError.setEditor(editor);
		fNextError.setEditor(editor);	
		
		fPropertyChangeListener= new IPropertyChangeListener() {
			public void propertyChange(PropertyChangeEvent event) {
				doPropertyChange(event);
			}
		};
		JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPropertyChangeListener);
	}
   
	/**
	 * Returns the primary type of a compilation unit (has the same
	 * name as the compilation unit).
	 * 
	 * @param compilationUnit the compilation unit
	 * @return returns the primary type of the compilation unit, or