MCPcopy Create free account
hub / github.com/Relph1119/JVMByPython / get_line_number

Method get_line_number

src/develop_code/rtda/heap/Method.py:132–147  ·  view source on GitHub ↗

和源文件名一样,并不是每个方法都有行号表。 如果方法没有行号表,查不到pc对应的行号,返回-1。 本地方法没有字节码,返回-2。 剩下情况调用LineNumberTableAttribute的get_line_number()方法查找行号。 :param pc: :return:

(self, pc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

is_nativeMethod · 0.95

Tested by

no test coverage detected