ashes.examples.createclass
Class Main

java.lang.Object
  |
  +--ashes.examples.createclass.Main

public class Main
extends java.lang.Object

Example of using Soot to create a classfile from scratch. The 'createclass' example creates a HelloWorld class file using Soot. It proceeds as follows: - Create a SootClass HelloWorld extending java.lang.Object. - Create a 'main' method and add it to the class. - Create an empty JimpleBody and add it to the 'main' method. - Add locals and statements to JimpleBody. - Write the result out to a class file.


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)