类的使用
org.beetl.ow2.asm.tree.AbstractInsnNode
使用AbstractInsnNode的程序包
程序包
说明
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides a framework for static code analysis based on the asm.tree package.
-
org.beetl.ow2.asm.tree中AbstractInsnNode的使用
修饰符和类型类说明classA node that represents a field instruction.classA node that represents a stack map frame.classA node that represents an IINC instruction.classA node that represents a zero operand instruction.classA node that represents an instruction with a single int operand.classA node that represents an invokedynamic instruction.classA node that represents a jump instruction.classAnAbstractInsnNodethat encapsulates aLabel.classA node that represents an LDC instruction.classA node that represents a line number declaration.classA node that represents a LOOKUPSWITCH instruction.classA node that represents a method instruction.classA node that represents a MULTIANEWARRAY instruction.classA node that represents a TABLESWITCH instruction.classA node that represents a type instruction.classA node that represents a local variable instruction.修饰符和类型方法说明abstract AbstractInsnNodeReturns a copy of this instruction.protected final AbstractInsnNodeAbstractInsnNode.cloneAnnotations(AbstractInsnNode insn) Clones the annotations of the given instruction into this instruction.InsnList.get(int index) Returns the instruction whose index is given.InsnList.getFirst()Returns the first instruction in this list.InsnList.getLast()Returns the last instruction in this list.AbstractInsnNode.getNext()Returns the next instruction in the list to which this instruction belongs, if any.AbstractInsnNode.getPrevious()Returns the previous instruction in the list to which this instruction belongs, if any.InsnList.toArray()Returns an array containing all of the instructions in this list.返回变量类型为AbstractInsnNode的类型的org.beetl.ow2.asm.tree中的方法修饰符和类型方法说明InsnList.iterator()Returns an iterator over the instructions in this list.InsnList.iterator(int index) Returns an iterator over the instructions in this list.参数类型为AbstractInsnNode的org.beetl.ow2.asm.tree中的方法修饰符和类型方法说明voidInsnList.add(AbstractInsnNode insn) Adds the given instruction to the end of this list.protected final AbstractInsnNodeAbstractInsnNode.cloneAnnotations(AbstractInsnNode insn) Clones the annotations of the given instruction into this instruction.booleanInsnList.contains(AbstractInsnNode insn) Returns true if the given instruction belongs to this list.intInsnList.indexOf(AbstractInsnNode insn) Returns the index of the given instruction in this list.voidInsnList.insert(AbstractInsnNode insn) Inserts the given instruction at the begining of this list.voidInsnList.insert(AbstractInsnNode location, AbstractInsnNode insn) Inserts the given instruction after the specified instruction.voidInsnList.insert(AbstractInsnNode location, InsnList insns) Inserts the given instructions after the specified instruction.voidInsnList.insertBefore(AbstractInsnNode location, AbstractInsnNode insn) Inserts the given instruction before the specified instruction.voidInsnList.insertBefore(AbstractInsnNode location, InsnList insns) Inserts the given instructions before the specified instruction.voidInsnList.remove(AbstractInsnNode insn) Removes the given instruction from this list.voidInsnList.set(AbstractInsnNode location, AbstractInsnNode insn) Replaces an instruction of this list with another instruction. -
org.beetl.ow2.asm.tree.analysis中AbstractInsnNode的使用
类型参数类型为AbstractInsnNode的org.beetl.ow2.asm.tree.analysis中的字段修饰符和类型字段说明final Set<AbstractInsnNode>SourceValue.insnsThe instructions that can produce this value.修饰符和类型方法说明BasicInterpreter.binaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2) BasicVerifier.binaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2) abstract VInterpreter.binaryOperation(AbstractInsnNode insn, V value1, V value2) Interprets a bytecode instruction with two arguments.SourceInterpreter.binaryOperation(AbstractInsnNode insn, SourceValue value1, SourceValue value2) BasicInterpreter.copyOperation(AbstractInsnNode insn, BasicValue value) BasicVerifier.copyOperation(AbstractInsnNode insn, BasicValue value) abstract VInterpreter.copyOperation(AbstractInsnNode insn, V value) Interprets a bytecode instruction that moves a value on the stack or to or from local variables.SourceInterpreter.copyOperation(AbstractInsnNode insn, SourceValue value) voidFrame.execute(AbstractInsnNode insn, Interpreter<V> interpreter) BasicInterpreter.naryOperation(AbstractInsnNode insn, List<? extends BasicValue> values) BasicVerifier.naryOperation(AbstractInsnNode insn, List<? extends BasicValue> values) abstract VInterpreter.naryOperation(AbstractInsnNode insn, List<? extends V> values) Interprets a bytecode instruction with a variable number of arguments.SourceInterpreter.naryOperation(AbstractInsnNode insn, List<? extends SourceValue> values) BasicInterpreter.newOperation(AbstractInsnNode insn) abstract VInterpreter.newOperation(AbstractInsnNode insn) Interprets a bytecode instruction without arguments.SourceInterpreter.newOperation(AbstractInsnNode insn) voidBasicInterpreter.returnOperation(AbstractInsnNode insn, BasicValue value, BasicValue expected) voidBasicVerifier.returnOperation(AbstractInsnNode insn, BasicValue value, BasicValue expected) abstract voidInterpreter.returnOperation(AbstractInsnNode insn, V value, V expected) Interprets a bytecode return instruction.voidSourceInterpreter.returnOperation(AbstractInsnNode insn, SourceValue value, SourceValue expected) BasicInterpreter.ternaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3) BasicVerifier.ternaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3) abstract VInterpreter.ternaryOperation(AbstractInsnNode insn, V value1, V value2, V value3) Interprets a bytecode instruction with three arguments.SourceInterpreter.ternaryOperation(AbstractInsnNode insn, SourceValue value1, SourceValue value2, SourceValue value3) BasicInterpreter.unaryOperation(AbstractInsnNode insn, BasicValue value) BasicVerifier.unaryOperation(AbstractInsnNode insn, BasicValue value) abstract VInterpreter.unaryOperation(AbstractInsnNode insn, V value) Interprets a bytecode instruction with a single argument.SourceInterpreter.unaryOperation(AbstractInsnNode insn, SourceValue value) 限定符构造器说明AnalyzerException(AbstractInsnNode node, String msg) AnalyzerException(AbstractInsnNode node, String msg, Object expected, Value encountered) AnalyzerException(AbstractInsnNode node, String msg, Throwable exception) SourceValue(int size, AbstractInsnNode insn) 类型变量类型为AbstractInsnNode的org.beetl.ow2.asm.tree.analysis中的构造器参数