return typeName.substring(0, typeName.indexOf('['));
return typeName.substring(0, typeName.lastIndexOf('['));
	public String guessArrayType() {		CompilationUnitCompletion completion= getCompletion();		LocalVariable[] localArrays= completion.findLocalArrays();						if (localArrays.length > 0) {			String typeName= localArrays[localArrays.length - 1].typeName;			return typeName.substring(0, typeName.indexOf('['));		}				return null;	}