org.scaladebugger.api.profiles.scala210.info

Scala210FieldInfo

class Scala210FieldInfo extends PureFieldInfo

Represents an implementation of a field profile that adds Scala 2.10 specific debug logic.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scala210FieldInfo
  2. PureFieldInfo
  3. PureCreateInfoProfile
  4. JDIHelperMethods
  5. Logging
  6. FieldVariableInfo
  7. VariableInfo
  8. CommonInfo
  9. JavaInfo
  10. CreateInfoProfile
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Scala210FieldInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, _container: Either[ObjectReference, ReferenceType], _field: Field)(_virtualMachine: VirtualMachine)

    Creates a new Scala 2.

    Creates a new Scala 2.10 field information profile with no offset index.

    scalaVirtualMachine

    The high-level virtual machine containing the field

    _container

    Either the object or reference type containing the field instance

    _field

    The reference to the underlying JDI field

    _virtualMachine

    The virtual machine used to mirror local values on the remote JVM

  2. new Scala210FieldInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, _container: Either[ObjectReference, ReferenceType], _field: Field, offsetIndex: Int)(_virtualMachine: VirtualMachine = _field.virtualMachine())

    scalaVirtualMachine

    The high-level virtual machine containing the field

    infoProducer

    The producer of info-based profile instances

    _container

    Either the object or reference type containing the field instance

    _field

    The reference to the underlying JDI field

    offsetIndex

    The index of the offset of this field relative to other fields in the same class (or -1 if not providing the information)

    _virtualMachine

    The virtual machine used to mirror local values on the remote JVM

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 used to mirror local values on the remote JVM

    The virtual machine used to mirror local values on the remote JVM

    Attributes
    protected
    Definition Classes
    Scala210FieldInfoPureFieldInfoJDIHelperMethods
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createNewValueProfile(value: Value): ValueInfo

    Attributes
    protected
    Definition Classes
    PureCreateInfoProfile
  10. def createRemotely(value: String): ValueInfo

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    The information about the remote value

    Definition Classes
    PureCreateInfoProfileCreateInfoProfile
  11. def createRemotely(value: AnyVal): ValueInfo

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    The information about the remote value

    Definition Classes
    PureCreateInfoProfileCreateInfoProfile
  12. def declaringTypeInfo: ReferenceTypeInfo

    Returns the type where this field was declared.

    Returns the type where this field was declared.

    returns

    The reference type information that declared this field

    Definition Classes
    PureFieldInfoFieldVariableInfo
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. 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
  17. 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
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hasOffsetIndex: Boolean

    Returns whether or not this variable was provided with its offset index.

    Returns whether or not this variable was provided with its offset index.

    returns

    True if an offset index exists, otherwise false

    Definition Classes
    VariableInfo
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. val infoProducer: InfoProducer

    The producer of info-based profile instances

    The producer of info-based profile instances

    Attributes
    protected
    Definition Classes
    Scala210FieldInfoPureFieldInfoPureCreateInfoProfile
  22. def isArgument: Boolean

    Returns whether or not this variable represents an argument.

    Returns whether or not this variable represents an argument.

    returns

    True if an argument, otherwise false

    Definition Classes
    PureFieldInfoVariableInfo
  23. def isField: Boolean

    Returns whether or not this variable represents a field.

    Returns whether or not this variable represents a field.

    returns

    True if a field, otherwise false

    Definition Classes
    PureFieldInfoVariableInfo
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def isJavaInfo: Boolean

    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
    Scala210FieldInfoPureFieldInfoJavaInfo
  26. def isLocal: Boolean

    Returns whether or not this variable represents a local variable.

    Returns whether or not this variable represents a local variable.

    returns

    True if a local variable, otherwise false

    Definition Classes
    PureFieldInfoVariableInfo
  27. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  28. def name: String

    Returns the name of the variable.

    Returns the name of the variable.

    returns

    The name of the variable

    Definition Classes
    Scala210FieldInfoPureFieldInfoVariableInfo
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. def newObjectProfile(objectReference: ObjectReference): ObjectInfo

    Attributes
    protected
    Definition Classes
    PureFieldInfo
  31. def newReferenceTypeProfile(referenceType: ReferenceType): ReferenceTypeInfo

    Attributes
    protected
    Definition Classes
    PureFieldInfo
  32. def newTypeProfile(_type: Type): TypeInfo

    Attributes
    protected
    Definition Classes
    PureFieldInfo
  33. def newValueProfile(value: Value): ValueInfo

    Attributes
    protected
    Definition Classes
    PureFieldInfo
  34. final def notify(): Unit

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

    Definition Classes
    AnyRef
  36. val offsetIndex: Int

    The index of the offset of this field relative to other fields in the same class (or -1 if not providing the information)

    The index of the offset of this field relative to other fields in the same class (or -1 if not providing the information)

    Definition Classes
    Scala210FieldInfoPureFieldInfoVariableInfo
  37. def parent: Either[ObjectInfo, ReferenceTypeInfo]

    Returns the parent that contains this field.

    Returns the parent that contains this field.

    returns

    The reference type information (if a static field) or object information (if a non-static field)

    Definition Classes
    PureFieldInfoFieldVariableInfo
  38. 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
  39. 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
  40. val scalaVirtualMachine: ScalaVirtualMachine

    The high-level virtual machine containing the field

    The high-level virtual machine containing the field

    Definition Classes
    Scala210FieldInfoPureFieldInfoPureCreateInfoProfileCommonInfo
  41. def setValue(value: String): ValueInfo

    Sets the string value of this variable.

    Sets the string value of this variable.

    value

    The new value for the variable

    returns

    The new remote value

    Definition Classes
    VariableInfo
  42. def setValue(value: AnyVal): ValueInfo

    Sets the primitive value of this variable.

    Sets the primitive value of this variable.

    value

    The new value for the variable

    returns

    The new remote value

    Definition Classes
    VariableInfo
  43. def setValueFromInfo(valueInfo: ValueInfo): ValueInfo

    Sets the value of this variable using info about another remote value.

    Sets the value of this variable using info about another remote value.

    valueInfo

    The remote value to set for the variable

    returns

    The info for the variable's new value

    Definition Classes
    PureFieldInfoVariableInfo
  44. 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
  45. 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
  46. 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
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toJavaInfo: FieldVariableInfo

    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
    PureFieldInfoFieldVariableInfoVariableInfoCommonInfoJavaInfo
  49. def toJdiInstance: Field

    Returns the JDI representation this profile instance wraps.

    Returns the JDI representation this profile instance wraps.

    returns

    The JDI instance

    Definition Classes
    PureFieldInfoVariableInfoCommonInfo
  50. def toPrettyString: String

    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
    VariableInfoCommonInfo
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def toValueInfo: ValueInfo

    Returns a profile representing the value of this variable.

    Returns a profile representing the value of this variable.

    returns

    The profile representing the value

    Definition Classes
    PureFieldInfoVariableInfo
  53. def tryCreateRemotely(value: String): Try[ValueInfo]

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    Success containing the information about the remote value, otherwise a failure

    Definition Classes
    CreateInfoProfile
  54. def tryCreateRemotely(value: AnyVal): Try[ValueInfo]

    Creates the provided value on the remote JVM.

    Creates the provided value on the remote JVM.

    value

    The value to create (mirror) on the remote JVM

    returns

    Success containing the information about the remote value, otherwise a failure

    Definition Classes
    CreateInfoProfile
  55. def tryDeclaringTypeInfo: Try[ReferenceTypeInfo]

    Returns the type where this field was declared.

    Returns the type where this field was declared.

    returns

    The reference type information that declared this field

    Definition Classes
    FieldVariableInfo
  56. def trySetValue(value: String): Try[ValueInfo]

    Sets the string value of this variable.

    Sets the string value of this variable.

    value

    The new value for the variable

    returns

    Success containing the new remote value, otherwise a failure

    Definition Classes
    VariableInfo
  57. def trySetValue(value: AnyVal): Try[ValueInfo]

    Sets the primitive value of this variable.

    Sets the primitive value of this variable.

    value

    The new value for the variable

    returns

    Success containing the new remote value, otherwise a failure

    Definition Classes
    VariableInfo
  58. def trySetValueFromInfo(valueInfo: ValueInfo): Try[ValueInfo]

    Sets the value of this variable using info about another remote value.

    Sets the value of this variable using info about another remote value.

    valueInfo

    The remote value to set for the variable

    returns

    Success containing the variable's value info, otherwise a failure

    Definition Classes
    VariableInfo
  59. def tryToValueInfo: Try[ValueInfo]

    Returns a profile representing the value of this variable.

    Returns a profile representing the value of this variable.

    returns

    Success containing the profile representing the value, otherwise a failure

    Definition Classes
    VariableInfo
  60. def tryTypeInfo: Try[TypeInfo]

    rsenkbeil3 Returns the type information for the variable.

    rsenkbeil3 Returns the type information for the variable.

    returns

    Success containing the profile containing type information, otherwise a failure

    Definition Classes
    VariableInfo
  61. def typeInfo: TypeInfo

    Returns the type information for the variable.

    Returns the type information for the variable.

    returns

    The profile containing type information

    Definition Classes
    PureFieldInfoVariableInfo
  62. def typeName: String

    Returns the name of the type representing the variable.

    Returns the name of the type representing the variable.

    returns

    The type name as a string

    Definition Classes
    PureFieldInfoVariableInfo
  63. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PureFieldInfo

Inherited from PureCreateInfoProfile

Inherited from JDIHelperMethods

Inherited from Logging

Inherited from FieldVariableInfo

Inherited from VariableInfo

Inherited from CommonInfo

Inherited from JavaInfo

Inherited from CreateInfoProfile

Inherited from AnyRef

Inherited from Any

Ungrouped