[Soot-list] Loading Class from any path

brunobreno breno brunobreno09 at gmail.com
Sat Apr 3 15:37:23 EDT 2010


I'm looking for a way to make reference to a class in any local (any
folder).
In the example below, for example, the String classeExample refer to a class
Ex wich is into my Java Eclipse Project. How can i refer a class wich is in
another project, in any folder?

public static void main(String[] args) {

 PackManager.v().getPack("jtp").add(
   new Transform("jtp.myTransform", new BodyTransformer() {
protected void internalTransform(Body arg0, String arg1,
Map arg2) {
}
}));

  String classeExample = "Ex";
  String [] array = {"-f", "J", "-keep-line-number", "-src-prec", "java",
classeExample};
  soot.Main.v().main(array);
}


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100403/b2b0d8a7/attachment.html 


More information about the Soot-list mailing list