net.sf.rej.java.attribute
Class ConstantValueAttribute

java.lang.Object
  extended by net.sf.rej.java.attribute.Attribute
      extended by net.sf.rej.java.attribute.ConstantValueAttribute

public class ConstantValueAttribute
extends Attribute


Constructor Summary
ConstantValueAttribute(int nameIndex, ConstantPool pool)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getConstantIndex()
           
 ConstantPoolInfo getCPI()
           
 byte[] getPayload()
           
 java.lang.String getValue()
           
 int hashCode()
           
 void setConstantIndex(int index)
           
 void setPayload(byte[] data)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.rej.java.attribute.Attribute
getAttribute, getData, getName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantValueAttribute

public ConstantValueAttribute(int nameIndex,
                              ConstantPool pool)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Attribute

getValue

public java.lang.String getValue()

getConstantIndex

public int getConstantIndex()

setConstantIndex

public void setConstantIndex(int index)

getPayload

public byte[] getPayload()
Overrides:
getPayload in class Attribute

setPayload

public void setPayload(byte[] data)
Overrides:
setPayload in class Attribute

getCPI

public ConstantPoolInfo getCPI()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object