Class

org.scaladebugger.api.profiles.pure.info

PureClassTypeInfo

Related Doc: package info

Permalink

class PureClassTypeInfo extends PureReferenceTypeInfo with ClassTypeInfo

Represents a pure implementation of a class type profile that adds no custom logic on top of the standard JDI.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PureClassTypeInfo
  2. ClassTypeInfo
  3. PureReferenceTypeInfo
  4. ReferenceTypeInfo
  5. PureTypeInfo
  6. TypeInfo
  7. CommonInfo
  8. JavaInfo
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PureClassTypeInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, _classType: ClassType)

    Permalink

    scalaVirtualMachine

    The high-level virtual machine containing the class type

    infoProducer

    The producer of info-based profile instances

    _classType

    The underlying JDI class type to wrap

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. def allFields: Seq[FieldVariableInfo]

    Permalink

    Retrieves all fields declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    Retrieves all fields declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    returns

    The collection of fields as variable info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
    Note

    Provides no offset index information!

  5. def allInstances: Seq[ObjectInfo]

    Permalink

    Retrieves all reachable instances of this type.

    Retrieves all reachable instances of this type.

    returns

    The collection of object instances

    Definition Classes
    ReferenceTypeInfo
  6. def allInterfaces: Seq[InterfaceTypeInfo]

    Permalink

    Returns a collection of type information for interfaces directly and indirectly implemented by this class.

    Returns a collection of type information for interfaces directly and indirectly implemented by this class.

    returns

    The collection of interface type info profiles

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  7. def allLineLocations: Seq[LocationInfo]

    Permalink

    Retrieves and returns all valid locations for executable lines within this type.

    Retrieves and returns all valid locations for executable lines within this type.

    returns

    The collection of location information

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  8. def allMethods: Seq[MethodInfo]

    Permalink

    Retrieves all methods declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    Retrieves all methods declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    returns

    The collection of methods as method info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def castLocal(value: String): Any

    Permalink

    Attempts to cast the provided string to this type, performing any necessary data conversions.

    Attempts to cast the provided string to this type, performing any necessary data conversions.

    value

    The value to transform

    returns

    The resulting value from the transformation

    Definition Classes
    TypeInfo
    Annotations
    @throws( ... )
  11. def castLocal(value: AnyVal): Any

    Permalink

    Attempts to cast the provided primitive to this type, performing any necessary data conversions.

    Attempts to cast the provided primitive to this type, performing any necessary data conversions.

    value

    The value to transform

    returns

    The resulting value from the transformation

    Definition Classes
    TypeInfo
    Annotations
    @throws( ... )
  12. def classLoader: ClassLoaderInfo

    Permalink

    Retrieves the classloader object which loaded the class associated with this type.

    Retrieves the classloader object which loaded the class associated with this type.

    returns

    The profile representing the classloader

    Definition Classes
    ReferenceTypeInfo
    Annotations
    @throws( ... )
  13. def classLoaderOption: Option[ClassLoaderInfo]

    Permalink

    Retrieves the classloader object which loaded the class associated with this type.

    Retrieves the classloader object which loaded the class associated with this type.

    returns

    Some profile representing the classloader, otherwise None if loaded through the bootstrap classloader

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  14. def classObject: ClassObjectInfo

    Permalink

    Retrieves the class object associated with this type.

    Retrieves the class object associated with this type.

    returns

    The profile representing the class

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  15. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def field(name: String): FieldVariableInfo

    Permalink

    Retrieves the visible field with the matching name.

    Retrieves the visible field with the matching name.

    name

    The name of the field to retrieve

    returns

    The field as a variable info profile

    Definition Classes
    ReferenceTypeInfo
    Annotations
    @throws( ... )
  19. def fieldOption(name: String): Option[FieldVariableInfo]

    Permalink

    Retrieves the visible field with the matching name.

    Retrieves the visible field with the matching name.

    name

    The name of the field to retrieve

    returns

    Some field as a variable info profile, or None if doesn't exist

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def genericSignature: Option[String]

    Permalink

    Retrieves the generic signature type if it exists.

    Retrieves the generic signature type if it exists.

    returns

    Some signature if it exists, otherwise None

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def indexedField(name: String): FieldVariableInfo

    Permalink

    Retrieves the visible field with the matching name with offset index information.

    Retrieves the visible field with the matching name with offset index information.

    name

    The name of the field to retrieve

    returns

    The field as a variable info profile

    Definition Classes
    ReferenceTypeInfo
    Annotations
    @throws( ... )
  25. def indexedFieldOption(name: String): Option[FieldVariableInfo]

    Permalink

    Retrieves the visible field with the matching name with offset index information.

    Retrieves the visible field with the matching name with offset index information.

    name

    The name of the field to retrieve

    returns

    Some field as a variable info profile, or None if doesn't exist

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  26. def indexedVisibleFields: Seq[FieldVariableInfo]

    Permalink

    Retrieves unhidden and unambiguous fields in this type.

    Retrieves unhidden and unambiguous fields in this type. Fields hidden by other fields with the same name (in a more recently inherited class) are not included. Fields that are ambiguously multiply inherited are also not included. All other inherited fields are included. Offset index information is included.

    returns

    The collection of fields as variable info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  27. val infoProducer: InfoProducer

    Permalink

    The producer of info-based profile instances

    The producer of info-based profile instances

    Attributes
    protected
    Definition Classes
    PureClassTypeInfoPureReferenceTypeInfoPureTypeInfo
  28. def instances(maxInstances: Long): Seq[ObjectInfo]

    Permalink

    Retrieves reachable instances of this type.

    Retrieves reachable instances of this type.

    maxInstances

    The maximum number of instances to return, or zero to get all reachable instances

    returns

    The collection of object instances

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  29. def interfaces: Seq[InterfaceTypeInfo]

    Permalink

    Returns a collection of interfaces directly implemented by this class.

    Returns a collection of interfaces directly implemented by this class.

    returns

    The collection of interface type info profiles

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  30. def invokeStaticMethod(thread: ThreadInfo, method: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): ValueInfo

    Permalink

    Invokes the class' static method.

    Invokes the class' static method.

    thread

    The thread within which to invoke the method

    method

    The method of the class to invoke

    arguments

    The arguments to provide to the method

    jdiArguments

    Optional arguments to provide custom settings to the method invocation

    returns

    The resulting value of the invocation

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  31. def invokeStaticMethod(thread: ThreadInfo, methodName: String, methodSignature: String, arguments: Seq[Any], jdiArguments: JDIArgument*): ValueInfo

    Permalink

    Invokes the class' static method with matching name and arguments.

    Invokes the class' static method with matching name and arguments.

    thread

    The thread within which to invoke the method

    methodName

    The name of the method to invoke

    methodSignature

    The signature of the method to invoke

    arguments

    The arguments to provide to the method

    jdiArguments

    Optional arguments to provide custom settings to the method invocation

    returns

    The resulting value of the invocation

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  32. def isAbstract: Boolean

    Permalink

    Indicates whether or not this type is abstract.

    Indicates whether or not this type is abstract.

    returns

    True if abstract, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  33. def isArrayType: Boolean

    Permalink

    Returns whether or not this type represents an array type.

    Returns whether or not this type represents an array type.

    returns

    True if an array type, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  34. def isBooleanType: Boolean

    Permalink

    Returns whether or not this type represents a boolean.

    Returns whether or not this type represents a boolean.

    returns

    True if a boolean type, otherwise false

    Definition Classes
    TypeInfo
  35. def isByteType: Boolean

    Permalink

    Returns whether or not this type represents a byte.

    Returns whether or not this type represents a byte.

    returns

    True if a byte type, otherwise false

    Definition Classes
    TypeInfo
  36. def isCharType: Boolean

    Permalink

    Returns whether or not this type represents a character.

    Returns whether or not this type represents a character.

    returns

    True if a char type, otherwise false

    Definition Classes
    TypeInfo
  37. def isClassType: Boolean

    Permalink

    Returns whether or not this type represents a class type.

    Returns whether or not this type represents a class type.

    returns

    True if a class type, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  38. def isDoubleType: Boolean

    Permalink

    Returns whether or not this type represents a double.

    Returns whether or not this type represents a double.

    returns

    True if a double type, otherwise false

    Definition Classes
    TypeInfo
  39. def isEnumeration: Boolean

    Permalink

    Indicates whether or not this class is a Java enumeration.

    Indicates whether or not this class is a Java enumeration.

    returns

    True if it is an enumeration, otherwise false

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  40. def isFinal: Boolean

    Permalink

    Indicates whether or not this type is final.

    Indicates whether or not this type is final.

    returns

    True if final, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  41. def isFloatType: Boolean

    Permalink

    Returns whether or not this type represents a float.

    Returns whether or not this type represents a float.

    returns

    True if a float type, otherwise false

    Definition Classes
    TypeInfo
  42. def isInitialized: Boolean

    Permalink

    Indicates whether or not this type has been initialized.

    Indicates whether or not this type has been initialized. This value is the same as isPrepared for interfaces and is undefined for arrays and primitive types.

    returns

    True if initialized, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isIntegerType: Boolean

    Permalink

    Returns whether or not this type represents an integer.

    Returns whether or not this type represents an integer.

    returns

    True if an integer type, otherwise false

    Definition Classes
    TypeInfo
  45. def isInterfaceType: Boolean

    Permalink

    Returns whether or not this type represents an interface type.

    Returns whether or not this type represents an interface type.

    returns

    True if an interface type, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  46. def isJavaInfo: Boolean

    Permalink

    Returns whether or not this info profile represents the low-level Java implementation.

    Returns whether or not this info profile represents the low-level Java implementation.

    returns

    If true, this profile represents the low-level Java information, otherwise this profile represents something higher-level like Scala, Jython, or JRuby

    Definition Classes
    PureClassTypeInfoPureReferenceTypeInfoPureTypeInfoJavaInfo
  47. def isLongType: Boolean

    Permalink

    Returns whether or not this type represents a long.

    Returns whether or not this type represents a long.

    returns

    True if a long type, otherwise false

    Definition Classes
    TypeInfo
  48. def isNullType: Boolean

    Permalink

    Returns whether or not this type is for a value that is null.

    Returns whether or not this type is for a value that is null.

    returns

    True if representing the type of a null value, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  49. def isPrepared: Boolean

    Permalink

    Indicates whether or not this type's class has been prepared.

    Indicates whether or not this type's class has been prepared.

    returns

    True if prepared, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  50. def isPrimitiveType: Boolean

    Permalink

    Returns whether or not this type represents a primitive type.

    Returns whether or not this type represents a primitive type.

    returns

    True if a primitive type, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  51. def isReferenceType: Boolean

    Permalink

    Returns whether or not this type represents a reference type.

    Returns whether or not this type represents a reference type.

    returns

    True if a reference type, otherwise false

    Definition Classes
    PureTypeInfoTypeInfo
  52. def isShortType: Boolean

    Permalink

    Returns whether or not this type represents a short.

    Returns whether or not this type represents a short.

    returns

    True if a short type, otherwise false

    Definition Classes
    TypeInfo
  53. def isStatic: Boolean

    Permalink

    Indicates whether or not this type is static.

    Indicates whether or not this type is static.

    returns

    True if static, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  54. def isStringType: Boolean

    Permalink

    Returns whether or not this type represents a string.

    Returns whether or not this type represents a string.

    returns

    True if a string type, otherwise false

    Definition Classes
    TypeInfo
  55. def isVerified: Boolean

    Permalink

    Indicates whether or not this type has been verified.

    Indicates whether or not this type has been verified. This value is the same as isPrepared for interfaces and is undefined for arrays and primitive types.

    returns

    True if verified, otherwise false

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  56. def locationsOfLine(line: Int): Seq[LocationInfo]

    Permalink

    Retrieves and returns all valid locations for a specific executable line within this type.

    Retrieves and returns all valid locations for a specific executable line within this type.

    returns

    The collection of location information

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  57. def majorVersion: Int

    Permalink

    Retrieves the major class version number defined in the class file format of the JVM specification.

    Retrieves the major class version number defined in the class file format of the JVM specification.

    returns

    The major version number

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  58. def methodOption(name: String, signature: String): Option[MethodInfo]

    Permalink

    Retrieves the single, non-abstract, visible method on this class with the matching name and JNI signature.

    Retrieves the single, non-abstract, visible method on this class with the matching name and JNI signature.

    name

    The name of the method

    signature

    The JNI signature of the method

    returns

    Some method if found, otherwise None

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  59. def methods(name: String): Seq[MethodInfo]

    Permalink

    Retrieves the visible methods with the matching name.

    Retrieves the visible methods with the matching name.

    name

    The name of the method to retrieve

    returns

    The collection of method info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  60. def minorVersion: Int

    Permalink

    Retrieves the minor class version number defined in the class file format of the JVM specification.

    Retrieves the minor class version number defined in the class file format of the JVM specification.

    returns

    The minor version number

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  61. def name: String

    Permalink

    Retrieves the fully-qualified class name of this type.

    Retrieves the fully-qualified class name of this type.

    returns

    The fully-qualified class name

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfoPureTypeInfoTypeInfo
  62. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  63. def nestedTypes: Seq[ReferenceTypeInfo]

    Permalink

    Retrieves reference type information for all types declared inside this tupe.

    Retrieves reference type information for all types declared inside this tupe.

    returns

    The collection of reference type information

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  64. def newArrayTypeProfile(arrayType: ArrayType): ArrayTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  65. def newClassLoaderProfile(classLoaderReference: ClassLoaderReference): ClassLoaderInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  66. def newClassObjectProfile(classObjectReference: ClassObjectReference): ClassObjectInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  67. def newClassTypeProfile(classType: ClassType): ClassTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  68. def newFieldProfile(field: Field, offsetIndex: Int): FieldVariableInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  69. def newFieldProfile(field: Field): FieldVariableInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  70. def newInstance(thread: ThreadInfo, constructorName: String, constructorSignature: String, arguments: Seq[Any], jdiArguments: JDIArgument*): ObjectInfo

    Permalink

    Creates a new instance of the class.

    Creates a new instance of the class.

    thread

    The thread within which to create the new instance

    constructorName

    The name of the constructor to invoke

    constructorSignature

    The signature of the constructor to invoke

    arguments

    The arguments to provide to the constructor

    jdiArguments

    Optional arguments to provide custom settings to the constructor invocation

    returns

    The instantiated object

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  71. def newInstance(thread: ThreadInfo, constructor: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): ObjectInfo

    Permalink

    Creates a new instance of the class.

    Creates a new instance of the class.

    thread

    The thread within which to create the new instance

    constructor

    The constructor method of the class to invoke

    arguments

    The arguments to provide to the constructor

    jdiArguments

    Optional arguments to provide custom settings to the constructor invocation

    returns

    The instantiated object

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  72. def newInterfaceTypeProfile(interfaceType: InterfaceType): InterfaceTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  73. def newLocationProfile(location: Location): LocationInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  74. def newMethodProfile(method: Method): MethodInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  75. def newObjectProfile(objectReference: ObjectReference, virtualMachine: VirtualMachine): ObjectInfo

    Permalink
    Attributes
    protected
  76. def newObjectProfile(objectReference: ObjectReference): ObjectInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureReferenceTypeInfo
  77. def newPrimitiveTypeProfile(voidType: VoidType): PrimitiveTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  78. def newPrimitiveTypeProfile(primitiveType: PrimitiveType): PrimitiveTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  79. def newReferenceTypeProfile(referenceType: ReferenceType): ReferenceTypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  80. def newTypeProfile(_type: Type): TypeInfo

    Permalink
    Attributes
    protected
    Definition Classes
    PureTypeInfo
  81. def newValueProfile(value: Value): ValueInfo

    Permalink
    Attributes
    protected
  82. def newVirtualMachine(): VirtualMachine

    Permalink
    Attributes
    protected
  83. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  85. val scalaVirtualMachine: ScalaVirtualMachine

    Permalink

    The high-level virtual machine containing the class type

    The high-level virtual machine containing the class type

    Definition Classes
    PureClassTypeInfoPureReferenceTypeInfoPureTypeInfoCommonInfo
  86. def signature: String

    Permalink

    Represents the JNI-style signature for this type.

    Represents the JNI-style signature for this type. Primitives have the signature of their corresponding class representation such as "I" for Integer.TYPE.

    returns

    The JNI-style signature

    Definition Classes
    PureReferenceTypeInfoPureTypeInfoTypeInfo
  87. def sourceDebugExtension: String

    Permalink

    Retrieves the source debug extension for this type.

    Retrieves the source debug extension for this type.

    returns

    The source debug extension

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  88. def sourceNames: Seq[String]

    Permalink

    Retrieves all identifying names for the source(s) corresponding to this type.

    Retrieves all identifying names for the source(s) corresponding to this type.

    returns

    The collection of identifying names

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  89. def sourcePaths: Seq[String]

    Permalink

    Retrieves all source paths corresponding to this type.

    Retrieves all source paths corresponding to this type.

    returns

    The collection of source paths

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  90. def subclasses: Seq[ClassTypeInfo]

    Permalink

    Returns the loaded, direct subclasses of this class.

    Returns the loaded, direct subclasses of this class.

    returns

    The collection of class type info profiles

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  91. def superclassOption: Option[ClassTypeInfo]

    Permalink

    Returns the superclass of this class.

    Returns the superclass of this class.

    returns

    Some class type info if the super class exists, otherwise None

    Definition Classes
    PureClassTypeInfoClassTypeInfo
  92. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  93. def toArrayType: ArrayTypeInfo

    Permalink

    Returns the type as an array type (profile).

    Returns the type as an array type (profile).

    returns

    The array type profile wrapping this type

    Definition Classes
    PureTypeInfoTypeInfo
    Annotations
    @throws( ... )
  94. def toClassType: ClassTypeInfo

    Permalink

    Returns the type as an class type (profile).

    Returns the type as an class type (profile).

    returns

    The class type profile wrapping this type

    Definition Classes
    PureTypeInfoTypeInfo
    Annotations
    @throws( ... )
  95. def toInterfaceType: InterfaceTypeInfo

    Permalink

    Returns the type as an interface type (profile).

    Returns the type as an interface type (profile).

    returns

    The interface type profile wrapping this type

    Definition Classes
    PureTypeInfoTypeInfo
    Annotations
    @throws( ... )
  96. def toJavaInfo: ClassTypeInfo

    Permalink

    Converts the current profile instance to a representation of low-level Java instead of a higher-level abstraction.

    Converts the current profile instance to a representation of low-level Java instead of a higher-level abstraction.

    returns

    The profile instance providing an implementation corresponding to Java

    Definition Classes
    PureClassTypeInfoClassTypeInfoPureReferenceTypeInfoReferenceTypeInfoPureTypeInfoTypeInfoCommonInfoJavaInfo
  97. def toJdiInstance: ClassType

    Permalink

    Returns the JDI representation this profile instance wraps.

    Returns the JDI representation this profile instance wraps.

    returns

    The JDI instance

    Definition Classes
    PureClassTypeInfoClassTypeInfoPureReferenceTypeInfoReferenceTypeInfoPureTypeInfoTypeInfoCommonInfo
  98. def toPrettyString: String

    Permalink

    Returns a string presenting a better human-readable description of the JDI instance.

    Returns a string presenting a better human-readable description of the JDI instance.

    returns

    The human-readable description

    Definition Classes
    ReferenceTypeInfoTypeInfoCommonInfo
  99. def toPrimitiveType: PrimitiveTypeInfo

    Permalink

    Returns the type as an primitive type (profile).

    Returns the type as an primitive type (profile).

    returns

    The primitive type profile wrapping this type

    Definition Classes
    PureTypeInfoTypeInfo
    Annotations
    @throws( ... )
  100. def toReferenceType: ReferenceTypeInfo

    Permalink

    Returns the type as an reference type (profile).

    Returns the type as an reference type (profile).

    returns

    The reference type profile wrapping this type

    Definition Classes
    PureTypeInfoTypeInfo
    Annotations
    @throws( ... )
  101. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  102. def tryAllFields: Try[Seq[FieldVariableInfo]]

    Permalink

    Retrieves all fields declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    Retrieves all fields declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    returns

    Success containing the collection of fields as variable info profiles, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  103. def tryAllInstances: Try[Seq[ObjectInfo]]

    Permalink

    Retrieves all reachable instances of this type.

    Retrieves all reachable instances of this type.

    returns

    Success containing the collection of object instances, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  104. def tryAllInterfaces: Try[Seq[InterfaceTypeInfo]]

    Permalink

    Returns a collection of type information for interfaces directly and indirectly implemented by this class.

    Returns a collection of type information for interfaces directly and indirectly implemented by this class.

    returns

    Success containing the collection of interface type info profiles, otherwise a failure

    Definition Classes
    ClassTypeInfo
  105. def tryAllLineLocations: Try[Seq[LocationInfo]]

    Permalink

    Retrieves and returns all valid locations for executable lines within this type.

    Retrieves and returns all valid locations for executable lines within this type.

    returns

    Success containing the collection of location information, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  106. def tryAllMethods: Try[Seq[MethodInfo]]

    Permalink

    Retrieves all methods declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    Retrieves all methods declared in this type, its superclasses, implemented interfaces, and superinterfaces.

    returns

    Success containing the collection of methods as method info profiles, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  107. def tryCastLocal(value: String): Try[Any]

    Permalink

    Attempts to cast the provided string to this type, performing any necessary data conversions.

    Attempts to cast the provided string to this type, performing any necessary data conversions.

    value

    The value to transform

    returns

    The resulting value from the transformation

    Definition Classes
    TypeInfo
  108. def tryCastLocal(value: AnyVal): Try[Any]

    Permalink

    Attempts to cast the provided primitive to this type, performing any necessary data conversions.

    Attempts to cast the provided primitive to this type, performing any necessary data conversions.

    value

    The value to transform

    returns

    Success containing the resulting value from the transformation, otherwise a failure

    Definition Classes
    TypeInfo
  109. def tryField(name: String): Try[FieldVariableInfo]

    Permalink

    Retrieves the visible field with the matching name.

    Retrieves the visible field with the matching name.

    name

    The name of the field to retrieve

    returns

    Success containing the field as a variable info profile, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  110. def tryIndexedField(name: String): Try[FieldVariableInfo]

    Permalink

    Retrieves the visible field with the matching name with offset index information.

    Retrieves the visible field with the matching name with offset index information.

    name

    The name of the field to retrieve

    returns

    Success containing the field as a variable info profile, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  111. def tryIndexedVisibleFields: Try[Seq[FieldVariableInfo]]

    Permalink

    Retrieves unhidden and unambiguous fields in this type.

    Retrieves unhidden and unambiguous fields in this type. Fields hidden by other fields with the same name (in a more recently inherited class) are not included. Fields that are ambiguously multiply inherited are also not included. All other inherited fields are included. Offset index informatin is included.

    returns

    Success containing the collection of fields as variable info profiles, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  112. def tryInstances(maxInstances: Long): Try[Seq[ObjectInfo]]

    Permalink

    Retrieves reachable instances of this type.

    Retrieves reachable instances of this type.

    maxInstances

    The maximum number of instances to return, or zero to get all reachable instances

    returns

    Success containing the collection of object instances, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  113. def tryInterfaces: Try[Seq[InterfaceTypeInfo]]

    Permalink

    Returns a collection of interfaces directly implemented by this class.

    Returns a collection of interfaces directly implemented by this class.

    returns

    Success containing the collection of interface type info profiles, otherwise a failure

    Definition Classes
    ClassTypeInfo
  114. def tryInvokeStaticMethod(thread: ThreadInfo, methodName: String, methodSignature: String, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ValueInfo]

    Permalink

    Invokes the class' static method with matching name and arguments.

    Invokes the class' static method with matching name and arguments.

    thread

    The thread within which to invoke the method

    methodName

    The name of the method to invoke

    methodSignature

    The signature of the method to invoke

    arguments

    The arguments to provide to the method

    jdiArguments

    Optional arguments to provide custom settings to the method invocation

    returns

    Success containing the resulting value of the invocation, otherwise a failure

    Definition Classes
    ClassTypeInfo
  115. def tryInvokeStaticMethod(thread: ThreadInfo, method: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ValueInfo]

    Permalink

    Invokes the class' static method.

    Invokes the class' static method.

    thread

    The thread within which to invoke the method

    method

    The method of the class to invoke

    arguments

    The arguments to provide to the method

    jdiArguments

    Optional arguments to provide custom settings to the method invocation

    returns

    The resulting value of the invocation

    Definition Classes
    ClassTypeInfo
  116. def tryLocationsOfLine(line: Int): Try[Seq[LocationInfo]]

    Permalink

    Retrieves and returns all valid locations for a specific executable line within this type.

    Retrieves and returns all valid locations for a specific executable line within this type.

    returns

    Success containing the collection of location information, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  117. def tryMajorVersion: Try[Int]

    Permalink

    Retrieves the major class version number defined in the class file format of the JVM specification.

    Retrieves the major class version number defined in the class file format of the JVM specification.

    returns

    Success containing the major version number, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  118. def tryMethod(name: String, signature: String): Try[MethodInfo]

    Permalink

    Retrieves the single, non-abstract, visible method on this class with the matching name and JNI signature.

    Retrieves the single, non-abstract, visible method on this class with the matching name and JNI signature.

    name

    The name of the method

    signature

    The JNI signature of the method

    returns

    Success containing the method if found, otherwise a failure

    Definition Classes
    ClassTypeInfo
  119. def tryMethods(name: String): Try[Seq[MethodInfo]]

    Permalink

    Retrieves the visible method with the matching name.

    Retrieves the visible method with the matching name.

    name

    The name of the method to retrieve

    returns

    Success containing the method as a method info profile, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  120. def tryMinorVersion: Try[Int]

    Permalink

    Retrieves the minor class version number defined in the class file format of the JVM specification.

    Retrieves the minor class version number defined in the class file format of the JVM specification.

    returns

    Success containing the minor version number, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  121. def tryNewInstance(thread: ThreadInfo, constructor: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ObjectInfo]

    Permalink

    Creates a new instance of the class.

    Creates a new instance of the class.

    thread

    The thread within which to create the new instance

    constructor

    The constructor method of the class to invoke

    arguments

    The arguments to provide to the constructor

    jdiArguments

    Optional arguments to provide custom settings to the constructor invocation

    returns

    Success containing the instantiated object, otherwise a failure

    Definition Classes
    ClassTypeInfo
  122. def tryNewInstance(thread: ThreadInfo, constructorName: String, constructorSignature: String, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ObjectInfo]

    Permalink

    Invokes the class' static method with matching name and arguments.

    Invokes the class' static method with matching name and arguments.

    thread

    The thread within which to invoke the method

    constructorName

    The name of the constructor to invoke

    constructorSignature

    The signature of the constructor to invoke

    arguments

    The arguments to provide to the constructor

    jdiArguments

    Optional arguments to provide custom settings to the constructor invocation

    returns

    Success containing the resulting value of the invocation, otherwise a failure

    Definition Classes
    ClassTypeInfo
  123. def trySourceDebugExtension: Try[String]

    Permalink

    Retrieves the source debug extension for this type.

    Retrieves the source debug extension for this type.

    returns

    Success containing the source debug extension, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  124. def trySourceNames: Try[Seq[String]]

    Permalink

    Retrieves all identifying names for the source(s) corresponding to this type.

    Retrieves all identifying names for the source(s) corresponding to this type.

    returns

    Success containing the collection of identifying names, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  125. def trySourcePaths: Try[Seq[String]]

    Permalink

    Retrieves all source paths corresponding to this type.

    Retrieves all source paths corresponding to this type.

    returns

    Success containing the collection of source paths, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  126. def tryToArrayType: Try[ArrayTypeInfo]

    Permalink

    Returns the type as an array type (profile).

    Returns the type as an array type (profile).

    returns

    Success containing the array type profile wrapping this type, otherwise a failure

    Definition Classes
    TypeInfo
  127. def tryToClassType: Try[ClassTypeInfo]

    Permalink

    Returns the type as an class type (profile).

    Returns the type as an class type (profile).

    returns

    Success containing the class type profile wrapping this type, otherwise a failure

    Definition Classes
    TypeInfo
  128. def tryToInterfaceType: Try[InterfaceTypeInfo]

    Permalink

    Returns the type as an interface type (profile).

    Returns the type as an interface type (profile).

    returns

    Success containing the interface type profile wrapping this type, otherwise a failure

    Definition Classes
    TypeInfo
  129. def tryToPrimitiveType: Try[PrimitiveTypeInfo]

    Permalink

    Returns the type as an primitive type (profile).

    Returns the type as an primitive type (profile).

    returns

    Success containing the primitive type profile wrapping this type, otherwise a failure

    Definition Classes
    TypeInfo
  130. def tryToReferenceType: Try[ReferenceTypeInfo]

    Permalink

    Returns the type as an reference type (profile).

    Returns the type as an reference type (profile).

    returns

    Success containing the reference type profile wrapping this type, otherwise a failure

    Definition Classes
    TypeInfo
  131. def tryVisibleFields: Try[Seq[FieldVariableInfo]]

    Permalink

    Retrieves unhidden and unambiguous fields in this type.

    Retrieves unhidden and unambiguous fields in this type. Fields hidden by other fields with the same name (in a more recently inherited class) are not included. Fields that are ambiguously multiply inherited are also not included. All other inherited fields are included.

    returns

    Success containing the collection of fields as variable info profiles, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  132. def tryVisibleMethods: Try[Seq[MethodInfo]]

    Permalink

    Retrieves unhidden and unambiguous methods in this type.

    Retrieves unhidden and unambiguous methods in this type. Methods hidden by other methods with the same name (in a more recently inherited class) are not included. Methods that are ambiguously multiply inherited are also not included. All other inherited methods are included.

    returns

    Success containing the collection of methods as method info profiles, otherwise a failure

    Definition Classes
    ReferenceTypeInfo
  133. def visibleFields: Seq[FieldVariableInfo]

    Permalink

    Retrieves unhidden and unambiguous fields in this type.

    Retrieves unhidden and unambiguous fields in this type. Fields hidden by other fields with the same name (in a more recently inherited class) are not included. Fields that are ambiguously multiply inherited are also not included. All other inherited fields are included.

    returns

    The collection of fields as variable info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
    Note

    Provides offset index information!

  134. def visibleMethods: Seq[MethodInfo]

    Permalink

    Retrieves unhidden and unambiguous methods in this type.

    Retrieves unhidden and unambiguous methods in this type. Methods hidden by other methods with the same name (in a more recently inherited class) are not included. Methods that are ambiguously multiply inherited are also not included. All other inherited methods are included.

    returns

    The collection of methods as method info profiles

    Definition Classes
    PureReferenceTypeInfoReferenceTypeInfo
  135. final def wait(): Unit

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

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

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

Inherited from ClassTypeInfo

Inherited from PureReferenceTypeInfo

Inherited from ReferenceTypeInfo

Inherited from PureTypeInfo

Inherited from TypeInfo

Inherited from CommonInfo

Inherited from JavaInfo

Inherited from AnyRef

Inherited from Any

Ungrouped