public class MethodCallTightener extends Object
TypeTightener
.
For example, given the code:
List foo = new ArrayListThe type of foo is tightened by TypeTightener from type List to be of type ArrayList. This means that MethodCallTightener can analyze the polymorphic call List.add() on foo and tighten it to the more specific ArrayList.add().(); foo.add("bar");
Modifier and Type | Class and Description |
---|---|
class |
MethodCallTightener.MethodCallTighteningVisitor
Updates polymorphic method calls to tighter bindings based on the type of
the qualifier.
|
Modifier and Type | Method and Description |
---|---|
static OptimizerStats |
exec(JProgram program) |
public static final String NAME
public static OptimizerStats exec(JProgram program)
Copyright © 2018. All rights reserved.