类 StringReflectionExecutor
java.lang.Object
proguard.evaluation.executor.ReflectionExecutor
proguard.evaluation.executor.StringReflectionExecutor
- 所有已实现的接口:
Executor
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 proguard.evaluation.executor.ReflectionExecutor
ReflectionExecutor.InstanceCopyResult -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Provides a default instance handler used by the executor in case the reflective execution fails.getInstanceOrCopyIfMutable(ReferenceValue instanceValue) Get an object which will act as the calling instance.Get a list of method signatures that indicate which methods are supported by this executor.从类继承的方法 proguard.evaluation.executor.ReflectionExecutor
getMethodResult
-
构造器详细资料
-
StringReflectionExecutor
-
-
方法详细资料
-
getInstanceOrCopyIfMutable
public Optional<ReflectionExecutor.InstanceCopyResult> getInstanceOrCopyIfMutable(ReferenceValue instanceValue) 从类复制的说明:ReflectionExecutorGet an object which will act as the calling instance. If we know that executing the method does not modify the instance this can just be the same value. Otherwise, a copy should be returned in order to not change the reference whose state may be of interest at the end of an analysis.- 指定者:
getInstanceOrCopyIfMutable在类中ReflectionExecutor- 参数:
instanceValue- TheReferenceValueof the instance.- 返回:
- The new calling instance.
-
getDefaultInstanceHandler
从类复制的说明:ReflectionExecutorProvides a default instance handler used by the executor in case the reflective execution fails.The handler carries information on whether a method returns the same object as its instance.
- 指定者:
getDefaultInstanceHandler在类中ReflectionExecutor- 返回:
- the default instance handler.
-
getSupportedMethodSignatures
从接口复制的说明:ExecutorGet a list of method signatures that indicate which methods are supported by this executor.The returned methods should be exactly the ones that the executor is expected to be able to handle. The invocation unit does not make any additional assumption on the executors available to execute a method and will match them iff the signature of the target method matches exactly.
Only full method signatures should be returned, the invocation unit does not support wildcards.
- 返回:
- a set of methods the executor can handle.
-