|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object extended byptolemy.copernicus.c.AnalysisUtilities
This class provides utilities for analyzing classes, methods and fields.
| Constructor Summary | |
AnalysisUtilities()
|
|
| Method Summary | |
static java.util.LinkedList |
classesRequiredBy(soot.SootField field)
Returns the set of classes needed by a field. |
static java.util.HashSet |
getAllInterfacesOf(soot.SootClass source)
Return the set of interfaces, and all superInterfaces thereof implemented in a class or any of its superclasses. |
static java.util.HashSet |
getArgumentClasses(soot.SootMethod method)
Returns the list of classes in the arguments to a given method. |
static java.util.HashSet |
getLocalTypeClasses(soot.SootMethod method)
Return the set of classes corresponding to the types of local variables in the body of a given method. |
static java.util.HashSet |
getSuperInterfacesOf(soot.SootClass source)
Return the list of interfaces, and all superInterfaces of these interfaces implemented by a given class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnalysisUtilities()
| Method Detail |
public static java.util.LinkedList classesRequiredBy(soot.SootField field)
field - The field.
public static java.util.HashSet getAllInterfacesOf(soot.SootClass source)
source - The class to analyze.
public static java.util.HashSet getArgumentClasses(soot.SootMethod method)
method - The method to be analyzed.
public static java.util.HashSet getLocalTypeClasses(soot.SootMethod method)
method - The method to analyze.
public static java.util.HashSet getSuperInterfacesOf(soot.SootClass source)
source - The class to analyze.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||