public class

BooleanExpression

extends Expression
java.lang.Object
   ↳ sun.tools.tree.Node
     ↳ sun.tools.tree.Expression
       ↳ sun.tools.tree.BooleanExpression

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
BooleanExpression(long where, boolean value)
Constructor
Public Methods
void checkCondition(Environment env, Context ctx, Vset vset, Hashtable exp, ConditionVars cvars)
void codeValue(Environment env, Context ctx, Assembler asm)
boolean equals(boolean b)
Check if the expression is equal to a value
boolean equalsDefault()
Check if the expression is equal to its default static value
Object getValue()
Get the value
boolean isConstant()
Return true if constant
void print(PrintStream out)
Print
[Expand]
Inherited Methods
From class sun.tools.tree.Expression
From class sun.tools.tree.Node
From class java.lang.Object

Public Constructors

public BooleanExpression (long where, boolean value)

Constructor

Public Methods

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

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

public boolean equals (boolean b)

Check if the expression is equal to a value

public boolean equalsDefault ()

Check if the expression is equal to its default static value

public Object getValue ()

Get the value

public boolean isConstant ()

Return true if constant

public void print (PrintStream out)

Print