|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.objectweb.asm.tree.analysis.BasicInterpreter
org.objectweb.asm.tree.analysis.BasicVerifier
public class BasicVerifier
An extended BasicInterpreter that checks that bytecode instructions
are correctly used.
| 字段摘要 |
|---|
| 构造方法摘要 | |
|---|---|
BasicVerifier()
|
|
| 方法摘要 | |
|---|---|
Value |
binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2)
Interprets a bytecode instruction with two arguments. |
Value |
copyOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction that moves a value on the stack or to or from local variables. |
protected Value |
getElementValue(Value objectArrayValue)
|
protected boolean |
isArrayValue(Value value)
|
protected boolean |
isSubTypeOf(Value value,
Value expected)
|
Value |
naryOperation(AbstractInsnNode insn,
List values)
Interprets a bytecode instruction with a variable number of arguments. |
Value |
ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3)
Interprets a bytecode instruction with three arguments. |
Value |
unaryOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction with a single argument. |
| 从类 org.objectweb.asm.tree.analysis.BasicInterpreter 继承的方法 |
|---|
merge, newOperation, newValue |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public BasicVerifier()
| 方法详细信息 |
|---|
public Value copyOperation(AbstractInsnNode insn,
Value value)
throws AnalyzerException
Interpreter 复制的描述
Interpreter 中的 copyOperationBasicInterpreter 中的 copyOperationinsn - the bytecode instruction to be interpreted.value - the value that must be moved by the instruction.
AnalyzerException - if an error occured during the interpretation.
public Value unaryOperation(AbstractInsnNode insn,
Value value)
throws AnalyzerException
Interpreter 复制的描述
Interpreter 中的 unaryOperationBasicInterpreter 中的 unaryOperationinsn - the bytecode instruction to be interpreted.value - the argument of the instruction to be interpreted.
AnalyzerException - if an error occured during the interpretation.
public Value binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2)
throws AnalyzerException
Interpreter 复制的描述
Interpreter 中的 binaryOperationBasicInterpreter 中的 binaryOperationinsn - the bytecode instruction to be interpreted.value1 - the first argument of the instruction to be interpreted.value2 - the second argument of the instruction to be interpreted.
AnalyzerException - if an error occured during the interpretation.
public Value ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3)
throws AnalyzerException
Interpreter 复制的描述
Interpreter 中的 ternaryOperationBasicInterpreter 中的 ternaryOperationinsn - the bytecode instruction to be interpreted.value1 - the first argument of the instruction to be interpreted.value2 - the second argument of the instruction to be interpreted.value3 - the third argument of the instruction to be interpreted.
AnalyzerException - if an error occured during the interpretation.
public Value naryOperation(AbstractInsnNode insn,
List values)
throws AnalyzerException
Interpreter 复制的描述
Interpreter 中的 naryOperationBasicInterpreter 中的 naryOperationinsn - the bytecode instruction to be interpreted.values - the arguments of the instruction to be interpreted.
AnalyzerException - if an error occured during the interpretation.protected boolean isArrayValue(Value value)
protected Value getElementValue(Value objectArrayValue)
throws AnalyzerException
AnalyzerException
protected boolean isSubTypeOf(Value value,
Value expected)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||