org.objectweb.asm.tree.analysis
类 SourceValue

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

public class SourceValue
extends Object
implements Value

A Value that is represented by its type in a two types type system. This type system distinguishes the ONEWORD and TWOWORDS types.

作者:
Eric Bruneton

字段摘要
 Set insns
          The instructions that can produce this value.
 int size
          The size of this value.
 
构造方法摘要
SourceValue(int size)
           
SourceValue(int size, AbstractInsnNode insn)
           
SourceValue(int size, Set insns)
           
 
方法摘要
 boolean equals(Object value)
           
 int getSize()
          Returns the size of this value in words.
 int hashCode()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

size

public final int size
The size of this value.


insns

public final Set insns
The instructions that can produce this value. For example, for the Java code below, the instructions that can produce the value of i at line 5 are the txo ISTORE instructions at line 1 and 3:
 1: i = 0;
 2: if (...) {
 3:   i = 1;
 4: }
 5: return i;
 
This field is a set of AbstractInsnNode objects.

构造方法详细信息

SourceValue

public SourceValue(int size)

SourceValue

public SourceValue(int size,
                   AbstractInsnNode insn)

SourceValue

public SourceValue(int size,
                   Set insns)
方法详细信息

getSize

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

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

equals

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

hashCode

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


Copyright © 2013. All Rights Reserved.