org.objectweb.asm.commons
Class InstructionAdapter
public
class
InstructionAdapter
extends MethodAdapter
ASM: a very small and fast Java bytecode manipulation framework
Copyright (c) 2000-2005 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
Method Summary |
void | aconst(Object cst) |
void | add(Type type) |
void | aload(Type type) |
void | and(Type type) |
void | anew(Type type) |
void | areturn(Type t) |
void | arraylength() |
void | astore(Type type) |
void | athrow() |
void | cast(Type from, Type to) |
void | checkcast(Type type) |
void | cmpg(Type type) |
void | cmpl(Type type) |
void | dconst(double cst) |
void | div(Type type) |
void | dup() |
void | dup2() |
void | dup2X1() |
void | dup2X2() |
void | dupX1() |
void | dupX2() |
void | fconst(float cst) |
void | getfield(String owner, String name, String desc) |
void | getstatic(String owner, String name, String desc) |
void | goTo(Label label) |
void | iconst(int cst) |
void | ifacmpeq(Label label) |
void | ifacmpne(Label label) |
void | ifeq(Label label) |
void | ifge(Label label) |
void | ifgt(Label label) |
void | ificmpeq(Label label) |
void | ificmpge(Label label) |
void | ificmpgt(Label label) |
void | ificmple(Label label) |
void | ificmplt(Label label) |
void | ificmpne(Label label) |
void | ifle(Label label) |
void | iflt(Label label) |
void | ifne(Label label) |
void | ifnonnull(Label label) |
void | ifnull(Label label) |
void | iinc(int var, int increment) |
void | instanceOf(Type type) |
void | invokeinterface(String owner, String name, String desc) |
void | invokespecial(String owner, String name, String desc) |
void | invokestatic(String owner, String name, String desc) |
void | invokevirtual(String owner, String name, String desc) |
void | jsr(Label label) |
void | lcmp() |
void | lconst(long cst) |
void | load(int var, Type type) |
void | lookupswitch(Label dflt, int[] keys, Label[] labels) |
void | mark(Label label) |
void | monitorenter() |
void | monitorexit() |
void | mul(Type type) |
void | multianewarray(String desc, int dims) |
void | neg(Type type) |
void | newarray(Type type) |
void | nop() |
void | or(Type type) |
void | pop() |
void | pop2() |
void | putfield(String owner, String name, String desc) |
void | putstatic(String owner, String name, String desc) |
void | rem(Type type) |
void | ret(int var) |
void | shl(Type type) |
void | shr(Type type) |
void | store(int var, Type type) |
void | sub(Type type) |
void | swap() |
void | tableswitch(int min, int max, Label dflt, Label[] labels) |
void | tconst(Type type) |
void | ushr(Type type) |
void | visitFieldInsn(int opcode, String owner, String name, String desc) |
void | visitIincInsn(int var, int increment) |
void | visitInsn(int opcode) |
void | visitIntInsn(int opcode, int operand) |
void | visitJumpInsn(int opcode, Label label) |
void | visitLabel(Label label) |
void | visitLdcInsn(Object cst) |
void | visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) |
void | visitMethodInsn(int opcode, String owner, String name, String desc) |
void | visitMultiANewArrayInsn(String desc, int dims) |
void | visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) |
void | visitTypeInsn(int opcode, String type) |
void | visitVarInsn(int opcode, int var) |
void | xor(Type type) |
public static final
Type OBJECT_TYPE
public void aconst(Object cst)
public void add(
Type type)
public void aload(
Type type)
public void and(
Type type)
public void anew(
Type type)
public void areturn(
Type t)
public void arraylength()
public void astore(
Type type)
public void athrow()
public void checkcast(
Type type)
public void cmpg(
Type type)
public void cmpl(
Type type)
public void dconst(double cst)
public void div(
Type type)
public void dup()
public void dup2()
public void dup2X1()
public void dup2X2()
public void dupX1()
public void dupX2()
public void fconst(float cst)
public void getfield(String owner, String name, String desc)
public void getstatic(String owner, String name, String desc)
public void goTo(
Label label)
public void iconst(int cst)
public void ifacmpeq(
Label label)
public void ifacmpne(
Label label)
public void ifeq(
Label label)
public void ifge(
Label label)
public void ifgt(
Label label)
public void ificmpeq(
Label label)
public void ificmpge(
Label label)
public void ificmpgt(
Label label)
public void ificmple(
Label label)
public void ificmplt(
Label label)
public void ificmpne(
Label label)
public void ifle(
Label label)
public void iflt(
Label label)
public void ifne(
Label label)
public void ifnonnull(
Label label)
public void ifnull(
Label label)
public void iinc(int var, int increment)
public void instanceOf(
Type type)
public void invokeinterface(String owner, String name, String desc)
public void invokespecial(String owner, String name, String desc)
public void invokestatic(String owner, String name, String desc)
public void invokevirtual(String owner, String name, String desc)
public void jsr(
Label label)
public void lcmp()
public void lconst(long cst)
public void load(int var,
Type type)
public void lookupswitch(
Label dflt, int[] keys,
Label[] labels)
public void mark(
Label label)
public void monitorenter()
public void monitorexit()
public void mul(
Type type)
public void multianewarray(String desc, int dims)
public void neg(
Type type)
public void newarray(
Type type)
public void nop()
public void or(
Type type)
public void pop()
public void pop2()
public void putfield(String owner, String name, String desc)
public void putstatic(String owner, String name, String desc)
public void rem(
Type type)
public void ret(int var)
public void shl(
Type type)
public void shr(
Type type)
public void store(int var,
Type type)
public void sub(
Type type)
public void swap()
public void tableswitch(int min, int max,
Label dflt,
Label[] labels)
public void tconst(
Type type)
public void ushr(
Type type)
public void visitFieldInsn(int opcode, String owner, String name, String desc)
public void visitIincInsn(int var, int increment)
public void visitInsn(int opcode)
public void visitIntInsn(int opcode, int operand)
public void visitJumpInsn(int opcode,
Label label)
public void visitLabel(
Label label)
public void visitLdcInsn(Object cst)
public void visitLookupSwitchInsn(
Label dflt, int[] keys,
Label[] labels)
public void visitMethodInsn(int opcode, String owner, String name, String desc)
public void visitMultiANewArrayInsn(String desc, int dims)
public void visitTableSwitchInsn(int min, int max,
Label dflt,
Label[] labels)
public void visitTypeInsn(int opcode, String type)
public void visitVarInsn(int opcode, int var)
public void xor(
Type type)