Package soot.xml
Class TagCollector
- java.lang.Object
-
- soot.xml.TagCollector
-
public class TagCollector extends Object
-
-
Constructor Summary
Constructors Constructor Description TagCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectBodyTags(Body b)voidcollectClassTags(SootClass sc)voidcollectFieldTags(SootField sf)voidcollectKeyTags(SootClass sc)voidcollectMethodTags(SootMethod sm)voidcollectTags(SootClass sc)Convenience function forcollectTags(sc, true).voidcollectTags(SootClass sc, boolean includeBodies)Collect tags from all fields and methods ofsc.booleanisEmpty()voidprintKeys(PrintWriter writerOut)voidprintTags(PrintWriter writerOut)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
collectTags
public void collectTags(SootClass sc)
Convenience function forcollectTags(sc, true).- Parameters:
sc-
-
collectTags
public void collectTags(SootClass sc, boolean includeBodies)
Collect tags from all fields and methods ofsc. IfincludeBodiesis true, then tags are also collected from method bodies.- Parameters:
sc- The class from which to collect the tags.includeBodies-
-
collectKeyTags
public void collectKeyTags(SootClass sc)
-
printKeys
public void printKeys(PrintWriter writerOut)
-
collectClassTags
public void collectClassTags(SootClass sc)
-
collectFieldTags
public void collectFieldTags(SootField sf)
-
collectMethodTags
public void collectMethodTags(SootMethod sm)
-
collectBodyTags
public void collectBodyTags(Body b)
-
printTags
public void printTags(PrintWriter writerOut)
-
-