Bug 3811 Setter / Getter generates setter for final fields (1GEUMGT)
- private final String fName; - generate Setter and Getter - you get public void setName(String name) { fName= name; } which produces a compile error. NOTES: EG (6/5/2001 3:41:01 AM) not critical, can be documented. MA (02.08.2001 16:49:08) fixed in 200
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/codemanipulation/ImportsStructure.java
if (pack.getCategory() != lastCategory) {
						if (lastCategory != -1) {
							buf.insert(lastPos, lineDelim);
						}
						lastCategory= pack.getCategory();
					}
					
					if (nImports >= fImportOnDemandThreshold) {
						
						String starimport= packName + ".*"; 
						lastPos= insertImport(buf, lastPos, starimport, lineDelim);
						created.add(fCompilationUnit.getImport(starimport));
					} else {
						for (int j= nImports - 1; j >= 0; j--) {
							IImportDeclaration currDecl= pack.getImportAt(j);
							if (fReplaceExistingImports || !currDecl.exists()) {
								lastPos= insertImport(buf, lastPos, currDecl.getElementName(), lineDelim);
								created.add(currDecl);
							} else {
								lastPos= currDecl.getSourceRange().getOffset() - importsStart;
							}
						}
					}
				}
			}
		}
		
		try {
			if (!container.exists() && created.size() > 0) {