org.objectweb.asm.tree.analysis

Class BasicValue

public class BasicValue extends Object implements Value

A {@link Value} that is represented by its type in a seven types type sytem. This type system distinguishes the UNINITIALZED, INT, FLOAT, LONG, DOUBLE, REFERENCE and RETURNADDRESS types.

Author: Eric Bruneton

Field Summary
static ValueDOUBLE_VALUE
static ValueFLOAT_VALUE
static ValueINT_VALUE
static ValueLONG_VALUE
static ValueREFERENCE_VALUE
static ValueRETURNADDRESS_VALUE
static ValueUNINITIALIZED_VALUE
Constructor Summary
BasicValue(Type type)
Method Summary
booleanequals(Value value)
intgetSize()
TypegetType()
booleanisReference()
StringtoString()

Field Detail

DOUBLE_VALUE

public static final Value DOUBLE_VALUE

FLOAT_VALUE

public static final Value FLOAT_VALUE

INT_VALUE

public static final Value INT_VALUE

LONG_VALUE

public static final Value LONG_VALUE

REFERENCE_VALUE

public static final Value REFERENCE_VALUE

RETURNADDRESS_VALUE

public static final Value RETURNADDRESS_VALUE

UNINITIALIZED_VALUE

public static final Value UNINITIALIZED_VALUE

Constructor Detail

BasicValue

public BasicValue(Type type)

Method Detail

equals

public boolean equals(Value value)

getSize

public int getSize()

getType

public Type getType()

isReference

public boolean isReference()

toString

public String toString()