public class

ExprExpression

extends UnaryExpression
java.lang.Object
   ↳ sun.tools.tree.Node
     ↳ sun.tools.tree.Expression
       ↳ sun.tools.tree.UnaryExpression
         ↳ sun.tools.tree.ExprExpression

Class Overview

Parenthesised expressions. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.

Summary

[Expand]
Inherited Constants
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
[Expand]
Inherited Fields
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
Public Constructors
ExprExpression(long where, Expression right)
Constructor
Public Methods
Vset checkAssignOp(Environment env, Context ctx, Vset vset, Hashtable exp, Expression outside)
Check the expression if it appears as an lvalue.
void checkCondition(Environment env, Context ctx, Vset vset, Hashtable exp, ConditionVars cvars)
Check a condition.
FieldUpdater getUpdater(Environment env, Context ctx)
Delegate to our subexpression.
Object getValue()
Return the constant value.
boolean isNonNull()
Check if the expression cannot be a null reference.
boolean isNull()
Check if the expression must be a null reference.
Protected Methods
StringBuffer inlineValueSB(Environment env, Context ctx, StringBuffer buffer)
Delegate to our subexpression.
[Expand]
Inherited Methods
From class sun.tools.tree.UnaryExpression
From class sun.tools.tree.Expression
From class sun.tools.tree.Node
From class java.lang.Object

Public Constructors

public ExprExpression (long where, Expression right)

Constructor

Public Methods

public Vset checkAssignOp (Environment env, Context ctx, Vset vset, Hashtable exp, Expression outside)

Check the expression if it appears as an lvalue. We just pass it on to our unparenthesized subexpression. (Part of fix for 4090372)

public void checkCondition (Environment env, Context ctx, Vset vset, Hashtable exp, ConditionVars cvars)

Check a condition. We must pass it on to our unparenthesised form.

public FieldUpdater getUpdater (Environment env, Context ctx)

Delegate to our subexpression. (Part of fix for 4090372)

public Object getValue ()

Return the constant value.

public boolean isNonNull ()

Check if the expression cannot be a null reference.

public boolean isNull ()

Check if the expression must be a null reference.

Protected Methods

protected StringBuffer inlineValueSB (Environment env, Context ctx, StringBuffer buffer)

Delegate to our subexpression. See the comment in AddExpression#inlineValueSB() for information about this method.