// ino.module.CONSTANT_Methodref_info.8540.package package mycompiler.mybytecode; // ino.end // ino.module.CONSTANT_Methodref_info.8540.import import java.io.FileOutputStream; import java.io.IOException; // ino.end import java.io.OutputStream; // ino.class.CONSTANT_Methodref_info.21932.declaration public class CONSTANT_Methodref_info extends CPInfo // ino.end // ino.class.CONSTANT_Methodref_info.21932.body { // ino.attribute.class_index.21936.declaration private short class_index; // ino.end // ino.attribute.name_and_type_index.21939.declaration private short name_and_type_index; // ino.end // ino.method.get_class_index.21942.definition public short get_class_index() // ino.end // ino.method.get_class_index.21942.body { return this.class_index; } // ino.end // ino.method.get_name_and_type_index.21945.definition public short get_name_and_type_index() // ino.end // ino.method.get_name_and_type_index.21945.body { return this.name_and_type_index; } // ino.end // ino.method.set_class_index.21948.definition public void set_class_index(short t) // ino.end // ino.method.set_class_index.21948.body { this.class_index = t; } // ino.end // ino.method.set_name_and_type_index.21951.definition public void set_name_and_type_index(short t) // ino.end // ino.method.set_name_and_type_index.21951.body { this.name_and_type_index = t; } // ino.end // ino.method.codegen.21954.definition @Override public void codegen(ClassFile classfile, OutputStream f) throws IOException // ino.end // ino.method.codegen.21954.body { classfile.writeByte(f, get_tag()); classfile.writeShort(f, class_index); classfile.writeShort(f, name_and_type_index); } // ino.end // ino.method.toString.21957.definition public String toString() // ino.end // ino.method.toString.21957.body { return "MethodRef_Info: class_index=" + class_index + ", name_and_type_index=" + name_and_type_index; } // ino.end } // ino.end