|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectabc.weaving.weaver.AbstractReweavingAnalysis
public abstract class AbstractReweavingAnalysis
A default (template) implementation of ReweavingAnalysis with empty bodies.
| Constructor Summary | |
|---|---|
AbstractReweavingAnalysis()
|
|
| Method Summary | |
|---|---|
abstract boolean |
analyze()
Perform the actual analysis. |
void |
cleanup()
This method is invoked after the last reweaving step. |
void |
defaultSootArgs(java.util.List sootArgs)
Allows you to add default arguments to Soot, which can be overriden by the user on the commandline. |
void |
enforceSootArgs(java.util.List sootArgs)
Allows you to override arguments to Soot, which were by the user on the commandline. |
void |
setupWeaving()
This method is invoked immediately before reweaving takes place. |
void |
tearDownWeaving()
This method is invoked immediately after reweaving takes place. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractReweavingAnalysis()
| Method Detail |
|---|
public abstract boolean analyze()
ResidueBox is set and then
optimizes the residues before the next analysis or weaving step is run.
analyze in interface ReweavingAnalysistrue if the code needs to be rewoven immediately,
i.e. before conducting the next analysis; the code is rewoven again once in the end
in any casepublic void defaultSootArgs(java.util.List sootArgs)
defaultSootArgs in interface ReweavingAnalysissootArgs - the current list of default arguments; add argument strings
as neededpublic void enforceSootArgs(java.util.List sootArgs)
enforceSootArgs in interface ReweavingAnalysissootArgs - the current list of default arguments; remove, replace or just add
arguments as neededpublic void setupWeaving()
ReweavingAnalysis.analyze() returns true.
setupWeaving in interface ReweavingAnalysispublic void tearDownWeaving()
ReweavingAnalysis.analyze() returns true.
tearDownWeaving in interface ReweavingAnalysispublic void cleanup()
cleanup in interface ReweavingAnalysis
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||