由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Getting bytecode of a class
相关主题
self-modifying code?How to parse the bytes[]
type erasure weird problemJava basic concept(1)
Re: Help!: tomcat classloading problem入门Java CLASSPATH问题:
请问一个serialize class object下载运行的问题JSP is rubbish!
问个很简单的问题?请问java有办法隐藏source code吗
help about bitstream writerQuestion on J2EE container
怎样吧byte[]变成java.security.Key?Re: how to access the overrided fields o
怎麼得到字符串中的raw bytes?java的接口runnable
相关话题的讨论汇总
话题: bytecode话题: getting话题: class
进入Java版参与讨论
1 (共1页)
s***x
发帖数: 34
1
Hi all,
Does anyone know if there is an elegant way to get the bytecode
(as a byte array) of a class given a java.lang.Class object?
Thanks a lot!
xt
发帖数: 17532
2

I don't think you can do that.

【在 s***x 的大作中提到】
: Hi all,
: Does anyone know if there is an elegant way to get the bytecode
: (as a byte array) of a class given a java.lang.Class object?
: Thanks a lot!

1 (共1页)
进入Java版参与讨论
相关主题
java的接口runnable问个很简单的问题?
c,java, 数据库内核,数据库应用help about bitstream writer
求助大家 如何用 Eclipse 给一个project加入image怎样吧byte[]变成java.security.Key?
anyone using Scala ?怎麼得到字符串中的raw bytes?
self-modifying code?How to parse the bytes[]
type erasure weird problemJava basic concept(1)
Re: Help!: tomcat classloading problem入门Java CLASSPATH问题:
请问一个serialize class object下载运行的问题JSP is rubbish!
相关话题的讨论汇总
话题: bytecode话题: getting话题: class