Class ExecutorMethodInstanceHandler

java.lang.Object
proguard.evaluation.executor.instancehandler.ExecutorMethodInstanceHandler
All Implemented Interfaces:
ExecutorInstanceHandler

public class ExecutorMethodInstanceHandler extends Object implements 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.
  • Constructor Details

    • ExecutorMethodInstanceHandler

      public ExecutorMethodInstanceHandler(Map<String,StringMatcher> alwaysReturnsOwnInstance)
      Creates an ExecutorMethodInstanceHandler using the given mapping.
      Parameters:
      alwaysReturnsOwnInstance - A mapping from class names to a matcher for methods that return a new instance
  • Method Details