public class

NullExpression

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

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
NullExpression(long where)
Constructor
Public Methods
void codeValue(Environment env, Context ctx, Assembler asm)
Code
boolean equals(int i)
Check if the expression is equal to a value
boolean isConstant()
Return true if constant
boolean isNull()
Check if the expression must be a null reference.
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 NullExpression (long where)

Constructor

Public Methods

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

Code

public boolean equals (int i)

Check if the expression is equal to a value

public boolean isConstant ()

Return true if constant

public boolean isNull ()

Check if the expression must be a null reference.

public void print (PrintStream out)

Print