01: package com.kirkk.analyzer.framework.bcel;
02:
03: import org.apache.bcel.classfile.*;
04: import com.kirkk.analyzer.framework.bcelbundle.*;
05: import java.io.*;
06:
07: public class BCELClassFactory {
08:
09: public static JavaClass getClass(String file, String className)
10: throws IOException {
11: ClassParser classParser = new ClassParser(file, className);
12: JavaClass javaClass = classParser.parse();
13: //BCELPublicClass theClass = new BCELPublicClass(javaClass, null);
14: return javaClass;
15: }
16:
17: }
|