Bug 31634 Quickfix should do a team checkout
2.1 M5 / clearcase / eclipse-ccase plugin 0.9.3 Quickfix says no corrections available for a read only file that is under source control (i.e. not checked out). Quickfix should propose the corrections and check the file out automatically to implement them.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java
}
			
	private String getParameterName(ArrayList takenNames, Expression argNode, Type type) {
		if (argNode instanceof SimpleName) {
			String name= ((SimpleName) argNode).getIdentifier();
			while (takenNames.contains(name)) {
				name += '1';
			}
			takenNames.add(name);
			return name;
		}
		
		int dim= 0;
		if (type.isArrayType()) {
			ArrayType arrayType= (ArrayType) type;
			dim= arrayType.getDimensions();
			type= arrayType.getElementType();
		}
		String typeName= ASTNodes.getTypeName(type);
		String packName= Signature.getQualifier(typeName);
		
		IJavaProject project= getCompilationUnit().getJavaProject();
		String[] excludedNames= (String[]) takenNames.toArray(new String[takenNames.size()]);
		String[] names= NamingConventions.suggestArgumentNames(project, packName, typeName, dim, excludedNames);
		takenNames.add(names[0]);
		return names[0];
	}
			
	private int findInsertIndex(List decls, int currPos) {
		int nDecls= decls.size();