public void push(de.fub.bytecode.classfile.JavaClass)
| Byte offset | Instruction | Argument |
|---|---|---|
| 0 | aload_0 | |
| 1 | getfield | stack Ljava/util/Stack; |
| 4 | aload_1 | |
| 5 | invokevirtual | java.util.Stack.push (Ljava/lang/Object;)Ljava/lang/Object;(Object):Object |
| 8 | pop | |
| 9 | return | |
public de.fub.bytecode.classfile.JavaClass pop()
| Byte offset | Instruction | Argument |
|---|---|---|
| 0 | aload_0 | |
| 1 | getfield | stack Ljava/util/Stack; |
| 4 | invokevirtual | java.util.Stack.pop ()Ljava/lang/Object;():Object |
| 7 | checkcast | de.fub.bytecode.classfile.JavaClass |
| 10 | areturn | |
public de.fub.bytecode.classfile.JavaClass top()
| Byte offset | Instruction | Argument |
|---|---|---|
| 0 | aload_0 | |
| 1 | getfield | stack Ljava/util/Stack; |
| 4 | invokevirtual | java.util.Stack.peek ()Ljava/lang/Object;():Object |
| 7 | checkcast | de.fub.bytecode.classfile.JavaClass |
| 10 | areturn | |
| Byte offset | Instruction | Argument |
|---|---|---|
| 0 | aload_0 | |
| 1 | getfield | stack Ljava/util/Stack; |
| 4 | invokevirtual | java.util.Stack.empty ()Z():boolean |
| 7 | ireturn | |
| Byte offset | Instruction | Argument |
|---|---|---|
| 0 | aload_0 | |
| 1 | invokespecial | Object.<init> ()V():void |
| 4 | aload_0 | |
| 5 | new | java.util.Stack |
| 8 | dup | |
| 9 | invokespecial | java.util.Stack.<init> ()V():void |
| 12 | putfield | stack Ljava/util/Stack; |
| 15 | return | |