jef.dna.instructions
Interface InstructionRefsCpt

All Superinterfaces:
BytesCountable, java.lang.Cloneable, Instruction
All Known Implementing Classes:
ANewArray, CheckCast, GetField, GetStatic, InstanceOf, InstructionAncestorRefsCpt, InstructionRefsCpt16, InstructionRefsCpt8, InvokeInterface, InvokeSpecial, InvokeStatic, InvokeVirtual, Ldc, Ldc_W, Ldc2_W, MultiANewArray, New, PutField, PutStatic

public interface InstructionRefsCpt
extends Instruction

This interface has to be implemented by every class representing a Java bytecode instruction which refers to the constant pool table.

Author:
ggiovanzana

Method Summary
 int getIndex()
          Provides the reference to the constant pool table.
 void setIndex(int index)
          Sets the reference to the constant pool table.
 
Methods inherited from interface jef.dna.instructions.Instruction
clone, fromArray, getOpCode, getOperands, getOperandsCount, setOpCode, setOperands, setOperandsCountPosticipated, toArray, updateRefs
 
Methods inherited from interface jef.dna.util.BytesCountable
getBytesCount
 

Method Detail

getIndex

int getIndex()
Provides the reference to the constant pool table.

Returns:
int The index into the constant pool table

setIndex

void setIndex(int index)
Sets the reference to the constant pool table.

Parameters:
index - The index into the constant pool table