|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.copernicus.c.InterfaceLookupGenerator
public class InterfaceLookupGenerator
A class that generates code that performs lookup operations for disambiguation of interfaces.
| Red (ssb) |
| Red (ankush) |
| Constructor Summary | |
|---|---|
InterfaceLookupGenerator()
Default Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
generate(soot.SootClass source)
Generate code for a method that looks up interface method calls in a table and calls the correct function accordingly. |
static java.util.HashMap |
getLookupMethods(soot.SootClass source)
Returns the list of all methods that may need to be looked up. |
static boolean |
needsLookupFunction(soot.SootClass source)
Finds out whether a class needs a lookup function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterfaceLookupGenerator()
| Method Detail |
|---|
public java.lang.String generate(soot.SootClass source)
source - The class for which such a method needs to be
generated.
public static java.util.HashMap getLookupMethods(soot.SootClass source)
source - The class for which this set is to be generated.
public static boolean needsLookupFunction(soot.SootClass source)
source - The class.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||