| Modifier and Type | Class and Description | 
|---|---|
| class  | JAbsentArrayDimensionRepresents an array dimension that was not specified in an array
 instantiation expression. | 
| class  | JArrayLengthJava array length expression. | 
| class  | JArrayRefJava array reference expression. | 
| class  | JBinaryOperationBinary operator expression. | 
| class  | JBooleanLiteralJava boolean literal expression. | 
| class  | JCastMapA low-level node representing a castable type map. | 
| class  | JCastOperationJava cast expression. | 
| class  | JCharLiteralJava character literal expression. | 
| class  | JClassLiteralJava class literal expression. | 
| class  | JConditionalConditional expression. | 
| class  | JDoubleLiteralJava double literal expression. | 
| class  | JFieldRefJava field reference expression. | 
| class  | JFloatLiteralJava literal typed as a float. | 
| class  | JGwtCreateRepresents a GWT.create() call before deferred binding decisions are
 finalized. | 
| class  | JInstanceOfJava instance of expression. | 
| class  | JIntLiteralJava integer literal expression. | 
| class  | JLiteralBase class for any Java literal expression. | 
| class  | JLocalRefJava local variable reference. | 
| class  | JLongLiteralJava literal expression that evaluates to a Long. | 
| class  | JMethodCallJava method call expression. | 
| class  | JNameOfAn AST node whose evaluation results in the string name of its node. | 
| class  | JNewArrayNew array expression. | 
| class  | JNewInstanceA new instance expression. | 
| class  | JNullLiteralJava null literal expression. | 
| class  | JNumericEntryA place order a numeric value in the AST. | 
| class  | JParameterRefJava method parameter reference expression. | 
| class  | JPostfixOperationJava postfix operation expression. | 
| class  | JPrefixOperationJava prefix operation expression. | 
| class  | JRunAsyncRepresents a GWT.runAsync() call. | 
| class  | JRuntimeTypeReferenceAn AST node whose evaluation results in a runtime type reference of its node. | 
| class  | JStringLiteralJava literal expression that evaluates to a string. | 
| class  | JThisRefJava method this (or super) expression. | 
| class  | JUnaryOperationJava prefix or postfix operation expression. | 
| class  | JValueLiteralBase class for any Java literal expression. | 
| class  | JVariableRefBase class for any reference to a  JVariablederived class. | 
| Modifier and Type | Field and Description | 
|---|---|
| JExpression | JDeclarationStatement. initializer | 
| static JExpression | JAbsentArrayDimension. INSTANCE | 
| Modifier and Type | Field and Description | 
|---|---|
| List<JExpression> | JNewArray. dims | 
| List<JExpression> | JNewArray. initializers | 
| Modifier and Type | Method and Description | 
|---|---|
| JExpression | JVisitor. accept(JExpression node) | 
| JExpression | JVisitor. acceptLvalue(JExpression expr) | 
| JExpression | JModVisitor. acceptLvalue(JExpression expr) | 
| JExpression | JProgram. createArrayClassLiteralExpression(SourceInfo sourceInfo,
                                 JClassLiteral leafTypeClassLiteral,
                                 int dimensions)Returns an expression that evaluates to an array class literal at runtime. | 
| static JExpression | JGwtCreate. createInstantiationExpression(SourceInfo info,
                             JClassType classType,
                             JDeclaredType enclosingType) | 
| JExpression | JUnaryOperation. getArg() | 
| JExpression | JAssertStatement. getArg() | 
| JExpression | JForStatement. getCondition()Returns the condition (2nd component) expression. | 
| JExpression | JConditional. getElseExpr() | 
| JExpression | JInstanceOf. getExpr() | 
| JExpression | JSwitchStatement. getExpr() | 
| JExpression | JCastOperation. getExpr() | 
| JExpression | JCaseStatement. getExpr() | 
| JExpression | JExpressionStatement. getExpr() | 
| JExpression | JReturnStatement. getExpr() | 
| JExpression | JThrowStatement. getExpr() | 
| JExpression | JIfStatement. getIfExpr() | 
| JExpression | JConditional. getIfTest() | 
| JExpression | JForStatement. getIncrements()Returns the increments (3rd component) expression. | 
| JExpression | JArrayRef. getIndexExpr() | 
| JExpression | JVariable. getInitializer() | 
| JExpression | JDeclarationStatement. getInitializer() | 
| JExpression | HasInstance. getInstance() | 
| JExpression | JArrayRef. getInstance() | 
| JExpression | JMethodCall. getInstance() | 
| JExpression | JFieldRef. getInstance() | 
| JExpression | JArrayLength. getInstance() | 
| JExpression | JBinaryOperation. getLhs() | 
| JExpression | JRunAsync. getOnSuccessCall()Returns a call expression akin to  callback.onSuccess(). | 
| JExpression | JBinaryOperation. getRhs() | 
| JExpression | JRunAsync. getRunAsyncCall()Returns a call expression akin to
  AsyncFragmentLoader.runAsync(7, callback). | 
