繁体   English   中英

JAVA:我有地址; 如何打印其内容?

[英]JAVA: I have the address; how can I print its contents?

简短版本:我有一个地址; 如何打印该地址的内容?

长版本:我有这个对象,该对象有两个字段 - dest 和 source。 来源作为地址提供给我:

 Field Detail
 dest
 public final VVarRef dest
 The variable/register to store the value into.

 source
 public final VMemRef source
 The memory location being read. 

我需要知道那个地址是什么。

查看类VMemRef的定义/文档。

更新:根据 API 文档链接,类VMemRef有两个嵌套的子类, VMemRef.GlobalVMemRef.Stack 因此,您必须确定它使用的是哪个instanceof ,转换为该类并使用其特定内容。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM