joeq.Main
Class Helper

java.lang.Object
  extended by joeq.Main.Helper

public class Helper
extends Object

Version:
$Id: Helper.java 1816 2004-06-29 21:06:39Z mcmartin $
Author:
Michael Martin

Constructor Summary
Helper()
           
 
Method Summary
static void addJarDir(String dir)
           
static void addToClassPath(String fileName)
          Add paths contained in file fileName.
static jq_Type load(String classname)
           
static jq_Type[] loadPackage(String packagename)
           
static jq_Type[] loadPackages(String packagename)
           
static jq_Type[] loadPackages(String packagename, boolean recursive)
           
static void runPass(BasicBlock b, BasicBlockVisitor bbv)
           
static void runPass(BasicBlock b, QuadVisitor qv)
           
static void runPass(ControlFlowGraph c, BasicBlockVisitor bbv)
           
static void runPass(ControlFlowGraph c, ControlFlowGraphVisitor cfgv)
           
static void runPass(ControlFlowGraph c, QuadVisitor qv)
           
static void runPass(jq_Class c, BasicBlockVisitor bbv)
           
static void runPass(jq_Class c, ControlFlowGraphVisitor cfgv)
           
static void runPass(jq_Class c, jq_MethodVisitor mv)
           
static void runPass(jq_Class c, jq_TypeVisitor tv)
           
static void runPass(jq_Class c, QuadVisitor qv)
           
static void runPass(jq_Method m, BasicBlockVisitor bbv)
           
static void runPass(jq_Method m, ControlFlowGraphVisitor cfgv)
           
static void runPass(jq_Method m, jq_MethodVisitor mv)
           
static void runPass(jq_Method m, QuadVisitor qv)
           
static void runPass(Quad q, QuadVisitor qv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper

public Helper()
Method Detail

load

public static jq_Type load(String classname)

loadPackage

public static jq_Type[] loadPackage(String packagename)

loadPackages

public static jq_Type[] loadPackages(String packagename)

loadPackages

public static jq_Type[] loadPackages(String packagename,
                                     boolean recursive)

addToClassPath

public static void addToClassPath(String fileName)
Add paths contained in file fileName.

Parameters:
fileName - -- name of the file with class paths

addJarDir

public static void addJarDir(String dir)

runPass

public static void runPass(jq_Class c,
                           jq_TypeVisitor tv)

runPass

public static void runPass(jq_Class c,
                           jq_MethodVisitor mv)

runPass

public static void runPass(jq_Class c,
                           ControlFlowGraphVisitor cfgv)

runPass

public static void runPass(jq_Class c,
                           BasicBlockVisitor bbv)

runPass

public static void runPass(jq_Class c,
                           QuadVisitor qv)

runPass

public static void runPass(jq_Method m,
                           jq_MethodVisitor mv)

runPass

public static void runPass(jq_Method m,
                           ControlFlowGraphVisitor cfgv)

runPass

public static void runPass(jq_Method m,
                           BasicBlockVisitor bbv)

runPass

public static void runPass(jq_Method m,
                           QuadVisitor qv)

runPass

public static void runPass(ControlFlowGraph c,
                           ControlFlowGraphVisitor cfgv)

runPass

public static void runPass(ControlFlowGraph c,
                           BasicBlockVisitor bbv)

runPass

public static void runPass(ControlFlowGraph c,
                           QuadVisitor qv)

runPass

public static void runPass(BasicBlock b,
                           BasicBlockVisitor bbv)

runPass

public static void runPass(BasicBlock b,
                           QuadVisitor qv)

runPass

public static void runPass(Quad q,
                           QuadVisitor qv)


Copyright © 2001-2008 John Whaley. All Rights Reserved.