public class JjsUtils extends Object
Modifier and Type | Method and Description |
---|---|
static JExpression |
createOptimizedMultiExpression(boolean ignoringResult,
List<JExpression> expressions)
Creates a multi expression from a list of expressions, removing expressions that do
not have side effects if possible.
|
static JExpression |
createOptimizedMultiExpression(JExpression... expressions)
Creates a multi expression from a list of expressions, removing expressions that do
not have side effects if possible.
|
static JsLiteral |
translateLiteral(JLiteral literal)
Translates a Java literal into a JavaScript literal.
|
public static JExpression createOptimizedMultiExpression(JExpression... expressions)
public static JExpression createOptimizedMultiExpression(boolean ignoringResult, List<JExpression> expressions)
Copyright © 2018. All rights reserved.