org.objectweb.asm.tree.analysis

Class DataflowValue

public class DataflowValue extends Object implements Value

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

Author: Eric Bruneton

Field Summary
Setinsns
The instructions that can produce this value.
intsize
The size of this value.
Constructor Summary
DataflowValue(int size)
DataflowValue(int size, AbstractInsnNode insn)
DataflowValue(int size, Set insns)
Method Summary
booleanequals(Object value)
intgetSize()
inthashCode()

Field Detail

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 {@link AbstractInsnNode} objects.

size

public final int size
The size of this value.

Constructor Detail

DataflowValue

public DataflowValue(int size)

DataflowValue

public DataflowValue(int size, AbstractInsnNode insn)

DataflowValue

public DataflowValue(int size, Set insns)

Method Detail

equals

public boolean equals(Object value)

getSize

public int getSize()

hashCode

public int hashCode()