soot.jimple.toolkits.invoke
Class SiteInliner
java.lang.Object
|
+--soot.jimple.toolkits.invoke.SiteInliner
- public class SiteInliner
- extends java.lang.Object
Provides methods to inline a given invoke site.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteInliner
public SiteInliner()
getDefaultOptions
public java.lang.String getDefaultOptions()
inlineSites
public static void inlineSites(java.util.List sites)
inlineSites
public static void inlineSites(java.util.List sites,
java.util.Map options)
- Iterates over a list of sites, inlining them in order.
Each site is given as a 3-element list (inlinee, toInline, container).
inlineSite
public static void inlineSite(SootMethod inlinee,
Stmt toInline,
SootMethod container)
- Inlines the method
inlinee
into the container
at the point toInline
.
inlineSite
public static void inlineSite(SootMethod inlinee,
Stmt toInline,
SootMethod container,
java.util.Map options)
- Inlines the given site. Note that this method does
not actually check if it's safe (with respect to access modifiers and special invokes)
for it to be inlined. That functionality is handled by the InlinerSafetyManager.