public void add(String methodName,List<Expression> parameters,boolean isProperty){
  chain.add(new DotExpressionItem(methodName,parameters,isProperty));
}

public void add ( String methodName , List < Expression > parameters , boolean isProperty ) { chain . add ( new DotExpressionItem ( methodName , parameters , isProperty ) ) ; }
add a method to the chain of methods after the dot , indicating the this segment is a property and does not need parenthesis and won ' t have paramaters .
