- 所有超级接口:
-
Mirror
,ObjectReference
,Value
目标虚拟机中的字符串对象。StringReference是一个
ObjectReference
,额外提供了从目标虚拟机中获取字符串特定信息的访问权限。
- 自JDK版本:
- 1.3
-
Field Summary
Fields declared in interface com.sun.jdi.ObjectReference
INVOKE_NONVIRTUAL, INVOKE_SINGLE_THREADED
-
Method Summary
Methods declared in interface com.sun.jdi.Mirror
toString, virtualMachine
Methods declared in interface com.sun.jdi.ObjectReference
disableCollection, enableCollection, entryCount, equals, getValue, getValues, hashCode, invokeMethod, isCollected, owningThread, referenceType, referringObjects, setValue, uniqueID, waitingThreads
-
Method Details
-
value
String value()将StringReference作为字符串返回。返回的字符串等同于镜像字符串,但是是客户端虚拟机中的实体,可以像任何其他字符串一样进行操作。- 返回值:
- 字符串值。
-