trait ClassObjectInfo extends ObjectInfo with CommonInfo
Represents the interface for "class object"-based interaction.
- Alphabetic
- By Inheritance
- ClassObjectInfo
- ObjectInfo
- ValueInfo
- CommonInfo
- JavaInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
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
- ObjectInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- JavaInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- ObjectInfo
-
abstract
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
- 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.
-
abstract
def
reflectedType: ReferenceTypeInfo
Retrieves the reference type information corresponding to this class object.
Retrieves the reference type information corresponding to this class object.
- returns
The reference type information
-
abstract
def
scalaVirtualMachine: ScalaVirtualMachine
Returns the Scala virtual machine containing this instance.
Returns the Scala virtual machine containing this instance.
- returns
The Scala virtual machine instance
- Definition Classes
- CommonInfo
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
def
toJavaInfo: ClassObjectInfo
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
- ClassObjectInfo → ObjectInfo → ValueInfo → CommonInfo → JavaInfo
-
abstract
def
toJdiInstance: ClassObjectReference
Returns the JDI representation this profile instance wraps.
Returns the JDI representation this profile instance wraps.
- returns
The JDI instance
- Definition Classes
- ClassObjectInfo → ObjectInfo → ValueInfo → CommonInfo
-
abstract
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
- ValueInfo
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
def
toStringInfo: StringInfo
Returns the value as an string (profile).
Returns the value as an string (profile).
- returns
The string profile wrapping this value
- Definition Classes
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ValueInfo
- Annotations
- @throws( ... )
-
abstract
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
- ObjectInfo → ValueInfo
-
abstract
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
- ObjectInfo
Concrete 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
-
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
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
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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( ... )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- ObjectInfo → ValueInfo → CommonInfo
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
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( ... )