KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hansel > HanselFrame


1 /*
2  * HanselFrame.java
3  *
4  * Created on 22. August 2004, 14:04
5  */

6
7 package org.hansel;
8
9 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 }
32
Popular Tags