package st.gravel.support.compiler.jvm; /* This file is automatically generated from typed smalltalk source. Do not edit by hand. (C) AG5.com */ import java.math.BigInteger; import st.gravel.support.jvm.NonLocalReturn; import st.gravel.support.compiler.jvm.Load; import st.gravel.support.compiler.jvm.Load.Load_Factory; import st.gravel.support.compiler.jvm.JVMInstructionVisitor; import st.gravel.support.compiler.jvm.JVMType; public class ALoad extends Load implements Cloneable { public static ALoad_Factory factory = new ALoad_Factory(); public static class ALoad_Factory extends Load_Factory { public ALoad basicNew() { ALoad newInstance = new ALoad(); newInstance.initialize(); return newInstance; } } @Override public <X> X accept_(final JVMInstructionVisitor<X> _visitor) { return _visitor.visitALoad_(this); } public ALoad copy() { try { ALoad _temp1 = (ALoad) this.clone(); _temp1.postCopy(); return _temp1; } catch (CloneNotSupportedException e) { throw new RuntimeException(e); } } public ALoad_Factory factory() { return factory; } @Override public ALoad initializeIndex_type_(final int _anInteger, final JVMType _aJVMDynamicObjectType) { _index = _anInteger; _type = _aJVMDynamicObjectType; this.initialize(); return this; } @Override public ALoad printOn_(final StringBuilder _aStream) { final String _title; _title = this.factory().toString(); _aStream.append(st.gravel.support.jvm.CharacterExtensions.isVowel(_title.charAt(0)) ? "an " : "a "); _aStream.append(_title); _aStream.append('['); this.sourceOn_(_aStream); _aStream.append(']'); return this; } @Override public ALoad sourceOn_(final StringBuilder _aStream) { return this; } @Override public ALoad withReturnType_(final JVMType _aType) { if (st.gravel.support.jvm.ObjectExtensions.equals_(this.type(), _aType)) { return ALoad.this; } throw new RuntimeException("niy"); } }