1 ; -*- Mode: Jasmin; indent-tabs-mode: t; tab-width: 4 -*-
2 ; ---------------------------------------------------------------------------
3 ; Multi-Phasic Applications: SquirrelJME
4 ; Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 ; ---------------------------------------------------------------------------
6 ; SquirrelJME is under the GNU General Public License v3+, or later.
7 ; See license.mkd for licensing and copyright information.
8 ; ---------------------------------------------------------------------------
10 .
class public lang
/bytecode
/field/TestInstanceFieldConst
11 .
super net
/multiphasicapps
/tac
/TestSupplier
13 ; Even though this would be ignored, Jasmin Sable adds a ConstantValue
14 ; attribute for any field value so we can take advantage of it here
17 .
method public <init
>()V
19 invokenonvirtual net
/multiphasicapps
/tac
/TestSupplier
/<init
>()V
23 .
method public test
()Ljava
/lang
/Object
;
27 getfield lang
/bytecode
/field/TestInstanceFieldConst
/test I
30 invokestatic java
/lang
/Integer
/valueOf
(I
)Ljava
/lang
/Integer
;