Unlike most of CodeModel, JExpressions are built bottom-up ( meaning you start from leaves and then gradually build compliated expressions by combining them.)
{@link JExpression} defines a series of composer methods,which returns a complicated expression (by often taking other {@link JExpression}s as parameters. For example, you can build "5+2" by JExpr.lit(5).add(JExpr.lit(2))
Unlike most of CodeModel, JExpressions are built bottom-up ( meaning you start from leaves and then gradually build compliated expressions by combining them.)
{@link JExpression} defines a series of composer methods,which returns a complicated expression (by often taking other {@link JExpression}s as parameters. For example, you can build "5+2" by JExpr.lit(5).add(JExpr.lit(2))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|