Artifact 1a310b4b3c671a5a24e0762119248fd679d59edaf94aaac34b7478a50938b1d5:


// created 02/02/02

import java.io.*;

public class CONSTANT_Class_info extends Cp_info
{
    public static void main(String[] args) throws IOException
    {
        short index = (short)0x11;
        CONSTANT_Class_info ci = new CONSTANT_Class_info(index);
        ci.printBytes(ci.dumpBytes());
                
        short index2 = (short)0x12;
        CONSTANT_Class_info ci2 = new CONSTANT_Class_info(index2);
        ci2.printBytes(ci2.dumpBytes());
    }
        
    short name_index;
        
    //constructor
    CONSTANT_Class_info(short nameIndex)throws IOException
    {   tag = CONSTANT_Class;        
        name_index = nameIndex;
        info = shortToByteArray(name_index);
    }
                
}

// end of CONSTANT_Class_info.java


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]