Lines Matching defs:index
78 public LDC(int index) {
79 super(com.sun.org.apache.bcel.internal.Constants.LDC_W, index);
85 if(index <= com.sun.org.apache.bcel.internal.Constants.MAX_BYTE) { // Fits in one byte?
102 out.writeByte(index);
104 out.writeShort(index);
108 * Set the index to constant pool and adjust size.
110 public final void setIndex(int index) {
111 super.setIndex(index);
116 * Read needed data (e.g. index) from file.
122 index = bytes.readUnsignedByte();
126 com.sun.org.apache.bcel.internal.classfile.Constant c = cpg.getConstantPool().getConstant(index);
141 throw new RuntimeException("Unknown or invalid constant type at " + index);
146 switch(cpg.getConstantPool().getConstant(index).getTag()) {
151 throw new RuntimeException("Unknown or invalid constant type at " + index);