org.objectweb.asm.tree.analysis
类 BasicValue

java.lang.Object
  继承者 org.objectweb.asm.tree.analysis.BasicValue
所有已实现的接口:
Value

public class BasicValue
extends Object
implements Value

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

作者:
Eric Bruneton

字段摘要
static Value DOUBLE_VALUE
           
static Value FLOAT_VALUE
           
static Value INT_VALUE
           
static Value LONG_VALUE
           
static Value REFERENCE_VALUE
           
static Value RETURNADDRESS_VALUE
           
static Value UNINITIALIZED_VALUE
           
 
构造方法摘要
BasicValue(Type type)
           
 
方法摘要
 boolean equals(Object value)
           
 int getSize()
          Returns the size of this value in words.
 Type getType()
           
 int hashCode()
           
 boolean isReference()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

UNINITIALIZED_VALUE

public static final Value UNINITIALIZED_VALUE

INT_VALUE

public static final Value INT_VALUE

FLOAT_VALUE

public static final Value FLOAT_VALUE

LONG_VALUE

public static final Value LONG_VALUE

DOUBLE_VALUE

public static final Value DOUBLE_VALUE

REFERENCE_VALUE

public static final Value REFERENCE_VALUE

RETURNADDRESS_VALUE

public static final Value RETURNADDRESS_VALUE
构造方法详细信息

BasicValue

public BasicValue(Type type)
方法详细信息

getType

public Type getType()

getSize

public int getSize()
从接口 Value 复制的描述
Returns the size of this value in words.

指定者:
接口 Value 中的 getSize
返回:
either 1 or 2.

isReference

public boolean isReference()

equals

public boolean equals(Object value)
覆盖:
Object 中的 equals

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.