public class

CastExpression

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

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
CastExpression(long where, Expression left, Expression right)
constructor
Public Methods
Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp)
Check the expression
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
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 CastExpression (long where, Expression left, Expression right)

constructor

Public Methods

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

Check the expression

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 void print (PrintStream out)

Print