Class

scala.tools.nsc.symtab.classfile.ClassfileParser

ConstantPool

Related Doc: package ClassfileParser

Permalink

class ConstantPool extends AnyRef

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

Attributes
protected
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantPool
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantPool()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink

    Throws an exception signaling a bad constant index.

    Throws an exception signaling a bad constant index.

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

    Permalink

    Throws an exception signaling a bad tag at given address.

    Throws an exception signaling a bad tag at given address.

    Attributes
    protected
  10. def firstExpecting(index: Int, expected: Int): Int

    Permalink
  11. def getBytes(indices: List[Int]): Array[Byte]

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

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def getClassName(index: Int): (symbolTable)#Name

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink
  17. def getConstant(index: Int): (symbolTable)#Constant

    Permalink
  18. def getConstant(index: Char): (symbolTable)#Constant

    Permalink
  19. def getExternalName(index: Int): (symbolTable)#Name

    Permalink

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

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

    Permalink

    Return the name found at given index.

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

    Permalink

    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
  22. def getSuperClass(index: Int): (symbolTable)#Symbol

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

    Permalink
  24. def getType(index: Int): (symbolTable)#Type

    Permalink
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  26. val internalized: Array[(symbolTable)#Name]

    Permalink
    Attributes
    protected
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val len: Int

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

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def recordAtIndex[T <: AnyRef](value: T, idx: Int): T

    Permalink
  33. val starts: Array[Int]

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

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

    Permalink
    Attributes
    protected
  37. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped