Source code: com/chaoswg/xtc4y/classdesc/CodeCompatible.java
1 //$Header: /cvsroot/xtc4y/xtc4y/src/com/chaoswg/xtc4y/classdesc/CodeCompatible.java,v 1.1 2003/09/08 20:55:03 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/09/08 20:55:03 $, by $Author: toggm $ *
9 * Version: $Revision: 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 import com.chaoswg.xtc4y.classdesc.code.Code;
21
22 /**
23 * This interface marks a attribute to be code compatible. Code compatible
24 * it may occur in the attributes section of a codeattribute and must
25 * therefore resolve it indices into the code array
26 * @author Mike Toggweiler
27 **/
28 public interface CodeCompatible {
29 /**
30 * Called to resolve the temporary stored indices into the code
31 * table
32 * @param code the Code table after initialization
33 **/
34 public void resolveIndices(Code code);
35
36 /**
37 * Called to resolve indices on instructions from the code table
38 * @param code the code table after initialization
39 **/
40 public void readIndices(Code code);
41 }