Trait

org.scaladebugger.api.profiles.traits.info

ClassTypeInfo

Related Doc: package info

Permalink

trait ClassTypeInfo extends ReferenceTypeInfo with TypeInfo

Represents the interface for retrieving class type-based information.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassTypeInfo
  2. ReferenceTypeInfo
  3. TypeInfo
  4. CommonInfo
  5. JavaInfo
  6. AnyRef
  7. 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

    Definition Classes
    ReferenceTypeInfo
  2. abstract 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

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

    Definition Classes
    ReferenceTypeInfo
  4. 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

    Definition Classes
    ReferenceTypeInfo
  5. 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

    Definition Classes
    ReferenceTypeInfo
  6. 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

    Definition Classes
    ReferenceTypeInfo
  7. 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

    Definition Classes
    ReferenceTypeInfo
  8. 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

    Definition Classes
    ReferenceTypeInfo
  9. 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

    Definition Classes
    ReferenceTypeInfo
  10. 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

    Definition Classes
    ReferenceTypeInfo
  11. 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

    Definition Classes
    ReferenceTypeInfo
  12. abstract 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

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

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

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

    Definition Classes
    ReferenceTypeInfo
  16. 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
  17. 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
  18. abstract 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

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

    Definition Classes
    ReferenceTypeInfo
  20. 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

    Definition Classes
    ReferenceTypeInfo
  21. 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
  22. 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
  23. 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
  24. 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

    Definition Classes
    ReferenceTypeInfo
  25. 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
  26. 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
  27. 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

    Definition Classes
    ReferenceTypeInfo
  28. 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

    Definition Classes
    ReferenceTypeInfo
  29. 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

    Definition Classes
    ReferenceTypeInfo
  30. 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

    Definition Classes
    ReferenceTypeInfo
  31. abstract 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

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

    Definition Classes
    ReferenceTypeInfo
  33. 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

    Definition Classes
    ReferenceTypeInfo
  34. 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
  35. 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

    Definition Classes
    ReferenceTypeInfo
  36. abstract 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

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

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

    Definition Classes
    ReferenceTypeInfo
  41. 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

    Definition Classes
    ReferenceTypeInfo
  42. 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

    Definition Classes
    ReferenceTypeInfo
  43. abstract 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

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

  45. 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
  46. 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
  47. 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
  48. abstract 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
    ClassTypeInfoReferenceTypeInfoTypeInfoCommonInfoJavaInfo
  49. abstract 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
    ClassTypeInfoReferenceTypeInfoTypeInfoCommonInfo
  50. 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
  51. 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
  52. 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

    Definition Classes
    ReferenceTypeInfo
  53. 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

    Definition Classes
    ReferenceTypeInfo

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

    Definition Classes
    ReferenceTypeInfo
  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

    Definition Classes
    ReferenceTypeInfo
    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

    Definition Classes
    ReferenceTypeInfo
    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

    Definition Classes
    ReferenceTypeInfo
    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

    Definition Classes
    ReferenceTypeInfo
  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

    Definition Classes
    ReferenceTypeInfo
  35. 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

  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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

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

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

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

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

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

  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. final def wait(): Unit

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

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

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

Inherited from ReferenceTypeInfo

Inherited from TypeInfo

Inherited from CommonInfo

Inherited from JavaInfo

Inherited from AnyRef

Inherited from Any

Ungrouped