class PureStringInfo extends PureObjectInfo with StringInfo
Represents a pure implementation of an array profile that adds no custom logic on top of the standard JDI.
- Alphabetic
- By Inheritance
- PureStringInfo
- StringInfo
- PureObjectInfo
- ObjectInfo
- PureValueInfo
- ValueInfo
- CommonInfo
- JavaInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PureStringInfo(scalaVirtualMachine: ScalaVirtualMachine, infoProducer: InfoProducer, _stringReference: StringReference)(_virtualMachine: VirtualMachine = _stringReference.virtualMachine(), _referenceType: ReferenceType = _stringReference.referenceType())
- scalaVirtualMachine
The high-level virtual machine containing the array
- infoProducer
The producer of info-based profile instances
- _stringReference
The reference to the underlying JDI string
- _virtualMachine
The virtual machine used to mirror local values on the remote JVM
- _referenceType
The reference type for this array
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
- PureStringInfo → PureObjectInfo
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
field(name: String): FieldVariableInfo
Returns the object's field with the specified name.
Returns the object's field with the specified name.
- name
The name of the field
- returns
The profile wrapping the field
- Definition Classes
- ObjectInfo
- Annotations
- @throws( ... )
-
def
fieldOption(name: String): Option[FieldVariableInfo]
Returns the object's field with the specified name.
Returns the object's field with the specified name.
- name
The name of the field
- returns
Some profile wrapping the field, or None if doesn't exist
- Definition Classes
- PureObjectInfo → ObjectInfo
-
def
fields: Seq[FieldVariableInfo]
Returns all visible fields contained in this object.
Returns all visible fields contained in this object.
- returns
The profiles wrapping the visible fields in this object
- Definition Classes
- PureObjectInfo → ObjectInfo
- Note
Provides no offset index information!
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
indexedField(name: String): FieldVariableInfo
Returns the object's field with the specified name with offset index information.
Returns the object's field with the specified name with offset index information.
- name
The name of the field
- returns
The profile wrapping the field
- Definition Classes
- ObjectInfo
- Annotations
- @throws( ... )
-
def
indexedFieldOption(name: String): Option[FieldVariableInfo]
Returns the object's field with the specified name with offset index information.
Returns the object's field with the specified name with offset index information.
- name
The name of the field
- returns
Some profile wrapping the field, or None if doesn't exist
- Definition Classes
- PureObjectInfo → ObjectInfo
-
def
indexedFields: Seq[FieldVariableInfo]
Returns all visible fields contained in this object with offset index.
Returns all visible fields contained in this object with offset index.
- returns
The profiles wrapping the visible fields in this object
- Definition Classes
- PureObjectInfo → ObjectInfo
-
val
infoProducer: InfoProducer
- Attributes
- protected
- Definition Classes
- PureStringInfo → PureObjectInfo → PureValueInfo
-
def
invoke(thread: ThreadInfo, method: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): ValueInfo
Invokes the object's method.
Invokes the object's method.
- thread
The thread within which to invoke the method
- method
The method of the object 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
- Definition Classes
- PureObjectInfo → ObjectInfo
-
def
invoke(thread: ThreadInfo, methodName: String, parameterTypeNames: Seq[String], arguments: Seq[Any], jdiArguments: JDIArgument*): ValueInfo
Invokes the object's method with matching name and arguments.
Invokes the object's method with matching name and arguments.
- thread
The thread within which to invoke the method
- methodName
The name of the method to invoke
- parameterTypeNames
The names of the parameter types 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
- Definition Classes
- ObjectInfo
- Annotations
- @throws( ... )
- Exceptions thrown
AssertionError
When the parameter type and argument counts are not equivalent
-
def
invoke(thread: ThreadInfo, methodName: String, arguments: Seq[Any], jdiArguments: JDIArgument*): ValueInfo
Invokes the object's method with matching name and arguments.
Invokes the object's method with matching name and arguments.
- thread
The thread within which to invoke the method
- methodName
The name 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
- Definition Classes
- ObjectInfo
-
def
isArray: Boolean
Returns whether or not this value represents an array.
Returns whether or not this value represents an array.
- returns
True if an array, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isClassLoader: Boolean
Returns whether or not this value represents a class loader.
Returns whether or not this value represents a class loader.
- returns
True if a class loader, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isClassObject: Boolean
Returns whether or not this value represents a class object.
Returns whether or not this value represents a class object.
- returns
True if a class object, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
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
- PureStringInfo → PureObjectInfo → PureValueInfo → JavaInfo
-
def
isNull: Boolean
Returns whether or not this value is null.
Returns whether or not this value is null.
- returns
True if null, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isObject: Boolean
Returns whether or not this value represents an object.
Returns whether or not this value represents an object.
- returns
True if an object, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isPrimitive: Boolean
Returns whether or not this value represents a primitive.
Returns whether or not this value represents a primitive.
- returns
True if a primitive, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isString: Boolean
Returns whether or not this value represents a string.
Returns whether or not this value represents a string.
- returns
True if a string, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isThread: Boolean
Returns whether or not this value represents a thread.
Returns whether or not this value represents a thread.
- returns
True if a thread, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isThreadGroup: Boolean
Returns whether or not this value represents a thread group.
Returns whether or not this value represents a thread group.
- returns
True if a thread group, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
isVoid: Boolean
Returns whether or not this value is void.
Returns whether or not this value is void.
- returns
True if void, otherwise false
- Definition Classes
- PureValueInfo → ValueInfo
-
def
method(name: String, parameterTypeNames: String*): MethodInfo
Returns the object's method with the specified name.
Returns the object's method with the specified name.
- name
The name of the method
- parameterTypeNames
The fully-qualified type names of the parameters of the method to find
- returns
The profile wrapping the method
- Definition Classes
- ObjectInfo
- Annotations
- @throws( ... )
-
def
methodOption(name: String, parameterTypeNames: String*): Option[MethodInfo]
Returns the object's method with the specified name.
Returns the object's method with the specified name.
- name
The name of the method
- parameterTypeNames
The fully-qualified type names of the parameters of the method to find
- returns
Some profile wrapping the method, otherwise None if doesn't exist
- Definition Classes
- PureObjectInfo → ObjectInfo
-
def
methods: Seq[MethodInfo]
Returns all visible methods contained in this object.
Returns all visible methods contained in this object.
- returns
The profiles wrapping the visible methods in this object
- Definition Classes
- PureObjectInfo → ObjectInfo
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newArrayProfile(arrayReference: ArrayReference): ArrayInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newClassLoaderProfile(classLoaderReference: ClassLoaderReference): ClassLoaderInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newClassObjectProfile(classObjectReference: ClassObjectReference): ClassObjectInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newFieldProfile(field: Field, offsetIndex: Int): FieldVariableInfo
- Attributes
- protected
- Definition Classes
- PureObjectInfo
-
def
newFieldProfile(field: Field): FieldVariableInfo
- Attributes
- protected
- Definition Classes
- PureObjectInfo
-
def
newMethodProfile(method: Method): MethodInfo
- Attributes
- protected
- Definition Classes
- PureObjectInfo
-
def
newObjectProfile(objectReference: ObjectReference): ObjectInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newPrimitiveProfile(voidValue: VoidValue): PrimitiveInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newPrimitiveProfile(primitiveValue: PrimitiveValue): PrimitiveInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newStringProfile(stringReference: StringReference): StringInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newThreadGroupProfile(threadGroupReference: ThreadGroupReference): ThreadGroupInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newThreadProfile(threadReference: ThreadReference): ThreadInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newTypeCheckerProfile(): TypeChecker
- Attributes
- protected
- Definition Classes
- PureObjectInfo
-
def
newTypeProfile(_type: Type): TypeInfo
- Attributes
- protected
- Definition Classes
- PureValueInfo
-
def
newValueProfile(value: Value): ValueInfo
- Attributes
- protected
- Definition Classes
- PureObjectInfo
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
referenceType: ReferenceTypeInfo
Returns the reference type information for this object.
Returns the reference type information for this object.
- returns
The reference type information
- Definition Classes
- PureObjectInfo → ObjectInfo
- Note
Returns the specific type of this object, not any interface or superclass that it inherits. So, val x: AnyRef = "a string" would yield the reference type for String, not AnyRef.
-
val
scalaVirtualMachine: ScalaVirtualMachine
- Definition Classes
- PureStringInfo → PureObjectInfo → PureValueInfo → CommonInfo
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toArrayInfo: ArrayInfo
Returns the value as an array (profile).
Returns the value as an array (profile).
- returns
The array profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toClassLoaderInfo: ClassLoaderInfo
Returns the value as a class loader (profile).
Returns the value as a class loader (profile).
- returns
The class loader profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toClassObjectInfo: ClassObjectInfo
Returns the value as a class object (profile).
Returns the value as a class object (profile).
- returns
The class object profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toJavaInfo: StringInfo
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
- PureStringInfo → StringInfo → PureObjectInfo → ObjectInfo → PureValueInfo → ValueInfo → CommonInfo → JavaInfo
-
def
toJdiInstance: StringReference
Returns the JDI representation this profile instance wraps.
Returns the JDI representation this profile instance wraps.
- returns
The JDI instance
- Definition Classes
- PureStringInfo → StringInfo → PureObjectInfo → ObjectInfo → PureValueInfo → ValueInfo → CommonInfo
-
def
toLocalValue: Any
Returns the value as a value local to this JVM.
Returns the value as a value local to this JVM.
- returns
The value as a local instance
- Definition Classes
- PureValueInfo → ValueInfo
-
def
toObjectInfo: ObjectInfo
Returns the value as an object (profile).
Returns the value as an object (profile).
- returns
The object profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
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
- StringInfo → ObjectInfo → ValueInfo → CommonInfo
-
def
toPrimitiveInfo: PrimitiveInfo
Returns the value as a primitive (profile).
Returns the value as a primitive (profile).
- returns
The primitive profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toStringInfo: StringInfo
Returns the value as a string (profile).
Returns the value as a string (profile).
- returns
The string profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toThreadGroupInfo: ThreadGroupInfo
Returns the value as a thread group (profile).
Returns the value as a thread group (profile).
- returns
The thread group profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
toThreadInfo: ThreadInfo
Returns the value as a thread (profile).
Returns the value as a thread (profile).
- returns
The thread profile wrapping this value
- Definition Classes
- PureValueInfo → ValueInfo
- Annotations
- @throws( ... )
-
def
tryField(name: String): Try[FieldVariableInfo]
Returns the object's field with the specified name.
Returns the object's field with the specified name.
- name
The name of the field
- returns
Success containing the profile wrapping the field, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryFields: Try[Seq[FieldVariableInfo]]
Returns all visible fields contained in this object.
Returns all visible fields contained in this object.
- returns
Success containing the profiles wrapping the visible fields in this object, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryIndexedField(name: String): Try[FieldVariableInfo]
Returns the object's field with the specified name with offset index information.
Returns the object's field with the specified name with offset index information.
- name
The name of the field
- returns
Success containing the profile wrapping the field, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryIndexedFields: Try[Seq[FieldVariableInfo]]
Returns all visible fields contained in this object with offset index.
Returns all visible fields contained in this object with offset index.
- returns
Success containing the profiles wrapping the visible fields in this object, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryInvoke(thread: ThreadInfo, method: MethodInfo, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ValueInfo]
Invokes the object's method.
Invokes the object's method.
- thread
The thread within which to invoke the method
- method
The method of the object 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
- Definition Classes
- ObjectInfo
-
def
tryInvoke(thread: ThreadInfo, methodName: String, parameterTypeNames: Seq[String], arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ValueInfo]
Invokes the object's method with matching name and arguments.
Invokes the object's method with matching name and arguments.
- thread
The thread within which to invoke the method
- methodName
The name of the method to invoke
- parameterTypeNames
The names of the parameter types 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
- Definition Classes
- ObjectInfo
-
def
tryInvoke(thread: ThreadInfo, methodName: String, arguments: Seq[Any], jdiArguments: JDIArgument*): Try[ValueInfo]
Invokes the object's method with matching name and arguments.
Invokes the object's method with matching name and arguments.
- thread
The thread within which to invoke the method
- methodName
The name 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
- Definition Classes
- ObjectInfo
-
def
tryMethod(name: String, parameterTypeNames: String*): Try[MethodInfo]
Returns the object's method with the specified name.
Returns the object's method with the specified name.
- name
The name of the method
- parameterTypeNames
The fully-qualified type names of the parameters of the method to find
- returns
Success containing the profile wrapping the method, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryMethods: Try[Seq[MethodInfo]]
Returns all visible methods contained in this object.
Returns all visible methods contained in this object.
- returns
Success containing the profiles wrapping the visible methods in this object, otherwise a failure
- Definition Classes
- ObjectInfo
-
def
tryToArrayInfo: Try[ArrayInfo]
Returns the value as an array (profile).
Returns the value as an array (profile).
- returns
Success containing the array profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToClassLoaderInfo: Try[ClassLoaderInfo]
Returns the value as a class loader (profile).
Returns the value as a class loader (profile).
- returns
Success containing the class loader profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToClassObjectInfo: Try[ClassObjectInfo]
Returns the value as a class object (profile).
Returns the value as a class object (profile).
- returns
Success containing the class object profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToLocalValue: Try[Any]
Returns the value as a value local to this JVM.
Returns the value as a value local to this JVM.
- returns
Success containing the value as a local instance, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToObjectInfo: Try[ObjectInfo]
Returns the value as an object (profile).
Returns the value as an object (profile).
- returns
Success containing the object profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToPrimitiveInfo: Try[PrimitiveInfo]
Returns the value as a primitive (profile).
Returns the value as a primitive (profile).
- returns
Success containing the primitive profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToStringInfo: Try[StringInfo]
Returns the value as a string (profile).
Returns the value as a string (profile).
- returns
Success containing the string profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToThreadGroupInfo: Try[ThreadGroupInfo]
Returns the value as a thread group (profile).
Returns the value as a thread group (profile).
- returns
Success containing the thread group profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryToThreadInfo: Try[ThreadInfo]
Returns the value as a thread (profile).
Returns the value as a thread (profile).
- returns
Success containing the thread profile wrapping this value, otherwise a failure
- Definition Classes
- ValueInfo
-
def
tryTypeInfo: Try[TypeInfo]
Returns the type information for the value.
Returns the type information for the value.
- returns
Success containing the profile containing type information, otherwise a failure
- Definition Classes
- ValueInfo
-
def
typeInfo: ReferenceTypeInfo
Returns the type information for the object.
Returns the type information for the object.
- returns
The profile containing type information
- Definition Classes
- PureObjectInfo → ObjectInfo → PureValueInfo → ValueInfo
-
def
uniqueId: Long
Represents the unique id of this object.
Represents the unique id of this object.
- returns
The unique id as a long
- Definition Classes
- PureObjectInfo → ObjectInfo
-
def
uniqueIdHexString: String
Represents the unique id of this object in hex form.
Represents the unique id of this object in hex form. There is no 0x prepended to the value.
- returns
The raw hex string
- Definition Classes
- ObjectInfo
-
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( ... )