janino.net

org.codehaus.janino.util
Class ClassFile.ConstantClassInfo

java.lang.Object
  extended by org.codehaus.janino.util.ClassFile.ConstantPoolInfo
      extended by org.codehaus.janino.util.ClassFile.ConstantClassInfo
Enclosing class:
ClassFile

public static class ClassFile.ConstantClassInfo
extends ClassFile.ConstantPoolInfo

See JVMS7 4.4.1.


Constructor Summary
ClassFile.ConstantClassInfo(short nameIndex)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName(ClassFile classFile)
           
 int hashCode()
           
 boolean isWide()
           
 void store(DataOutputStream dos)
          Stores this CP entry into the given DataOutputStream.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile.ConstantClassInfo

public ClassFile.ConstantClassInfo(short nameIndex)
Method Detail

getName

public String getName(ClassFile classFile)
Returns:
The class's or interface's name in "internal form" (JVMS7 4.2.1)

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(DataOutputStream dos)
           throws 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:
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

janino.net