public class TagCollector extends Object
Constructor and Description |
---|
TagCollector() |
Modifier and Type | Method and Description |
---|---|
void |
collectBodyTags(Body b) |
void |
collectClassTags(SootClass sc) |
void |
collectFieldTags(SootField sf) |
void |
collectKeyTags(SootClass sc) |
void |
collectMethodTags(SootMethod sm) |
void |
collectTags(SootClass sc)
Convenience function for
collectTags(sc, true) . |
void |
collectTags(SootClass sc,
boolean includeBodies)
Collect tags from all fields and methods of
sc . |
boolean |
isEmpty() |
void |
printKeys(PrintWriter writerOut) |
void |
printTags(PrintWriter writerOut) |
public boolean isEmpty()
public void collectTags(SootClass sc)
collectTags(sc, true)
.public void collectTags(SootClass sc, boolean includeBodies)
sc
.
If includeBodies
is true, then tags are also collected
from method bodies.sc
- The class from which to collect the tags.public void collectKeyTags(SootClass sc)
public void printKeys(PrintWriter writerOut)
public void collectClassTags(SootClass sc)
public void collectFieldTags(SootField sf)
public void collectMethodTags(SootMethod sm)
public void collectBodyTags(Body b)
public void printTags(PrintWriter writerOut)