|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.util.SimplifiedVisitor
proguard.evaluation.BasicInvocationUnit
proguard.optimize.evaluation.LoadingInvocationUnit
public class LoadingInvocationUnit
This InvocationUbit loads parameter values and return values that were previously stored with the methods that are invoked.
StoringInvocationUnit| Field Summary |
|---|
| Fields inherited from class proguard.evaluation.BasicInvocationUnit |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
LoadingInvocationUnit(ValueFactory valueFactory)
Creates a new LoadingInvocationUnit with the given value factory. |
|
LoadingInvocationUnit(ValueFactory valueFactory,
boolean loadFieldValues,
boolean loadMethodParameterValues,
boolean loadMethodReturnValues)
Creates a new LoadingInvocationUnit with the given value factory, for loading the specified values. |
|
| Method Summary | |
|---|---|
protected Value |
getFieldClassValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
Returns the class though which the specified field is accessed. |
protected Value |
getFieldValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
Returns the value of the specified field. |
protected Value |
getMethodParameterValue(Clazz clazz,
Method method,
int parameterIndex,
java.lang.String type,
Clazz referencedClass)
Returns the value of the specified method parameter. |
protected Value |
getMethodReturnValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
Returns the return value of the specified method. |
| Methods inherited from class proguard.evaluation.BasicInvocationUnit |
|---|
enterMethod, exitMethod, invokeMember, setFieldClassValue, setFieldValue, setMethodParameterValue, setMethodReturnValue, visitAnyMethodrefConstant, visitFieldrefConstant, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface proguard.classfile.constant.visitor.ConstantVisitor |
|---|
visitClassConstant, visitDoubleConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitLongConstant, visitMethodrefConstant, visitNameAndTypeConstant, visitStringConstant, visitUtf8Constant |
| Constructor Detail |
|---|
public LoadingInvocationUnit(ValueFactory valueFactory)
public LoadingInvocationUnit(ValueFactory valueFactory,
boolean loadFieldValues,
boolean loadMethodParameterValues,
boolean loadMethodReturnValues)
| Method Detail |
|---|
protected Value getFieldClassValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
BasicInvocationUnit
getFieldClassValue in class BasicInvocationUnit
protected Value getFieldValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
BasicInvocationUnit
getFieldValue in class BasicInvocationUnit
protected Value getMethodParameterValue(Clazz clazz,
Method method,
int parameterIndex,
java.lang.String type,
Clazz referencedClass)
BasicInvocationUnit
getMethodParameterValue in class BasicInvocationUnit
protected Value getMethodReturnValue(Clazz clazz,
RefConstant refConstant,
java.lang.String type)
BasicInvocationUnit
getMethodReturnValue in class BasicInvocationUnit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||