| JExpression | JDoStatement. getTestExpr() | 
| JExpression | JWhileStatement. getTestExpr() | 
| JExpression | JAssertStatement. getTestExpr() | 
| JExpression | JConditional. getThenExpr() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<JExpression> | JMethodCall. getArgs()Returns the call arguments. | 
| List<JExpression> | JCastMap. getCanCastToTypes() | 
| ArrayList<JExpression> | JGwtCreate. getInstantiationExpressions() | 
| Modifier and Type | Method and Description | 
|---|---|
| JExpression | JVisitor. accept(JExpression node) | 
| JExpression | JVisitor. acceptLvalue(JExpression expr) | 
| JExpression | JModVisitor. acceptLvalue(JExpression expr) | 
| void | JMethodCall. addArg(int index,
      JExpression toAdd)Inserts an argument at the specified index. | 
| void | JMethodCall. addArg(JExpression toAdd)Adds an argument to this method. | 
| void | JMethodCall. addArgs(JExpression... toAdd)Adds an argument to this method. | 
| static JExpressionStatement | JProgram. createAssignmentStmt(SourceInfo info,
                    JExpression lhs,
                    JExpression rhs)Helper to create an assignment, used to initalize fields, etc. | 
| void | JVisitor. endVisit(JExpression x,
        Context ctx) | 
| void | JMethodCall. setArg(int index,
      JExpression arg)Sets the argument at the specified index. | 
| boolean | JVisitor. visit(JExpression x,
     Context ctx) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JMethodCall. addArgs(List<JExpression> toAdd)Adds arguments to this method. | 
| static JNewArray | JNewArray. createDims(SourceInfo info,
          JArrayType arrayType,
          List<JExpression> dims) | 
| static JNewArray | JNewArray. createInitializers(SourceInfo info,
                  JArrayType arrayType,
                  List<JExpression> initializers) | 
| Constructor and Description | 
|---|
| JArrayLength(SourceInfo info,
            JExpression instance) | 
| JArrayRef(SourceInfo info,
         JExpression instance,
         JExpression indexExpr) | 
| JAssertStatement(SourceInfo info,
                JExpression testExpr,
                JExpression arg) | 
| JBinaryOperation(SourceInfo info,
                JType type,
                JBinaryOperator op,
                JExpression lhs,
                JExpression rhs) | 
| JCaseStatement(SourceInfo info,
              JExpression expr) | 
| JCastOperation(SourceInfo info,
              JType castType,
              JExpression expr) | 
| JConditional(SourceInfo info,
            JType type,
            JExpression ifTest,
            JExpression thenExpr,
            JExpression elseExpr) | 
| JDeclarationStatement(SourceInfo info,
                     JVariableRef variableRef,
                     JExpression intializer) | 
| JDoStatement(SourceInfo info,
            JExpression testExpr,
            JStatement body) | 
| JFieldRef(SourceInfo info,
         JExpression instance,
         JField field,
         JDeclaredType enclosingType) | 
| JFieldRef(SourceInfo info,
         JExpression instance,
         JField field,
         JDeclaredType enclosingType,
         JType overriddenType) | 
| JForStatement(SourceInfo info,
             List<JStatement> initializers,
             JExpression condition,
             JExpression increments,
             JStatement body)Creates an AST node that represents a Java for statement. | 
| JIfStatement(SourceInfo info,
            JExpression ifExpr,
            JStatement thenStmt,
            JStatement elseStmt) | 
| JInstanceOf(SourceInfo info,
           JReferenceType testType,
           JExpression expression) | 
| JMethodCall(JMethodCall other,
           JExpression instance)Initialize a new method call equivalent to another one. | 
| JMethodCall(SourceInfo info,
           JExpression instance,
           JMethod method,
           JExpression... args) | 
| JMethodCall(SourceInfo info,
           JExpression instance,
           JMethod method,
           JExpression... args) | 
