String typeName= localArrays[localArrays.length - 1].typeName; return typeName.substring(0, typeName.lastIndexOf('['));
LocalVariable localArray= localArrays[localArrays.length - 1];  String arrayTypeName= localArray.typeName; String typeName= getScalarType(arrayTypeName); int dimension= getArrayDimension(arrayTypeName) - 1; Assert.isTrue(dimension >= 0);  String qualifiedName= createQualifiedTypeName(localArray.typePackageName, typeName); String innerTypeName= completion.simplifyTypeName(qualifiedName);  return innerTypeName == null ? createArray(typeName, dimension) : createArray(innerTypeName, dimension);
	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.lastIndexOf('['));		}				return null;	}