类 ExecutorMethodInstanceHandler
java.lang.Object
proguard.evaluation.executor.instancehandler.ExecutorMethodInstanceHandler
- 所有已实现的接口:
ExecutorInstanceHandler
This
ExecutorInstanceHandler decides whether a method always returns its calling instance
based on a mapping of class names to a StringMatcher for method names.-
构造器概要
构造器构造器说明ExecutorMethodInstanceHandler(Map<String, StringMatcher> alwaysReturnsOwnInstance) Creates anExecutorMethodInstanceHandlerusing the given mapping. -
方法概要
修饰符和类型方法说明booleanreturnsOwnInstance(String internalClassName, String methodName) Return whether the method always returns its calling instance.
-
构造器详细资料
-
ExecutorMethodInstanceHandler
Creates anExecutorMethodInstanceHandlerusing the given mapping.- 参数:
alwaysReturnsOwnInstance- A mapping from class names to a matcher for methods that return a new instance
-
-
方法详细资料
-
returnsOwnInstance
从接口复制的说明:ExecutorInstanceHandlerReturn whether the method always returns its calling instance. If unknown, return false.- 指定者:
returnsOwnInstance在接口中ExecutorInstanceHandler
-