delegatingbytecodevisitor.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 953 行 · 第 1/2 页

JAVA
953
字号
/*
 * $Id: DelegatingBytecodeVisitor.java,v 1.4 2004/02/24 08:04:23 epr Exp $
 */
package org.jnode.vm.bytecode;

import org.jnode.vm.classmgr.VmConstClass;
import org.jnode.vm.classmgr.VmConstFieldRef;
import org.jnode.vm.classmgr.VmConstIMethodRef;
import org.jnode.vm.classmgr.VmConstMethodRef;
import org.jnode.vm.classmgr.VmConstString;
import org.jnode.vm.classmgr.VmMethod;


/**
 * @author Ewout Prangsma (epr@users.sourceforge.net)
 */
public class DelegatingBytecodeVisitor extends BytecodeVisitor {

    private final BytecodeVisitor delegate;
    
    public DelegatingBytecodeVisitor(BytecodeVisitor delegate) {
        this.delegate = delegate;
    }
    
    public final BytecodeVisitor getDelegate() {
        return delegate;
    }
    
    /**
     * 
     */
    public void endInstruction() {
        delegate.endInstruction();
    }
    /**
     * 
     */
    public void endMethod() {
        delegate.endMethod();
    }
    /**
     * @see java.lang.Object#equals(java.lang.Object)
     */
    public boolean equals(Object obj) {
        return delegate.equals(obj);
    }
    /**
     * @see java.lang.Object#hashCode()
     */
    public int hashCode() {
        return delegate.hashCode();
    }
    /**
     * @param parser
     */
    public void setParser(BytecodeParser parser) {
        delegate.setParser(parser);
    }
    /**
     * @param address
     */
    public void startInstruction(int address) {
        delegate.startInstruction(address);
    }
    /**
     * @param method
     */
    public void startMethod(VmMethod method) {
        delegate.startMethod(method);
    }
    /**
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return delegate.toString();
    }
    /**
     * 
     */
    public void visit_aaload() {
        delegate.visit_aaload();
    }
    /**
     * 
     */
    public void visit_aastore() {
        delegate.visit_aastore();
    }
    /**
     * 
     */
    public void visit_aconst_null() {
        delegate.visit_aconst_null();
    }
    /**
     * @param index
     */
    public void visit_aload(int index) {
        delegate.visit_aload(index);
    }
    /**
     * @param clazz
     */
    public void visit_anewarray(VmConstClass clazz) {
        delegate.visit_anewarray(clazz);
    }
    /**
     * 
     */
    public void visit_areturn() {
        delegate.visit_areturn();
    }
    /**
     * 
     */
    public void visit_arraylength() {
        delegate.visit_arraylength();
    }
    /**
     * @param index
     */
    public void visit_astore(int index) {
        delegate.visit_astore(index);
    }
    /**
     * 
     */
    public void visit_athrow() {
        delegate.visit_athrow();
    }
    /**
     * 
     */
    public void visit_baload() {
        delegate.visit_baload();
    }
    /**
     * 
     */
    public void visit_bastore() {
        delegate.visit_bastore();
    }
    /**
     * 
     */
    public void visit_caload() {
        delegate.visit_caload();
    }
    /**
     * 
     */
    public void visit_castore() {
        delegate.visit_castore();
    }
    /**
     * @param clazz
     */
    public void visit_checkcast(VmConstClass clazz) {
        delegate.visit_checkcast(clazz);
    }
    /**
     * 
     */
    public void visit_d2f() {
        delegate.visit_d2f();
    }
    /**
     * 
     */
    public void visit_d2i() {
        delegate.visit_d2i();
    }
    /**
     * 
     */
    public void visit_d2l() {
        delegate.visit_d2l();
    }
    /**
     * 
     */
    public void visit_dadd() {
        delegate.visit_dadd();
    }
    /**
     * 
     */
    public void visit_daload() {
        delegate.visit_daload();
    }
    /**
     * 
     */
    public void visit_dastore() {
        delegate.visit_dastore();
    }
    /**
     * 
     */
    public void visit_dcmpg() {
        delegate.visit_dcmpg();
    }
    /**
     * 
     */
    public void visit_dcmpl() {
        delegate.visit_dcmpl();
    }
    /**
     * @param value
     */
    public void visit_dconst(double value) {
        delegate.visit_dconst(value);
    }
    /**
     * 
     */
    public void visit_ddiv() {
        delegate.visit_ddiv();
    }
    /**
     * @param index
     */
    public void visit_dload(int index) {
        delegate.visit_dload(index);
    }
    /**
     * 
     */
    public void visit_dmul() {
        delegate.visit_dmul();
    }
    /**
     * 
     */
    public void visit_dneg() {
        delegate.visit_dneg();
    }
    /**
     * 
     */
    public void visit_drem() {
        delegate.visit_drem();
    }
    /**
     * 
     */
    public void visit_dreturn() {
        delegate.visit_dreturn();
    }
    /**
     * @param index
     */
    public void visit_dstore(int index) {
        delegate.visit_dstore(index);
    }
    /**
     * 
     */
    public void visit_dsub() {
        delegate.visit_dsub();
    }
    /**
     * 
     */
    public void visit_dup() {
        delegate.visit_dup();
    }
    /**
     * 
     */
    public void visit_dup_x1() {
        delegate.visit_dup_x1();
    }
    /**
     * 
     */
    public void visit_dup_x2() {
        delegate.visit_dup_x2();
    }
    /**
     * 
     */
    public void visit_dup2() {
        delegate.visit_dup2();
    }
    /**
     * 
     */
    public void visit_dup2_x1() {
        delegate.visit_dup2_x1();
    }
    /**
     * 
     */
    public void visit_dup2_x2() {
        delegate.visit_dup2_x2();
    }
    /**
     * 
     */
    public void visit_f2d() {
        delegate.visit_f2d();
    }
    /**
     * 
     */
    public void visit_f2i() {
        delegate.visit_f2i();
    }
    /**
     * 
     */
    public void visit_f2l() {
        delegate.visit_f2l();
    }
    /**
     * 
     */
    public void visit_fadd() {
        delegate.visit_fadd();
    }
    /**
     * 
     */
    public void visit_faload() {
        delegate.visit_faload();
    }
    /**
     * 
     */
    public void visit_fastore() {
        delegate.visit_fastore();
    }
    /**
     * 
     */
    public void visit_fcmpg() {
        delegate.visit_fcmpg();
    }
    /**
     * 
     */
    public void visit_fcmpl() {
        delegate.visit_fcmpl();
    }
    /**
     * @param value
     */
    public void visit_fconst(float value) {
        delegate.visit_fconst(value);
    }
    /**
     * 
     */
    public void visit_fdiv() {
        delegate.visit_fdiv();
    }
    /**
     * @param index
     */
    public void visit_fload(int index) {
        delegate.visit_fload(index);
    }
    /**
     * 
     */
    public void visit_fmul() {
        delegate.visit_fmul();
    }
    /**
     * 
     */
    public void visit_fneg() {
        delegate.visit_fneg();
    }
    /**
     * 
     */
    public void visit_frem() {
        delegate.visit_frem();
    }
    /**
     * 
     */
    public void visit_freturn() {
        delegate.visit_freturn();
    }
    /**
     * @param index
     */
    public void visit_fstore(int index) {
        delegate.visit_fstore(index);
    }
    /**
     * 
     */
    public void visit_fsub() {
        delegate.visit_fsub();
    }
    /**
     * @param fieldRef
     */
    public void visit_getfield(VmConstFieldRef fieldRef) {
        delegate.visit_getfield(fieldRef);
    }
    /**
     * @param fieldRef
     */
    public void visit_getstatic(VmConstFieldRef fieldRef) {
        delegate.visit_getstatic(fieldRef);
    }
    /**
     * @param address
     */
    public void visit_goto(int address) {
        delegate.visit_goto(address);
    }
    /**
     * 
     */
    public void visit_i2b() {
        delegate.visit_i2b();
    }
    /**
     * 
     */
    public void visit_i2c() {
        delegate.visit_i2c();
    }
    /**
     * 
     */
    public void visit_i2d() {
        delegate.visit_i2d();
    }
    /**
     * 
     */
    public void visit_i2f() {
        delegate.visit_i2f();
    }
    /**
     * 
     */
    public void visit_i2l() {
        delegate.visit_i2l();
    }
    /**
     * 
     */
    public void visit_i2s() {
        delegate.visit_i2s();
    }
    /**
     * 
     */
    public void visit_iadd() {
        delegate.visit_iadd();
    }
    /**
     * 
     */
    public void visit_iaload() {
        delegate.visit_iaload();
    }
    /**
     * 
     */
    public void visit_iand() {
        delegate.visit_iand();
    }
    /**
     * 
     */
    public void visit_iastore() {
        delegate.visit_iastore();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?