scala.tools.nsc.symtab.classfile.ClassfileParser

ConstantPool

class ConstantPool extends AnyRef

Constructor of this class should not be called directly, use newConstantPool instead.

Attributes
protected
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConstantPool
  2. AnyRef
  3. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantPool()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ConstantPool to StringAdd[ConstantPool] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ConstantPool, B)

    Implicit information
    This member is added by an implicit conversion from ConstantPool to ArrowAssoc[ConstantPool] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (ConstantPool) ⇒ Boolean, msg: ⇒ Any): ConstantPool

    Implicit information
    This member is added by an implicit conversion from ConstantPool to Ensuring[ConstantPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ConstantPool) ⇒ Boolean): ConstantPool

    Implicit information
    This member is added by an implicit conversion from ConstantPool to Ensuring[ConstantPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): ConstantPool

    Implicit information
    This member is added by an implicit conversion from ConstantPool to Ensuring[ConstantPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ConstantPool

    Implicit information
    This member is added by an implicit conversion from ConstantPool to Ensuring[ConstantPool] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def errorBadIndex(index: Int): Nothing

    Throws an exception signaling a bad constant index.

    Throws an exception signaling a bad constant index.

    Attributes
    protected
  17. def errorBadTag(start: Int): Nothing

    Throws an exception signaling a bad tag at given address.

    Throws an exception signaling a bad tag at given address.

    Attributes
    protected
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def firstExpecting(index: Int, expected: Int): Int

  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ConstantPool to StringFormat[ConstantPool] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def getBytes(indices: List[Int]): Array[Byte]

  22. def getBytes(index: Int): Array[Byte]

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def getClassName(index: Int): (symbolTable)#Name

    Return the external name of the class info structure found at 'index'.

    Return the external name of the class info structure found at 'index'. Use 'getClassSymbol' if the class is sure to be a top-level class.

  25. def getClassOrArrayType(index: Int): (symbolTable)#Type

    Return the type of a class constant entry.

    Return the type of a class constant entry. Since arrays are considered to be class types, they might appear as entries in 'newarray' or 'cast' opcodes.

  26. def getClassSymbol(index: Int): (symbolTable)#Symbol

  27. def getConstant(index: Int): (symbolTable)#Constant

  28. def getConstant(index: Char): (symbolTable)#Constant

  29. def getExternalName(index: Int): (symbolTable)#Name

    Return the name found at given index in the constant pool, with '/' replaced by '.

    Return the name found at given index in the constant pool, with '/' replaced by '.'.

  30. def getName(index: Int): (symbolTable)#Name

    Return the name found at given index.

  31. def getNameAndType(index: Int, ownerTpe: (symbolTable)#Type): ((symbolTable)#Name, (symbolTable)#Type)

    Return a name and a type at the given index.

    Return a name and a type at the given index. If the type is a method type, a dummy symbol is created in ownerTpe, which is used as the owner of its value parameters. This might lead to inconsistencies, if a symbol of the given name already exists, and has a different type.

    Attributes
    protected
  32. def getSuperClass(index: Int): (symbolTable)#Symbol

  33. def getType(sym: (symbolTable)#Symbol, index: Int): (symbolTable)#Type

  34. def getType(index: Int): (symbolTable)#Type

  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. val internalized: Array[(symbolTable)#Name]

    Attributes
    protected
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. val len: Int

    Attributes
    protected
  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  42. def recordAtIndex[T <: AnyRef](value: T, idx: Int): T

  43. val starts: Array[Int]

    Attributes
    protected
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. val values: Array[AnyRef]

    Attributes
    protected
  47. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def [B](y: B): (ConstantPool, B)

    Implicit information
    This member is added by an implicit conversion from ConstantPool to ArrowAssoc[ConstantPool] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from ConstantPool to StringAdd[ConstantPool]

Inherited by implicit conversion StringFormat from ConstantPool to StringFormat[ConstantPool]

Inherited by implicit conversion Ensuring from ConstantPool to Ensuring[ConstantPool]

Inherited by implicit conversion ArrowAssoc from ConstantPool to ArrowAssoc[ConstantPool]

Ungrouped