MCPcopy Index your code
hub / github.com/SummerSec/SPATool / main

Method main

src/main/java/com/sumsec/core/cfg/core/TMethod.java:44–54  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

42 }
43
44 public static void main(String[] args) {
45 String mName = "hello";
46 String mContext = "public void hello(){}";
47 try {
48 TMethod tMethod = new TMethod();
49 CtClass clzz = tMethod.genMethod(mName,mContext);
50 clzz.writeFile("datas");
51 } catch (NotFoundException | CannotCompileException | IOException e) {
52 e.printStackTrace();
53 }
54 }
55}

Callers

nothing calls this directly

Calls 1

genMethodMethod · 0.95

Tested by

no test coverage detected