public class

IntegerExpression

extends Expression
java.lang.Object
   ↳ sun.tools.tree.Node
     ↳ sun.tools.tree.Expression
       ↳ sun.tools.tree.IntegerExpression
Known Direct Subclasses

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 Methods
void codeValue(Environment env, Context ctx, Assembler asm)
Code
boolean equals(int i)
Check if the expression is equal to a value
boolean equalsDefault()
Check if the expression is equal to its default static value
boolean fitsType(Environment env, Context ctx, Type t)
See if this number fits in the given type.
Object getValue()
Get the value
boolean isConstant()
Return true if constant
[Expand]
Inherited Methods
From class sun.tools.tree.Expression
From class sun.tools.tree.Node
From class java.lang.Object

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 equalsDefault ()

Check if the expression is equal to its default static value

public boolean fitsType (Environment env, Context ctx, Type t)

See if this number fits in the given type.

public Object getValue ()

Get the value

public boolean isConstant ()

Return true if constant