org.codehaus.janino.util
Class ClassFile.ConstantNameAndTypeInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.ConstantPoolInfo
org.codehaus.janino.util.ClassFile.ConstantNameAndTypeInfo
- Enclosing class:
- ClassFile
public static class ClassFile.ConstantNameAndTypeInfo
- extends ClassFile.ConstantPoolInfo
See JVMS7 4.4.6.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ClassFile.ConstantNameAndTypeInfo
public ClassFile.ConstantNameAndTypeInfo(short nameIndex,
short descriptorIndex)
getDescriptor
public java.lang.String getDescriptor(ClassFile classFile)
- Returns:
- The (field or method) descriptor related to the name
isWide
public boolean isWide()
- Specified by:
isWide in class ClassFile.ConstantPoolInfo
- Returns:
- Whether this CP entry is "wide" in the sense of JVMS7 4.4.5
store
public void store(java.io.DataOutputStream dos)
throws java.io.IOException
- Description copied from class:
ClassFile.ConstantPoolInfo
- Stores this CP entry into the given
DataOutputStream.
See JVMS7 4.4.1 and following
- Specified by:
store in class ClassFile.ConstantPoolInfo
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object