Packages

c

org.opalj.br.cp

ConstantsPool

class ConstantsPool extends ConstantsPoolLike

An immutable view of a created constants pool. The ConstantsPool object is typically created using a ConstantsBuffer's build method.

Linear Supertypes
ConstantsPoolLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantsPool
  2. ConstantsPoolLike
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantsPool(constantPool: Map[Constant_Pool_Entry, Constant_Pool_Index], bootstrapMethods: IndexedSeq[BootstrapMethod])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def CPEClass(referenceType: ReferenceType, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
    Annotations
    @throws( ... )
  5. def CPEDouble(value: Double): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  6. def CPEFieldRef(objectType: ObjectType, fieldName: String, fieldType: String): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  7. def CPEFloat(value: Float, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
    Annotations
    @throws( ... )
  8. def CPEInteger(value: Int, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
    Annotations
    @throws( ... )
  9. def CPEInterfaceMethodRef(objectType: ReferenceType, name: String, descriptor: MethodDescriptor): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  10. def CPEInterfaceMethodRef(objectType: ReferenceType, methodName: String, descriptor: String): Int
  11. def CPEInvokeDynamic(bootstrapMethod: BootstrapMethod, name: String, descriptor: MethodDescriptor): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  12. def CPEInvokeDynamic(bootstrapMethod: BootstrapMethod, name: String, descriptor: String): Int
  13. def CPELong(value: Long): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  14. def CPEMethodHandle(methodHandle: MethodHandle, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
    Annotations
    @throws( ... )
  15. def CPEMethodRef(objectType: ReferenceType, name: String, descriptor: MethodDescriptor): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  16. def CPEMethodRef(referenceType: ReferenceType, methodName: String, descriptor: String): Int
  17. def CPEMethodType(descriptor: MethodDescriptor, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  18. def CPEMethodType(descriptor: String, requiresUByteIndex: Boolean): Int
    Annotations
    @throws( ... )
  19. def CPENameAndType(name: String, tpe: String): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  20. def CPERefOfCPEMethodHandle(methodHandle: MethodHandle): (Int, Int)

    returns

    A pair of ints where the first value is the method handle's tag and the second one is the constant pool index of the constant pool entry that the CONSTANT_MethodHandle should reference.

    Definition Classes
    ConstantsPoolLike
  21. def CPEString(value: String, requiresUByteIndex: Boolean): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
    Annotations
    @throws( ... )
  22. def CPEUtf8(value: String): Int
    Definition Classes
    ConstantsPoolConstantsPoolLike
  23. def CPEUtf8OfCPEClass(referenceType: ReferenceType): Int
    Definition Classes
    ConstantsPoolLike
  24. def CPEntryForBootstrapArgument(bootstrapArgument: BootstrapArgument): Int
    Definition Classes
    ConstantsPoolLike
    Annotations
    @throws( ... )
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. val bootstrapMethods: IndexedSeq[BootstrapMethod]
  27. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. val constantPool: Map[Constant_Pool_Entry, Constant_Pool_Index]
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  31. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ConstantsPoolLike

Inherited from AnyRef

Inherited from Any

Ungrouped