Source code: com/chaoswg/xtc4y/classdesc/MethodrefCPEntry.java
1 //$Header: /cvsroot/xtc4y/xtc4y/src/com/chaoswg/xtc4y/classdesc/MethodrefCPEntry.java,v 1.1.1.1 2003/08/07 13:40:28 toggm Exp $
2 /******************************************************************************
3 * XTC4y - eXtreme Testing Collection 4 you *
4 * -------------------------------------------------------------------------- *
5 * URL: http://www.chaoswg.com/xtc4y *
6 * Author: Mike Toggweiler (2.dog@gmx.ch) *
7 * *
8 * Last Updated: $Date: 2003/08/07 13:40:28 $, by $Author: toggm $ *
9 * Version: $Revision: 1.1.1.1 $ *
10 * -------------------------------------------------------------------------- *
11 * COPYRIGHT: (c) 2003 by Mike Toggweiler *
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 *****************************************************************************/
18 package com.chaoswg.xtc4y.classdesc;
19
20
21 import java.io.DataInputStream;
22 import java.io.DataOutputStream;
23 import java.io.IOException;
24
25 /**
26 * this class represent a Methodref constant pool entry
27 * @author Mike Toggweiler
28 **/
29 public final class MethodrefCPEntry extends RefCPEntry {
30 /**
31 * The tag identifying a Methodref cp entry
32 **/
33 public static final byte TAG = 10;
34
35 /**
36 * Create a methodref entry
37 * @param classCP a ClassCPEntry
38 * @param natCP a NameAndTypeCPEntry
39 **/
40 public MethodrefCPEntry(ClassCPEntry classCP, NameAndTypeCPEntry natCP) {
41 super(TAG, classCP, natCP);
42 }
43
44 /**
45 * Creates a MethodrefCPEntry and initializes it from a DataInputStream
46 * @param dis the DataInputStream to read from
47 **/
48 protected MethodrefCPEntry(DataInputStream dis)
49 throws IOException {
50 super(TAG, dis);
51 }
52 }