| JMethodCall(SourceInfo info,
           JExpression instance,
           JMethod method,
           JType overrideReturnType,
           JExpression... args)Create a method call whose type is overridden to the specified type,
 ignoring the return type of the target method. | 
| JMethodCall(SourceInfo info,
           JExpression instance,
           JMethod method,
           JType overrideReturnType,
           JExpression... args)Create a method call whose type is overridden to the specified type,
 ignoring the return type of the target method. | 
| JPostfixOperation(SourceInfo info,
                 JUnaryOperator op,
                 JExpression arg) | 
| JPrefixOperation(SourceInfo info,
                JUnaryOperator op,
                JExpression arg) | 
| JReturnStatement(SourceInfo info,
                JExpression expr) | 
| JRunAsync(SourceInfo info,
         int runAsyncId,
         String name,
         boolean explicitClassLiteral,
         JExpression runAsyncCall,
         JExpression onSuccessCall)Constructs a runAsync call node; explicitClassLiteral is set if the corresponding
 GWT.runAsync() call has a class literal. | 
| JSwitchStatement(SourceInfo info,
                JExpression expr,
                JBlock body) | 
| JThrowStatement(SourceInfo info,
               JExpression expr) | 
| JUnaryOperation(SourceInfo info,
               JUnaryOperator op,
               JExpression arg) | 
| JWhileStatement(SourceInfo info,
               JExpression testExpr,
               JStatement body) | 
| Constructor and Description | 
|---|
| JGwtCreate(SourceInfo info,
          String sourceType,
          List<String> resultTypes,
          JType type,
          ArrayList<JExpression> instantiationExpressions)Constructor used for cloning an existing node. | 
| JNewArray(SourceInfo info,
         JArrayType type,
         List<JExpression> dims,
         List<JExpression> initializers,
         JClassLiteral leafTypeClassLiteral) | 
| JNewArray(SourceInfo info,
         JArrayType type,
         List<JExpression> dims,
         List<JExpression> initializers,
         JClassLiteral leafTypeClassLiteral) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JMultiExpressionRepresents multiple ordered expressions as a single compound expression. | 
| class  | JsniClassLiteralJSNI reference to a Java class literal. | 
| class  | JsniFieldRefJSNI reference to a Java field. | 
| class  | JsniMethodRefA call to a JSNI method. | 
| class  | JsonArrayA JSON-style list of JS expressions. | 
| Modifier and Type | Method and Description | 
|---|---|
| JExpression | JMultiExpression. getExpression(int index)Returns the expression at  index. | 
| JExpression | JMultiExpression. removeExpression(int index)Removes the expression at  indexfrom this multi expression. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<JExpression> | JMultiExpression. getExpressions()Returns the list of expressions. | 
| List<JExpression> | JsonArray. getExprs() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JMultiExpression. addExpressions(JExpression... expressions)Adds  expressionsto the multi expression at the end. | 
| void | JMultiExpression. setExpression(int index,
             JExpression expression)Replaces the expression at  indexbyexpression. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JMultiExpression. addExpressions(int index,
              List<JExpression> expressions)Adds a list of expressions to the multi expression at position  index. | 
| void | JMultiExpression. addExpressions(List<JExpression> expressions)Adds a list of expressions to the multi expression at the end. | 
| void | JsonArray. addExprs(List<JExpression> exprs) | 
| Constructor and Description | 
|---|
| JMultiExpression(SourceInfo info,
                JExpression... expressions)Construct a multi expression containing  expressionsif any. | 
| Constructor and Description | 
|---|
| JMultiExpression(SourceInfo info,
                Collection<JExpression> expressions)Construct a multi expression containing  expressions. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends JExpression> | CloneExpressionVisitor. cloneExpression(T expr) | 
| Modifier and Type | Method and Description | 
|---|---|
| static JExpression | Simplifier. and(JBinaryOperation exp)Simplify short circuit AND expressions. | 
| JExpression | AutoboxUtils. box(JExpression toBox,
   JPrimitiveType primitiveType)Box the expression  toBoxinto the wrapper type corresponding
 toprimitiveType. | 
| static JExpression | Simplifier. cast(JCastOperation exp)Simplify cast operations. | 
| static JExpression | Simplifier. cast(JType type,
    JExpression exp)Simplify cast operations. | 
