public class InstructionInfo extends Object implements Opcodes, Instruction
| 构造器和说明 |
|---|
InstructionInfo(byte instCode,
Object[] instParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object[] |
getArrays()
获取 字符串数据
|
Boolean |
getBoolean(int index)
获取 布尔数据
|
byte |
getInstCode()
获取指令码。
|
int |
getInt(int index)
获取 数字数据
|
Number |
getNumber(int index)
获取 数字数据
|
String |
getString(int index)
获取 字符串数据
|
boolean |
replaceLabel()
将 Label 替换为本身标记的行号。
|
String |
toString() |
public InstructionInfo(byte instCode,
Object[] instParam)
public byte getInstCode()
getInstCode 在接口中 Instructionpublic String getString(int index)
getString 在接口中 Instructionpublic Boolean getBoolean(int index)
getBoolean 在接口中 Instructionpublic Number getNumber(int index)
getNumber 在接口中 Instructionpublic int getInt(int index)
getInt 在接口中 Instructionpublic Object[] getArrays()
getArrays 在接口中 Instructionpublic boolean replaceLabel()
public String toString()
toString 在接口中 InstructiontoString 在类中 ObjectCopyright © 2020. All rights reserved.