org.scaladebugger.api.lowlevel.classes

StandardClassManager

class StandardClassManager extends ClassManager with JDIHelperMethods with Logging

Represents a manager of classes available on the virtual machine and their associated files.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardClassManager
  2. JDIHelperMethods
  3. Logging
  4. ClassManager
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StandardClassManager(_virtualMachine: VirtualMachine, loadClasses: Boolean = true)

    _virtualMachine

    The virtual machine whose classes to manage

    loadClasses

    Whether or not to load all classes from the virtual machine on initialization of this manager

Type Members

  1. implicit class LoggerExtras extends AnyRef

    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val _virtualMachine: VirtualMachine

    The virtual machine whose classes to manage

    The virtual machine whose classes to manage

    Attributes
    protected
    Definition Classes
    StandardClassManagerJDIHelperMethods
  7. def allClasses: Seq[ReferenceType]

    Retrieves a list of all available (cached) classes.

    Retrieves a list of all available (cached) classes.

    returns

    The collection of reference types

    Definition Classes
    StandardClassManagerClassManager
  8. def allFileNames: Seq[String]

    Retrieves a list of all available (cached) file names.

    Retrieves a list of all available (cached) file names.

    returns

    The collection of file names

    Definition Classes
    StandardClassManagerClassManager
  9. def allFileNamesWithExtension(extension: String): Seq[String]

    Retrieves a list of available (cached) file names with the provided extension.

    Retrieves a list of available (cached) file names with the provided extension.

    extension

    The extension of the file names (Scala/Java/etc)

    returns

    The collection of file names

    Definition Classes
    StandardClassManagerClassManager
  10. def allJavaFileNames: Seq[String]

    Retrieves a list of available (cached) Java file names.

    Retrieves a list of available (cached) Java file names.

    returns

    The collection of file names

    Definition Classes
    StandardClassManagerClassManager
  11. def allScalaFileNames: Seq[String]

    Retrieves a list of available (cached) Scala file names.

    Retrieves a list of available (cached) Scala file names.

    returns

    The collection of file names

    Definition Classes
    StandardClassManagerClassManager
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. def fileNameForReferenceType(referenceType: ReferenceType): String

    Retrieves the file name for the associated reference type.

    Retrieves the file name for the associated reference type.

    referenceType

    The reference type whose file name to retrieve

    returns

    The file name if it exists, otherwise ARRAY if the reference type is an array or UNKNOWN if it is not

    Definition Classes
    StandardClassManagerClassManager
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def findMainThread(virtualMachine: VirtualMachine): Option[ThreadReference]

    Determines the main executing thread of the specified virtual machine.

    Determines the main executing thread of the specified virtual machine.

    virtualMachine

    The virtual machine whose main thread to determine

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  19. def findMainThread(): Option[ThreadReference]

    Determines the main executing thread of the _virtualMachine instance.

    Determines the main executing thread of the _virtualMachine instance.

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  20. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  23. def linesAndLocationsForFile(fileName: String): Option[Map[Int, Seq[Location]]]

    Retrieves the mapping of lines to locations available for a specific file.

    Retrieves the mapping of lines to locations available for a specific file.

    fileName

    The name of the file whose lines and underlying locations to retrieve

    returns

    Some mapping of file lines to associated locations in underlying JVM classes if the file exists, otherwise None

    Definition Classes
    StandardClassManagerClassManager
  24. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def refreshAllClasses(): Unit

    Refresh the list of classes contained by the underlying virtual machine.

    Refresh the list of classes contained by the underlying virtual machine. Groups by source path, falling back to a standard "ARRAY" grouping for references to array structures and "UNKNOWN" for references with no source name or known name.

    Definition Classes
    StandardClassManagerClassManager
  29. def refreshClass(referenceType: ReferenceType): Unit

    Refresh a single class given the reference type.

    Refresh a single class given the reference type.

    referenceType

    The reference type used for the refresh

    Definition Classes
    StandardClassManagerClassManager
  30. def retrieveCommandLineArguments(): Seq[String]

    Retrieves the command line arguments used to start this virtual machine.

    Retrieves the command line arguments used to start this virtual machine.

    returns

    The sequence of arguments as strings

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  31. def retrieveMainClassName(): String

    Retrieves the fully-qualified class name that invoked the main method of this virtual machine.

    Retrieves the fully-qualified class name that invoked the main method of this virtual machine.

    returns

    The name as a string

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  32. def singleSourcePath(referenceType: ReferenceType): Option[String]

    Retrieves the convergent source path of the provided reference type.

    Retrieves the convergent source path of the provided reference type.

    referenceType

    The reference instance whose source path to determine

    returns

    Some source path as a string if convergent, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  33. def suspendThreadAndExecute[T](threadReference: ThreadReference)(thunk: ⇒ T): Try[T]

    Executes the provided block of code during the state of a suspended thread.

    Executes the provided block of code during the state of a suspended thread. The thread reference is synchronized to prevent another thread suspending the same thread reference.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  34. def suspendVirtualMachineAndExecute[T](thunk: ⇒ T): Try[T]

    Executes the provided block of code during the state of a suspended virtual machine.

    Executes the provided block of code during the state of a suspended virtual machine. The virtual machine is synchronized to prevent another thread suspending the same virtual machine.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def underlyingReferencesForFile(fileName: String): Option[Seq[ReferenceType]]

    Retrieves the list of underlying JVM classes for the specified file.

    Retrieves the list of underlying JVM classes for the specified file.

    fileName

    The name of the file whose underlying representations to retrieve

    returns

    Some list of underlying class references if the file name can be found, otherwise None

    Definition Classes
    StandardClassManagerClassManager
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JDIHelperMethods

Inherited from Logging

Inherited from ClassManager

Inherited from AnyRef

Inherited from Any

Ungrouped