| Package | Description |
|---|---|
| proguard.evaluation | |
| proguard.evaluation.value |
This package contains classes that represent partial evaluation values.
|
| proguard.optimize.evaluation |
This package contains visitors that perform partial evaluation and subsequent
optimizations on byte code.
|
| proguard.optimize.info |
This package contains classes to collect additional information about classes
and class members, which can then be used for optimization.
|
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
Variables.aload(int index)
Loads the ReferenceValue from the variable with the given index.
|
ReferenceValue |
Stack.apop()
Pops the top ReferenceValue from the stack.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicInvocationUnit.setFieldClassValue(Clazz clazz,
RefConstant refConstant,
ReferenceValue value)
Sets the class through which the specified field is accessed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TypedReferenceValue
This ReferenceValue represents a partially evaluated reference value.
|
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
IdentifiedValueFactory.createArrayReferenceValue(String type,
Clazz referencedClass,
IntegerValue arrayLength) |
ReferenceValue |
ParticularValueFactory.createArrayReferenceValue(String type,
Clazz referencedClass,
IntegerValue arrayLength) |
ReferenceValue |
ValueFactory.createArrayReferenceValue(String type,
Clazz referencedClass,
IntegerValue arrayLength)
Creates a new ReferenceValue for arrays of the given type and length.
|
ReferenceValue |
DetailedValueFactory.createArrayReferenceValue(String type,
Clazz referencedClass,
IntegerValue arrayLength) |
ReferenceValue |
IdentifiedValueFactory.createReferenceValue(String type,
Clazz referencedClass,
boolean mayBeNull) |
ReferenceValue |
ValueFactory.createReferenceValue(String type,
Clazz referencedClass,
boolean mayBeNull)
Creates a new ReferenceValue of the given type.
|
ReferenceValue |
ValueFactory.createReferenceValueNull()
Creates a new ReferenceValue that represents
null. |
ReferenceValue |
TypedReferenceValue.generalize(proguard.evaluation.value.ArrayReferenceValue other) |
ReferenceValue |
ReferenceValue.generalize(proguard.evaluation.value.ArrayReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
ArrayReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(proguard.evaluation.value.DetailedArrayReferenceValue other) |
ReferenceValue |
ReferenceValue.generalize(proguard.evaluation.value.DetailedArrayReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
DetailedArrayReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(proguard.evaluation.value.IdentifiedArrayReferenceValue other) |
ReferenceValue |
ReferenceValue.generalize(proguard.evaluation.value.IdentifiedArrayReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
IdentifiedArrayReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(proguard.evaluation.value.IdentifiedReferenceValue other) |
ReferenceValue |
ReferenceValue.generalize(proguard.evaluation.value.IdentifiedReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
IdentifiedReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(ReferenceValue other) |
abstract ReferenceValue |
ReferenceValue.generalize(ReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
ReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(TypedReferenceValue other) |
ReferenceValue |
ReferenceValue.generalize(TypedReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
TypedReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalizeMayBeNull(boolean mayBeNull) |
abstract ReferenceValue |
ReferenceValue.generalizeMayBeNull(boolean mayBeNull)
Returns a generalization of this ReferenceValue that may be null,
depending on the flag.
|
ReferenceValue |
TypedReferenceValue.referenceArrayLoad(IntegerValue indexValue,
ValueFactory valueFactory) |
abstract ReferenceValue |
ReferenceValue.referenceArrayLoad(IntegerValue indexValue,
ValueFactory valueFactory)
Returns the value of the array at the given index, assuming this type
is a reference array.
|
ReferenceValue |
ReferenceValue.referenceValue() |
ReferenceValue |
Value.referenceValue()
Returns this Value as a ReferenceValue.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TypedReferenceValue.equal(ReferenceValue other) |
abstract int |
ReferenceValue.equal(ReferenceValue other)
Returns whether this ReferenceValue is equal to the given other
ReferenceValue.
|
ReferenceValue |
TypedReferenceValue.generalize(ReferenceValue other) |
abstract ReferenceValue |
ReferenceValue.generalize(ReferenceValue other)
Returns the generalization of this ReferenceValue and the given other
ReferenceValue.
|
int |
ReferenceValue.notEqual(ReferenceValue other)
Returns whether this ReferenceValue and the given ReferenceValue are different.
|
| Modifier and Type | Method and Description |
|---|---|
static ReferenceValue |
StoringInvocationUnit.getFieldClassValue(Field field) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoringInvocationUnit.setFieldClassValue(Clazz clazz,
RefConstant refConstant,
ReferenceValue value) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
FieldOptimizationInfo.getReferencedClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldOptimizationInfo.generalizeReferencedClass(ReferenceValue referencedClass) |
Copyright © 2015. All Rights Reserved.