01: /*
02: * HanselFrame.java
03: *
04: * Created on 22. August 2004, 14:04
05: */
06:
07: package org.hansel;
08:
09: import org.objectweb.asm.tree.analysis.Frame;
10: import org.objectweb.asm.tree.analysis.Value;
11:
12: /**
13: *
14: * @author Niklas Mehner
15: */
16: public class HanselFrame extends Frame {
17:
18: /** Creates a new instance of HanselFrame */
19: public HanselFrame(int nLocals, int nStack) {
20: super (nLocals, nStack);
21: }
22:
23: public HanselFrame(HanselFrame frame) {
24: super (frame);
25: }
26:
27: public void push(Value value) {
28: assert value != null : "Value may not be null.";
29: super.push(value);
30: }
31: }
|