class Scala210FieldInfo extends PureFieldInfo
Represents an implementation of a field profile that adds Scala 2.10 specific debug logic.
- Alphabetic
- By Inheritance
- Scala210FieldInfo
- PureFieldInfo
- PureCreateInfoProfile
- JDIHelperMethods
- Logging
- FieldVariableInfo
- VariableInfo
- CommonInfo
- JavaInfo
- CreateInfoProfile
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Scala210FieldInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, _container: Either[ObjectReference, ReferenceType], _field: Field)(_virtualMachine: VirtualMachine)
Creates a new Scala 2.10 field information profile with no offset index.
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
-
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
-
implicit
class
LoggerExtras
extends AnyRef
- Definition Classes
- Logging
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
_virtualMachine: VirtualMachine
- Attributes
- protected
- Definition Classes
- Scala210FieldInfo → PureFieldInfo → JDIHelperMethods
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createNewValueProfile(value: Value): ValueInfo
- Attributes
- protected
- Definition Classes
- PureCreateInfoProfile
-
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
- PureCreateInfoProfile → CreateInfoProfile
-
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
- PureCreateInfoProfile → CreateInfoProfile
-
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
- PureFieldInfo → FieldVariableInfo
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
infoProducer: InfoProducer
- Attributes
- protected
- Definition Classes
- Scala210FieldInfo → PureFieldInfo → PureCreateInfoProfile
-
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
- PureFieldInfo → VariableInfo
-
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
- PureFieldInfo → VariableInfo
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- Scala210FieldInfo → PureFieldInfo → JavaInfo
-
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
- PureFieldInfo → VariableInfo
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
name: String
Returns the name of the variable.
Returns the name of the variable.
- returns
The name of the variable
- Definition Classes
- Scala210FieldInfo → PureFieldInfo → VariableInfo
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newObjectProfile(objectReference: ObjectReference): ObjectInfo
- Attributes
- protected
- Definition Classes
- PureFieldInfo
-
def
newReferenceTypeProfile(referenceType: ReferenceType): ReferenceTypeInfo
- Attributes
- protected
- Definition Classes
- PureFieldInfo
-
def
newTypeProfile(_type: Type): TypeInfo
- Attributes
- protected
- Definition Classes
- PureFieldInfo
-
def
newValueProfile(value: Value): ValueInfo
- Attributes
- protected
- Definition Classes
- PureFieldInfo
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
offsetIndex: Int
- Definition Classes
- Scala210FieldInfo → PureFieldInfo → VariableInfo
-
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
- PureFieldInfo → FieldVariableInfo
-
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
-
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
-
val
scalaVirtualMachine: ScalaVirtualMachine
- Definition Classes
- Scala210FieldInfo → PureFieldInfo → PureCreateInfoProfile → CommonInfo
-
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
-
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
-
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
- PureFieldInfo → VariableInfo
-
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
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- PureFieldInfo → FieldVariableInfo → VariableInfo → CommonInfo → JavaInfo
-
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
- PureFieldInfo → VariableInfo → CommonInfo
-
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
- VariableInfo → CommonInfo
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- PureFieldInfo → VariableInfo
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
- PureFieldInfo → VariableInfo
-
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
- PureFieldInfo → VariableInfo
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )