Bug 38484 add constructors: incorrect wording
20030604 dialog says 'generate method comment' but it's the constructor comment template that will be used here, not the method comment
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
if (comboBoxIndex == 0)				
				return asFirstMethod(fType);
			else								
				return atMethodPosition(fType, comboBoxIndex);
		} catch (JavaModelException e) {
			return null;
		}			
	}
	
	private IMethod asFirstMethod(IType type) throws JavaModelException {
		if (type != null) {
			IMethod[] methods= type.getMethods();
			if (methods.length > 0) {
				return methods[0];		
			}
		}
		return null;
	}
	
	private IMethod atMethodPosition(IType type, int index) throws JavaModelException {
		if (type != null) {
			IMethod[] methods= type.getMethods();
			if (index < methods.length) {
				return methods[index];
			}
		}
		return null;
	}	
}