Bug 145022 Provide a utility method to help GUI enhance aggregate on.
DtE will provide a method hasAggregation(String expression) in org.eclipse.birt.core.data.ExpressionUtil, and the return value will be true when the expression is a valid JS expression and it has aggregation defined.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/ExpressionUtil.java
- status.getRetrieveSize( ) ) );
								String newExpression = firstPart
										+ "dataSetRow" + secondPart;
								return newExpression;
							}
						}
					}
				}
			}
		}
		return oldExpression;
	}
	/**
	 * This method is used to provide information necessary for next step parsing.
	 * 
	 * @param chars
	 * @param i
	 * @param omitNextQuote
	 * @param candidateKey1
	 * @param candidateKey2
	 * @return
	 */
	private static ParseIndicator getParseIndicator( char[] chars, int i,
			boolean omitNextQuote, boolean candidateKey1, boolean candidateKey2 )
	{
		int retrieveSize = 0;
		if ( chars[i] == '/' )
		{
			if ( i > 0 && chars[i - 1] == '/' )
			{