public void visit( ExpressionCollectionIndex part ) { ExpressionCollectionIndex method = new ExpressionCollectionIndex( part.getName(), part.getClassType(), part.getGenericType(), part.getParametricType() ); copyMethodParams( part, method ); add( method ); moveNext( part ); }
private static ExpressionFormLine buildExpressionFormLine() { ExpressionFormLine efl = new ExpressionFormLine(); efl.setBinding( "eflBinding" ); efl.appendPart( new ExpressionText( "text" ) ); efl.appendPart( new ExpressionCollectionIndex( "collectionIndex", "CT", "GT" ) ); return efl; }