| static JExpression | Simplifier. conditional(JConditional exp)Simplify conditional expressions. | 
| static JExpression | JjsUtils. 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 | JjsUtils. createOptimizedMultiExpression(JExpression... expressions)Creates a multi expression from a list of expressions, removing expressions that do
 not have side effects if possible. | 
| protected JExpression | CompoundAssignmentNormalizer. expressionToReturn(JExpression lhs)Decide what expression to return when breaking up a compound assignment of
 the form  lhs op= rhs. | 
| protected JExpression | PostOptimizationCompoundAssignmentNormalizer. modifyResultOperation(JBinaryOperation op) | 
| protected JExpression | CompoundAssignmentNormalizer. modifyResultOperation(JBinaryOperation op)Decide what expression to return when breaking up a compound assignment of
 the form  lhs op= rhs. | 
| static JExpression | Simplifier. not(JPrefixOperation expr)Simplifies an negation expression. | 
| static JExpression | Simplifier. or(JBinaryOperation exp)Simplify short circuit OR expressions. | 
| JExpression | AutoboxUtils. undoUnbox(JExpression arg)If  xis an unbox expression, then return the expression that
 is being unboxed by it. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArrayList<JExpression> | CloneExpressionVisitor. cloneExpressions(List<JExpression> exprs) | 
| Modifier and Type | Method and Description | 
|---|---|
| JExpression | AutoboxUtils. box(JExpression toBox,
   JPrimitiveType primitiveType)Box the expression  toBoxinto the wrapper type corresponding
 toprimitiveType. | 
| static JExpression | Simplifier. cast(JType type,
    JExpression exp)Simplify cast operations. | 
| static JExpression | JjsUtils. createOptimizedMultiExpression(JExpression... expressions)Creates a multi expression from a list of expressions, removing expressions that do
 not have side effects if possible. | 
| protected JExpression | CompoundAssignmentNormalizer. expressionToReturn(JExpression lhs)Decide what expression to return when breaking up a compound assignment of
 the form  lhs op= rhs. | 
| protected boolean | ToStringGenerationVisitor. parenPop(int parentPrec,
        JExpression child) | 
| protected boolean | ToStringGenerationVisitor. parenPop(JExpression parent,
        JExpression child) | 
| protected boolean | ToStringGenerationVisitor. parenPush(int parentPrec,
         JExpression child) | 
| protected boolean | ToStringGenerationVisitor. parenPush(JExpression parent,
         JExpression child) | 
| JExpression | AutoboxUtils. undoUnbox(JExpression arg)If  xis an unbox expression, then return the expression that
 is being unboxed by it. | 
| Modifier and Type | Method and Description | 
|---|---|
| ArrayList<JExpression> | CloneExpressionVisitor. cloneExpressions(List<JExpression> exprs) | 
| static JExpression | JjsUtils. 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| JExpression | CfgBinaryConditionalOperationNode. getCondition() | 
| JExpression | CfgDoNode. getCondition() | 
| JExpression | CfgForNode. getCondition() | 
| JExpression | CfgIfNode. getCondition() | 
| JExpression | CfgCaseNode. getCondition() | 
| JExpression | CfgConditionalExpressionNode. getCondition() | 
| abstract JExpression | CfgConditionalNode. getCondition()Condition which is used to determine the branch. | 
| JExpression | CfgWhileNode. getCondition() | 
| JExpression | CfgReadWriteNode. getTarget()Get operation target. | 
| JExpression | CfgWriteNode. getTarget()Get operation target. | 
| JExpression | CfgReadWriteNode. getValue()Get expression which is assigned to value. | 
| JExpression | CfgWriteNode. getValue()Get expression which is assigned to value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Cfg | CfgBuilder. buildExpressionCfg(JProgram program,
                  JExpression value) | 
| Constructor and Description | 
|---|
| CfgCaseNode(CfgNode<?> parent,
           JCaseStatement node,
           JExpression condition) | 
| CfgOptionalThrowNode(CfgNode<?> parent,
                    JExpression node) | 
| CfgReadWriteNode(CfgNode<?> parent,
                JNode node,
                JExpression target,
                JExpression value) | 
| CfgWriteNode(CfgNode<?> parent,
            JNode node,
            JExpression target,
            JExpression value) | 
| Modifier and Type | Method and Description | 
|---|---|
| static JValueLiteral | ExpressionEvaluator. evaluate(JExpression expression,
        ConstantsAssumption assumptions) | 
Copyright © 2018. All rights reserved.