Trait

org.scaladebugger.api.profiles.traits.info

ReferenceTypeInfo

Related Doc: package info

Permalink

trait ReferenceTypeInfo extends CommonInfo with TypeInfo

Represents the interface for "reference type"-based interaction.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReferenceTypeInfo
  2. TypeInfo
  3. CommonInfo
  4. JavaInfo
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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

  2. abstract 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

  3. abstract 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

  4. abstract 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

  5. abstract 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

  6. abstract 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

  7. abstract 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

  8. abstract 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

  9. abstract 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

  10. abstract 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

  11. abstract 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

  12. abstract 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
    TypeInfo
  13. abstract 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
    TypeInfo
  14. abstract 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

  15. abstract 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

  16. abstract 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
    TypeInfo
  17. abstract 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
    JavaInfo
  18. abstract 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
    TypeInfo
  19. abstract 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

  20. abstract 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
    TypeInfo
  21. abstract 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
    TypeInfo
  22. abstract 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

  23. abstract 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

  24. abstract 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

  25. abstract 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

  26. abstract 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

  27. abstract 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

  28. abstract 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
    ReferenceTypeInfoTypeInfo
  29. abstract def nestedTypes: Seq[ReferenceTypeInfo]

    Permalink

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

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

    returns

    The collection of reference type information

  30. abstract def scalaVirtualMachine: ScalaVirtualMachine

    Permalink

    Returns the Scala virtual machine containing this instance.

    Returns the Scala virtual machine containing this instance.

    returns

    The Scala virtual machine instance

    Definition Classes
    CommonInfo
  31. abstract 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
    TypeInfo
  32. abstract 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

  33. abstract 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

  34. abstract 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

  35. abstract 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
    TypeInfo
  36. abstract 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
    TypeInfo
  37. abstract 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
    TypeInfo
  38. abstract def toJavaInfo: ReferenceTypeInfo

    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
    ReferenceTypeInfoTypeInfoCommonInfoJavaInfo
  39. abstract def toJdiInstance: ReferenceType

    Permalink

    Returns the JDI representation this profile instance wraps.

    Returns the JDI representation this profile instance wraps.

    returns

    The JDI instance

    Definition Classes
    ReferenceTypeInfoTypeInfoCommonInfo
  40. abstract 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
    TypeInfo
  41. abstract 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
    TypeInfo
  42. abstract 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

  43. abstract 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

Concrete 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 allInstances: Seq[ObjectInfo]

    Permalink

    Retrieves all reachable instances of this type.

    Retrieves all reachable instances of this type.

    returns

    The collection of object instances

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. 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( ... )
  7. 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( ... )
  8. 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

    Annotations
    @throws( ... )
  9. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. 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

    Annotations
    @throws( ... )
  13. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. 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

    Annotations
    @throws( ... )
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. 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
  24. 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
  25. 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
  26. 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
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. 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
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. 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

  34. 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

  35. 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

  36. 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

  37. 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
  38. 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
  39. 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

  40. 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

  41. 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

  42. 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

  43. 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

  44. 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

  45. 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

  46. 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

  47. 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

  48. 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

  49. 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

  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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

  56. 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

  57. final def wait(): Unit

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

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

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

Inherited from TypeInfo

Inherited from CommonInfo

Inherited from JavaInfo

Inherited from AnyRef

Inherited from Any

Ungrouped