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
}
				
		public void sortIn(IImportDeclaration imp) {
			String fullImportName= imp.getElementName();
			int insertPosition= -1;
			int nInports= fImportEntries.size();
			for (int i= 0; i < nInports; i++) {
				int cmp= fullImportName.compareTo(getImportAt(i).getElementName());
				if (cmp == 0) {
					return; 
				} else if (cmp < 0 && insertPosition == -1) {
					insertPosition= i;
				}
			}
			if (insertPosition == -1) {
				fImportEntries.add(imp);
			} else {
				fImportEntries.add(insertPosition, imp);
			}
		}
		
		public void add(IImportDeclaration imp) {
			fImportEntries.add(imp); 
		}
		
		/*public IImportDeclaration findTypeName(String typeName) {
			int nInports= fImportEntries.size();
			if (nInports > 0) {
				String fullName= StubUtility.getFullTypeName(fName, typeName);
				for (int i= 0; i < nInports; i++) {