Object/Class

org.opalj.br

ObjectType

Related Docs: class ObjectType | package br

Permalink

object ObjectType

Defines factory and extractor methods for ObjectTypes.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ObjectType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 val ArithmeticException: ObjectType

    Permalink
  5. final val ArrayIndexOutOfBoundsException: ObjectType

    Permalink
  6. final val ArrayStoreException: ObjectType

    Permalink
  7. final val Boolean: ObjectType

    Permalink
  8. final val BootstrapMethodError: ObjectType

    Permalink
  9. final val Byte: ObjectType

    Permalink
  10. final val CallSite: ObjectType

    Permalink
  11. final val Character: ObjectType

    Permalink
  12. final val Class: ObjectType

    Permalink
  13. final val ClassCastException: ObjectType

    Permalink
  14. final val ClassId: Int(10)

    Permalink
  15. final val ClassNotFoundException: ObjectType

    Permalink
  16. final val Cloneable: ObjectType

    Permalink
  17. final val Double: ObjectType

    Permalink
  18. final val Error: ObjectType

    Permalink
  19. final val Exception: ObjectType

    Permalink
  20. final val ExceptionInInitializerError: ObjectType

    Permalink
  21. final val Externalizable: ObjectType

    Permalink
  22. final val Float: ObjectType

    Permalink
  23. final val IllegalMonitorStateException: ObjectType

    Permalink
  24. final val IndexOutOfBoundsException: ObjectType

    Permalink
  25. final val Integer: ObjectType

    Permalink
  26. final val LambdaMetafactory: ObjectType

    Permalink
  27. final val Long: ObjectType

    Permalink
  28. final val MethodHandle: ObjectType

    Permalink
  29. final val MethodHandles$Lookup: ObjectType

    Permalink
  30. final val MethodType: ObjectType

    Permalink
  31. final val NegativeArraySizeException: ObjectType

    Permalink
  32. final val NullPointerException: ObjectType

    Permalink
  33. final val Object: ObjectType

    Permalink
  34. final val ObjectId: Int(0)

    Permalink
  35. final val OutOfMemoryError: ObjectType

    Permalink
  36. final val RuntimeException: ObjectType

    Permalink
  37. final val Serializable: ObjectType

    Permalink
  38. final val SerializableAndCloneable: UIDSet[ObjectType]

    Permalink

    Least upper type bound of Java arrays.

    Least upper type bound of Java arrays. That is, every Java array is always Serializable and Cloneable.

  39. final val Short: ObjectType

    Permalink
  40. final val String: ObjectType

    Permalink
  41. final val StringId: Int(9)

    Permalink
  42. final val System: ObjectType

    Permalink
  43. final val Throwable: ObjectType

    Permalink
  44. def apply(fqn: String): ObjectType

    Permalink

    Factory method to create ObjectTypes.

    Factory method to create ObjectTypes.

    fqn

    The fully qualified name of a class or interface type in binary notation.

    Note

    ObjectType objects are cached internally to reduce the overall memory requirements and to ensure that only one instance of an ObjectType exists per fully qualified name. Hence, comparing ObjectTypes using reference comparison is explicitly supported.

  45. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  49. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  51. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  52. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  53. final def isPrimitiveTypeWrapper(objectType: ObjectType): Boolean

    Permalink
    Annotations
    @inline()
  54. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. def objectTypesCount: Int

    Permalink

    The number of different ObjectTypes that were created.

  58. def packageName(fqn: String): String

    Permalink

    The package name of this type.

    The package name of this type. The package name does not include a final package separator char ("/").

    E.g.,

    scala> val os = org.opalj.br.ObjectType("java/lang/String")
    os: org.opalj.br.ObjectType = ObjectType(java/lang/String)
    
    scala> os.packageName
    res1: String = java/lang
    
    scala> os.simpleName
    res2: String = String
    
    scala> os.toJava
    res3: String = java.lang.String
  59. def primitiveType(wrapperType: ObjectType): Option[BaseType]

    Permalink

    Given a wrapper type (e.g., java.lang.Integer) the underlying primitive type is returned.

    Given a wrapper type (e.g., java.lang.Integer) the underlying primitive type is returned.

    Example:
    1. scala> import org.opalj.br._
      scala> ObjectType.primitiveType(ObjectType.Integer)
      res0: Option[org.opalj.br.BaseType] = Some(IntegerType)
  60. def primitiveTypeWrapperMatcher[Args, T](booleanMatch: (Args) ⇒ T, byteMatch: (Args) ⇒ T, charMatch: (Args) ⇒ T, shortMatch: (Args) ⇒ T, integerMatch: (Args) ⇒ T, longMatch: (Args) ⇒ T, floatMatch: (Args) ⇒ T, doubleMatch: (Args) ⇒ T, orElse: (Args) ⇒ T): (ObjectType, Args) ⇒ T

    Permalink
  61. def setObjectTypeCreationListener(f: (ObjectType) ⇒ Unit): Unit

    Permalink

    Sets the listener and immediately calls it (multiple times) to inform the listener about all known object types.

    Sets the listener and immediately calls it (multiple times) to inform the listener about all known object types. It is guaranteed that the listener will not miss any object type creation. However, invocation may occur concurrently.

  62. def simpleName(fqn: String): String

    Permalink
  63. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  65. def unapply(ot: ObjectType): Option[String]

    Permalink
  66. def unboxValue[T](wrapperType: Type)(implicit typeConversionFactory: TypeConversionFactory[T]): T

    Permalink
  67. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped