类 TracedVariables
java.lang.Object
proguard.evaluation.Variables
proguard.evaluation.TracedVariables
This
Variables saves additional information with variables, to keep track of their
origins.
The class stores a given producer Value along with each Value it stores. It then generalizes a given collected Value with the producer Value of each Value it loads. The producer Value and the initial collected Value can be set; the generalized collected Value can be retrieved.
-
字段概要
字段 -
构造器概要
构造器构造器说明TracedVariables(int size) Creates a new TracedVariables with a given size.TracedVariables(TracedVariables tracedVariables) Creates a new TracedVariables that is a copy of the given TracedVariables. -
方法概要
修饰符和类型方法说明booleanbooleangeneralize(TracedVariables other, boolean clearConflictingOtherVariables) getProducerValue(int index) Gets the producer Value for the specified variable, without disturbing it.inthashCode()voidinitialize(TracedVariables other) voidreset(int size) Resets this Variables object, so that it can be reused.voidsetProducerValue(int index, Value value) Sets the given producer Value for the specified variable, without disturbing it.voidsetProducerValue(Value producerValue) Sets the Value that will be stored along with all store instructions.voidStores the given Value at the given variable index.toString()从类继承的方法 proguard.evaluation.Variables
aload, dload, fload, generalize, getValue, getValues, iload, initialize, lload, load, oload, replaceReferences, replaceReferencesIf, size
-
字段详细资料
-
NONE
public static final int NONE- 另请参阅:
-
-
构造器详细资料
-
TracedVariables
public TracedVariables(int size) Creates a new TracedVariables with a given size. -
TracedVariables
Creates a new TracedVariables that is a copy of the given TracedVariables.
-
-
方法详细资料
-
setProducerValue
Sets the Value that will be stored along with all store instructions. -
getProducerValue
Gets the producer Value for the specified variable, without disturbing it.- 参数:
index- the variable index.- 返回:
- the producer value of the given variable.
-
setProducerValue
Sets the given producer Value for the specified variable, without disturbing it.- 参数:
index- the variable index.value- the producer value to set.
-
reset
public void reset(int size) 从类复制的说明:VariablesResets this Variables object, so that it can be reused. -
initialize
-
generalize
-
store
从类复制的说明:VariablesStores the given Value at the given variable index. -
equals
-
hashCode
public int hashCode() -
toString
-