org.ow2.asmdex.structureReader
Class MethodIdItem

java.lang.Object
  extended by org.ow2.asmdex.structureReader.MethodIdItem

public class MethodIdItem
extends java.lang.Object

Simple class representing a method_id_item structure. It is only used to conveniently returns all the data when reading a method_id_item, but nothing else. Only the classIndex, prototypeIndex and nameIndex are used by the ApplicationReader. The Writer needs all the fields, though.

Author:
Julien Névo

Constructor Summary
MethodIdItem(int classNameIndex, int prototypeIndex, int methodNameIndex)
          Constructor of record type
 
Method Summary
 int getClassIndex()
          Accessor of class index in class pool
 int getNameIndex()
          Accessor of name index in string pool
 int getPrototypeIndex()
          Accessor of prototype index in prototype pool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodIdItem

public MethodIdItem(int classNameIndex,
                    int prototypeIndex,
                    int methodNameIndex)
Constructor of record type

Parameters:
classNameIndex - class name index
prototypeIndex - prototype index
methodNameIndex - method name index
Method Detail

getClassIndex

public int getClassIndex()
Accessor of class index in class pool

Returns:
index

getPrototypeIndex

public int getPrototypeIndex()
Accessor of prototype index in prototype pool

Returns:
index

getNameIndex

public int getNameIndex()
Accessor of name index in string pool

Returns:
index