com.go.trove.classfile
Class ConstantNameAndTypeInfo

java.lang.Object
  |
  +--com.go.trove.classfile.ConstantInfo
        |
        +--com.go.trove.classfile.ConstantNameAndTypeInfo

public class ConstantNameAndTypeInfo
extends ConstantInfo

This class corresponds to the CONSTANT_NameAndType_info structure as defined in section 4.4.6 of The Java Virtual Machine Specification.

Version:
21 , 9/07/00
Author:
Brian S O'Neill

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 Descriptor getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 void writeTo(java.io.DataOutput dout)
           
 
Methods inherited from class com.go.trove.classfile.ConstantInfo
getIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

getType

public Descriptor getType()

hashCode

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

equals

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

writeTo

public void writeTo(java.io.DataOutput dout)
             throws java.io.IOException
Overrides:
writeTo in class ConstantInfo

toString

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