soot
Class EntryPoints

java.lang.Object
  extended by soot.EntryPoints

public class EntryPoints
extends Object

Returns the various potential entry points of a Java program.

Author:
Ondrej Lhotak

Constructor Summary
EntryPoints(Singletons.Global g)
           
 
Method Summary
 List<SootMethod> all()
          Returns all the entry points.
 List<SootMethod> allInits()
          Returns a list of all constructors.
 List<SootMethod> application()
          Returns only the application entry points, not including entry points invoked implicitly by the VM.
 List<SootMethod> clinits()
          Returns a list of all static initializers.
 List<SootMethod> clinitsOf(SootClass cl)
          Returns a list of all clinits of class cl and its superclasses.
 List<SootMethod> implicit()
          Returns only the entry points invoked implicitly by the VM.
 List<SootMethod> inits()
          Returns a list of all constructors taking no arguments.
 List<SootMethod> mainsOfApplicationClasses()
          Returns a list of all concrete main(String[]) methods of all application classes.
 List<SootMethod> methodsOfApplicationClasses()
          Returns a list of all concrete methods of all application classes.
static EntryPoints v()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryPoints

public EntryPoints(Singletons.Global g)
Method Detail

v

public static EntryPoints v()

application

public List<SootMethod> application()
Returns only the application entry points, not including entry points invoked implicitly by the VM.


implicit

public List<SootMethod> implicit()
Returns only the entry points invoked implicitly by the VM.


all

public List<SootMethod> all()
Returns all the entry points.


clinits

public List<SootMethod> clinits()
Returns a list of all static initializers.


inits

public List<SootMethod> inits()
Returns a list of all constructors taking no arguments.


allInits

public List<SootMethod> allInits()
Returns a list of all constructors.


methodsOfApplicationClasses

public List<SootMethod> methodsOfApplicationClasses()
Returns a list of all concrete methods of all application classes.


mainsOfApplicationClasses

public List<SootMethod> mainsOfApplicationClasses()
Returns a list of all concrete main(String[]) methods of all application classes.


clinitsOf

public List<SootMethod> clinitsOf(SootClass cl)
Returns a list of all clinits of class cl and its superclasses.