01: /*
02: * $Id: InterfaceMethodRefInfo.java,v 1.2 2002/09/16 08:05:02 jkl Exp $
03: *
04: * Copyright (c) 2002 Njet Communications Ltd. All Rights Reserved.
05: *
06: * Use is subject to license terms, as defined in
07: * Anvil Sofware License, Version 1.1. See LICENSE
08: * file, or http://njet.org/license-1.1.txt
09: */
10: package anvil.codec;
11:
12: import java.io.DataOutputStream;
13: import java.io.IOException;
14:
15: public class InterfaceMethodRefInfo extends MethodRefInfo {
16:
17: public InterfaceMethodRefInfo(ConstantPool pool, String classname,
18: String name, String type) {
19: super (pool, classname, name, type);
20: }
21:
22: public InterfaceMethodRefInfo(ConstantPool pool, int classindex,
23: String name, String type) {
24: super (pool, classindex, name, type);
25: }
26:
27: public InterfaceMethodRefInfo(ConstantPool pool, int classindex,
28: int name, int type) {
29: super (pool, classindex, name, type);
30: }
31:
32: public InterfaceMethodRefInfo(ConstantPool pool, int classindex,
33: int nametype) {
34: super (pool, classindex, nametype);
35: }
36:
37: public String toString() {
38: return "CONSTANT_InterfaceMethodRef(" + _class + ","
39: + _nametype + ")";
40: }
41:
42: public int getTag() {
43: return CONSTANT_InterfaceMethodRef;
44: }
45:
46: }
|