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/AddGetterSetterOperation.java
return fieldname.substring(1);
					}
					if (firstLetter == '_') {
						return String.valueOf(Character.toUpperCase(secondLetter)) + fieldname.substring(2);
					}
				}
				return String.valueOf(Character.toUpperCase(firstLetter)) + fieldname.substring(1);
			}
		}
		return fieldname;
	}
	
	/**
	 * Creates the name of the parameter from an accessor name.
	 */	
	private String getArgumentName(String accessorName) {
		if (accessorName.length() > 0) {
			char firstLetter= accessorName.charAt(0);
			if (!Character.isLowerCase(firstLetter)) {
				return "" + Character.toLowerCase(firstLetter) + accessorName.substring(1); 
			}
		}
		return accessorName;
	}
	
	/**
	 * Runs the operation.
	 * @throws OperationCanceledException Runtime error thrown when operation is cancelled.
	 */
	public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {