|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.jimple.parser.JimpleAST
public class JimpleAST
This class encapsulates a JimpleAST instance and provides methods to act on it.
Constructor Summary | |
---|---|
JimpleAST(InputStream aJIS)
Constructs a JimpleAST and generates its parse tree from the given InputStream. |
Method Summary | |
---|---|
SootClass |
createSootClass()
Reads an entire class from jimple, creates the Soot objects & returns it. |
Body |
getBody(SootMethod m)
Returns a body corresponding to the parsed jimple for m. |
Set |
getCstPool()
Extracts the reference constant pool for this JimpleAST. |
SootResolver |
getResolver()
Returns the SootResolver currently in use. |
void |
getSkeleton(SootClass sc)
Applies a SkeletonExtractorWalker to the given SootClass, using the given Resolver to resolve the reference types it contains. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JimpleAST(InputStream aJIS)
aInputStream
- The InputStream to parse.Method Detail |
---|
public SootClass createSootClass()
public void getSkeleton(SootClass sc)
sc
- a SootClass to fill in.resolver
- used to resolve the reference types found the given SootClass instance.public Body getBody(SootMethod m)
m
- the method we want to get a body for.
public Set getCstPool()
public SootResolver getResolver()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |