1 package org.simantics.scl.compiler.constants;
3 import org.simantics.scl.compiler.internal.codegen.utils.LocalVariable;
4 import org.cojen.classfile.TypeDesc;
5 import org.simantics.scl.compiler.internal.codegen.utils.MethodBuilder;
6 import org.simantics.scl.compiler.internal.codegen.utils.TransientClassBuilder;
7 import org.simantics.scl.compiler.types.Type;
9 public class LocalBoxedArrayElementConstant extends Constant {
14 public LocalBoxedArrayElementConstant(Type type, LocalVariable var, int index) {
21 public void push(MethodBuilder mb) {
23 mb.loadConstant(index);
24 mb.loadFromArray(TypeDesc.OBJECT);
29 public Object realizeValue(TransientClassBuilder classBuilder) {
30 throw new UnsupportedOperationException();