Trait/Object

org.scaladebugger.api.lowlevel.classes

ClassManager

Related Docs: object ClassManager | package classes

Permalink

trait ClassManager extends AnyRef

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

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def allClasses: Seq[ReferenceType]

    Permalink

    Retrieves a list of all available (cached) classes.

    Retrieves a list of all available (cached) classes.

    returns

    The collection of reference types

  2. abstract def allFileNames: Seq[String]

    Permalink

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

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

    returns

    The collection of file names

  3. abstract def classesWithName(className: String): Seq[ReferenceType]

    Permalink

    Retrieves all class references associated with the provided fully-qualified class name.

    Retrieves all class references associated with the provided fully-qualified class name.

    className

    The fully-qualified class name

    returns

    The collection of reference types representing the class

  4. abstract def fileNameForReferenceType(referenceType: ReferenceType): String

    Permalink

    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

  5. abstract def linesAndLocationsForFile(fileName: String): Option[Map[Int, Seq[Location]]]

    Permalink

    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

  6. abstract def refreshAllClasses(): Unit

    Permalink

    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.

  7. abstract def refreshClass(referenceType: ReferenceType): Unit

    Permalink

    Refresh a single class given the reference type.

    Refresh a single class given the reference type.

    referenceType

    The reference type used for the refresh

  8. abstract def underlyingReferencesForFile(fileName: String): Option[Seq[ReferenceType]]

    Permalink

    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

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 allFileNamesWithExtension(extension: String): Seq[String]

    Permalink

    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

  5. def allJavaFileNames: Seq[String]

    Permalink

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

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

    returns

    The collection of file names

  6. def allScalaFileNames: Seq[String]

    Permalink

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

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

    returns

    The collection of file names

  7. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fieldsWithName(className: String, fieldName: String): Seq[Field]

    Permalink

    Determines whether or not there is a field with the provided name.

    Determines whether or not there is a field with the provided name.

    className

    The fully-qualified class name of the class whose methods to inspect

    fieldName

    The name of the field to check

    returns

    True if the method exists, otherwise false

  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasClassWithName(className: String): Boolean

    Permalink

    Determines whether or not there is a class with the provided fully-qualified class name.

    Determines whether or not there is a class with the provided fully-qualified class name.

    className

    The fully-qualified class name

    returns

    True if a class exists, otherwise false

  15. def hasFieldWithName(className: String, fieldName: String): Boolean

    Permalink

    Determines whether or not there is a field with the provided name.

    Determines whether or not there is a field with the provided name.

    className

    The fully-qualified class name of the class whose methods to inspect

    fieldName

    The name of the field to check

    returns

    True if the method exists, otherwise false

  16. def hasMethodWithName(className: String, methodName: String): Boolean

    Permalink

    Determines whether or not there is a method with the provided name.

    Determines whether or not there is a method with the provided name.

    className

    The fully-qualified class name of the class whose methods to inspect

    methodName

    The name of the method to check

    returns

    True if the method exists, otherwise false

  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. def methodsWithName(className: String, methodName: String): Seq[Method]

    Permalink

    Determines whether or not there is a method with the provided name.

    Determines whether or not there is a method with the provided name.

    className

    The fully-qualified class name of the class whose methods to inspect

    methodName

    The name of the method to check

    returns

    True if the method exists, otherwise false

  20. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped