public class

ConditionalExpression

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

Class Overview

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
ConditionalExpression(long where, Expression cond, Expression left, Expression right)
Constructor
Public Methods
Vset check(Environment env, Context ctx, Vset vset, Hashtable exp)
Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp)
Check the expression
void code(Environment env, Context ctx, Assembler asm)
void codeValue(Environment env, Context ctx, Assembler asm)
Code
Expression copyInline(Context ctx)
Create a copy of the expression for method inlining
int costInline(int thresh, Environment env, Context ctx)
The cost of inlining this expression
Expression inline(Environment env, Context ctx)
Inline
Expression inlineValue(Environment env, Context ctx)
boolean isConstant()
Check if constant
Expression order()
Order the expression based on precedence
void print(PrintStream out)
Print
[Expand]
Inherited Methods
From class sun.tools.tree.BinaryExpression
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 ConditionalExpression (long where, Expression cond, Expression left, Expression right)

Constructor

Public Methods

public Vset check (Environment env, Context ctx, Vset vset, Hashtable exp)

public Vset checkValue (Environment env, Context ctx, Vset vset, Hashtable exp)

Check the expression

public void code (Environment env, Context ctx, Assembler asm)

public void codeValue (Environment env, Context ctx, Assembler asm)

Code

public Expression copyInline (Context ctx)

Create a copy of the expression for method inlining

public int costInline (int thresh, Environment env, Context ctx)

The cost of inlining this expression

public Expression inline (Environment env, Context ctx)

Inline

public Expression inlineValue (Environment env, Context ctx)

public boolean isConstant ()

Check if constant

public Expression order ()

Order the expression based on precedence

public void print (PrintStream out)

Print