Class ConstantPoolData

java.lang.Object
org.glassfish.rmic.tools.asm.ConstantPoolData
All Implemented Interfaces:
RuntimeConstants
Direct Known Subclasses:
ClassConstantData, FieldConstantData, NameAndTypeConstantData, NumberConstantData, StringConstantData, StringExpressionConstantData

abstract class ConstantPoolData extends Object implements RuntimeConstants
Base constant data class. Every constant pool data item is derived from this class. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
  • Field Details

    • index

      int index
  • Constructor Details

    • ConstantPoolData

      ConstantPoolData()
  • Method Details

    • write

      abstract void write(Environment env, DataOutputStream out, ConstantPool tab) throws IOException
      Write the constant to the output stream
      Throws:
      IOException
    • order

      int order()
      Return the order of the constant
    • width

      int width()
      Return the number of entries that it takes up in the constant pool