MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / toFrame

Method toFrame

src/me/lpk/analysis/StackFrame.java:48–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 public FrameNode toFrame(){
49 List stack = new ArrayList();
50 for (int s = 0; s < this.getStackSize(); s++){
51 stack.add(this.getStack(s));
52 }
53 List locals = new ArrayList();
54 for (int l = 0; l< this.locals; l++){
55 stack.add(this.getLocal(l));
56 }
57 return new FrameNode(Opcodes.F_FULL, stack.size(),stack.toArray(), locals.size(), locals.toArray());
58 }
59
60 public void execute(final AbstractInsnNode insn, final StackHelper interpreter) throws AnalyzerException {
61 InsnValue value1, value2, value3, value4;

Callers

nothing calls this directly

Calls 1

getLocalMethod · 0.95

Tested by

no test coverage detected