Package org.objectweb.asm.tree.analysis
Class SourceValue
- java.lang.Object
-
- org.objectweb.asm.tree.analysis.SourceValue
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Set<AbstractInsnNode>insnsThe instructions that can produce this value.intsizeThe size of this value.
-
Constructor Summary
Constructors Constructor Description SourceValue(int size)SourceValue(int size, java.util.Set<AbstractInsnNode> insns)SourceValue(int size, AbstractInsnNode insn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object value)intgetSize()Returns the size of this value in words.inthashCode()
-
-
-
Field Detail
-
size
public final int size
The size of this value.
-
insns
public final java.util.Set<AbstractInsnNode> 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 ofAbstractInsnNodeobjects.
-
-
Constructor Detail
-
SourceValue
public SourceValue(int size)
-
SourceValue
public SourceValue(int size, AbstractInsnNode insn)
-
SourceValue
public SourceValue(int size, java.util.Set<AbstractInsnNode> insns)
-
-
Method Detail
-
getSize
public int getSize()
Description copied from interface:ValueReturns the size of this value in words.
-
equals
public boolean equals(java.lang.Object value)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-