jreversepro.reflect
Class JConstantPoolEntry

java.lang.Object
  extended by jreversepro.reflect.JConstantPoolEntry

public class JConstantPoolEntry
extends java.lang.Object

JConstantPoolEntry is an Entry of the CONSTANT POOL data structure the class file.

Author:
Karthik Kumar.

Constructor Summary
JConstantPoolEntry(int tagByte, java.lang.String value, int ptr1, int ptr2)
          Constructor
 
Method Summary
 int getPtr1()
           
 int getPtr2()
           
 int getTagByte()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JConstantPoolEntry

public JConstantPoolEntry(int tagByte,
                          java.lang.String value,
                          int ptr1,
                          int ptr2)
Constructor

Parameters:
tagByte - Tag Byte
value - Value
ptr1 - Pointer 1
ptr2 - Pointer 2
Method Detail

getPtr1

public int getPtr1()
Returns:
Returns Pointer 1.

getPtr2

public int getPtr2()
Returns:
Returns Pointer 2.

getValue

public java.lang.String getValue()
Returns:
Returns value of this ConstantPoolEntry.

getTagByte

public int getTagByte()
Returns:
Returns Tag Byte

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns stringified form of this class.


Submit Feedback to akkumar@users.sourceforge.net