scala.tools.nsc.symtab.classfile.ClassfileParser

# ConstantPool

#### class ConstantPool extends AnyRef

Linear Supertypes
AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. ConstantPool
2. AnyRef
3. Any

Implicitly

1. by any2stringadd
2. by any2stringfmt
3. by any2ArrowAssoc
4. by any2Ensuring

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 performed by method any2stringadd 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 any2ArrowAssoc 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 any2Ensuring 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 any2Ensuring 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 any2Ensuring 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 any2Ensuring 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 finalize(): Unit

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

17. #### def formatted(fmtstr: String): String

    Implicit information
      This member is added by an implicit conversion from ConstantPool to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

18. #### def getBytes(indices: List[Int]): Array[Byte]

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

20. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

21. #### def getClassName(index: Int): Global.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.

22. #### def getClassOrArrayType(index: Int): Global.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.

23. #### def getClassSymbol(index: Int): Global.Symbol

24. #### def getConstant(index: Int): Global.Constant

25. #### def getExternalName(index: Int): Global.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 '.'.

26. #### def getMemberSymbol(index: Int, static: Boolean): Global.Symbol

    Return the symbol of the class member at `index`.

    Return the symbol of the class member at `index`. The following special cases exist:

    - If the member refers to special `MODULE$` static field, return the symbol of the corresponding module.
    - If the member is a field, and is not found with the given name, another try is made by appending `nme.LOCAL_SUFFIX_STRING`
    - If no symbol is found in the right tpe, a new try is made in the companion class, in case the owner is an implementation class.

27. #### def getName(index: Int): Global.Name

    Return the name found at given index.

28. #### def getSuperClass(index: Int): Global.Symbol

29. #### def getType(sym: Global.Symbol, index: Int): Global.Type

30. #### def getType(index: Int): Global.Type

31. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

32. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

33. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

34. #### final def notify(): Unit

    Definition Classes
      AnyRef

35. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

36. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

37. #### def toString(): String

    Definition Classes
      AnyRef → Any

38. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

39. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

40. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

41. #### def →[B](y: B): (ConstantPool, B)

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

### Shadowed Implicit Value Members

1. #### val self: Any

   Implicit information
     This member is added by an implicit conversion from ConstantPool to StringAdd performed by method any2stringadd in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (constantPool: StringAdd).self

   Definition Classes
     StringAdd

2. #### val self: Any

   Implicit information
     This member is added by an implicit conversion from ConstantPool to StringFormat performed by method any2stringfmt in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (constantPool: StringFormat).self

   Definition Classes
     StringFormat

### Deprecated Value Members

1. #### def x: ConstantPool

   Implicit information
     This member is added by an implicit conversion from ConstantPool to ArrowAssoc[ConstantPool] performed by method any2ArrowAssoc in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (constantPool: ArrowAssoc[ConstantPool]).x

   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Use `leftOfArrow`instead``

2. #### def x: ConstantPool

   Implicit information
     This member is added by an implicit conversion from ConstantPool to Ensuring[ConstantPool] performed by method any2Ensuring in scala.Predef.
   Shadowing
     This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
     To access this member you can use a type ascription:

         (constantPool: Ensuring[ConstantPool]).x

   Definition Classes
     Ensuring
   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Use `resultOfEnsuring`instead``

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from ConstantPool to StringAdd

### Inherited by implicit conversion any2stringfmt from ConstantPool to StringFormat

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

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

### Ungrouped