blob: ee2bc199f66fc8125b1150d83bc8c70043a9a255 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.bcel.generic;
import java.util.Objects;
public class CountingVisitor implements Visitor {
private int aaload;
private int aastore;
private int aconstNull;
private int allocationInstruction;
private int aload;
private int anewarray;
private int areturn;
private int arithmeticInstruction;
private int arrayInstruction;
private int arraylength;
private int astore;
private int athrow;
private int baload;
private int bastore;
private int bipush;
private int branchInstruction;
private int breakpoint;
private int caload;
private int castore;
private int checkcast;
private int constantPushInstruction;
private int conversionInstruction;
private int cpInstruction;
private int d2F;
private int d2I;
private int d2L;
private int dadd;
private int daload;
private int dastore;
private int dcmpg;
private int dcmpl;
private int dconst;
private int ddiv;
private int dload;
private int dmul;
private int dneg;
private int drem;
private int dreturn;
private int dstore;
private int dsub;
private int dup;
private int dupX1;
private int dupX2;
private int dup2;
private int dup2X1;
private int dup2X2;
private int exceptionThrower;
private int f2D;
private int f2I;
private int f2L;
private int fadd;
private int faload;
private int fastore;
private int fcmpg;
private int fcmpl;
private int fconst;
private int fdiv;
private int fieldInstruction;
private int fieldOrMethod;
private int fload;
private int fmul;
private int fneg;
private int frem;
private int freturn;
private int fstore;
private int fsub;
private int getfield;
private int getstatic;
private int goTo;
private int gotoW;
private int gotoInstruction;
private int i2B;
private int i2C;
private int i2D;
private int i2F;
private int i2L;
private int i2S;
private int iadd;
private int iaload;
private int iand;
private int iastore;
private int iconst;
private int idiv;
private int ifAcmpeq;
private int ifAcmpne;
private int ifIcmpeq;
private int ifIcmpge;
private int ifIcmpgt;
private int ifIcmple;
private int ifIcmplt;
private int ifIcmpne;
private int ifeq;
private int ifge;
private int ifgt;
private int ifInstruction;
private int ifle;
private int iflt;
private int ifne;
private int ifnonnull;
private int ifnull;
private int iinc;
private int iload;
private int impdep1;
private int impdep2;
private int imul;
private int ineg;
private int instanceOf;
private int invokedynamic;
private int invokeInstruction;
private int invokeinterface;
private int invokespecial;
private int invokestatic;
private int invokevirtual;
private int ior;
private int irem;
private int ireturn;
private int ishl;
private int ishr;
private int istore;
private int isub;
private int iushr;
private int ixor;
private int jsr;
private int jsrW;
private int jsrInstruction;
private int l2D;
private int l2F;
private int l2I;
private int ladd;
private int laload;
private int land;
private int lastore;
private int lcmp;
private int lconst;
private int ldc;
private int ldc2W;
private int ldiv;
private int lload;
private int lmul;
private int lneg;
private int loadClass;
private int loadInstruction;
private int localVariableInstruction;
private int lookupswitch;
private int lor;
private int lrem;
private int lreturn;
private int lshl;
private int lshr;
private int lstore;
private int lsub;
private int lushr;
private int lxor;
private int monitorenter;
private int monitorexit;
private int multianewarray;
private int newCount; // "new" is reserved
private int newarray;
private int nop;
private int pop;
private int pop2;
private int popInstruction;
private int pushInstruction;
private int putfield;
private int putstatic;
private int ret;
private int returnCount; // "new" is reserved
private int returnInstruction;
private int saload;
private int sastore;
private int select;
private int sipush;
private int stackConsumer;
private int stackInstruction;
private int stackProducer;
private int storeInstruction;
private int swap;
private int tableswitch;
private int typedInstruction;
private int unconditionalBranch;
private int variableLengthInstruction;
@Override
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final CountingVisitor other = (CountingVisitor) obj;
return aaload == other.aaload && aastore == other.aastore && aconstNull == other.aconstNull && allocationInstruction == other.allocationInstruction
&& aload == other.aload && anewarray == other.anewarray && areturn == other.areturn && arithmeticInstruction == other.arithmeticInstruction
&& arrayInstruction == other.arrayInstruction && arraylength == other.arraylength && astore == other.astore && athrow == other.athrow
&& baload == other.baload && bastore == other.bastore && bipush == other.bipush && branchInstruction == other.branchInstruction
&& breakpoint == other.breakpoint && caload == other.caload && castore == other.castore && checkcast == other.checkcast
&& constantPushInstruction == other.constantPushInstruction && conversionInstruction == other.conversionInstruction
&& cpInstruction == other.cpInstruction && d2F == other.d2F && d2I == other.d2I && d2L == other.d2L && dadd == other.dadd
&& daload == other.daload && dastore == other.dastore && dcmpg == other.dcmpg && dcmpl == other.dcmpl && dconst == other.dconst
&& ddiv == other.ddiv && dload == other.dload && dmul == other.dmul && dneg == other.dneg && drem == other.drem && dreturn == other.dreturn
&& dstore == other.dstore && dsub == other.dsub && dup == other.dup && dup2 == other.dup2 && dup2X1 == other.dup2X1 && dup2X2 == other.dup2X2
&& dupX1 == other.dupX1 && dupX2 == other.dupX2 && exceptionThrower == other.exceptionThrower && f2D == other.f2D && f2I == other.f2I
&& f2L == other.f2L && fadd == other.fadd && faload == other.faload && fastore == other.fastore && fcmpg == other.fcmpg && fcmpl == other.fcmpl
&& fconst == other.fconst && fdiv == other.fdiv && fieldInstruction == other.fieldInstruction && fieldOrMethod == other.fieldOrMethod
&& fload == other.fload && fmul == other.fmul && fneg == other.fneg && frem == other.frem && freturn == other.freturn && fstore == other.fstore
&& fsub == other.fsub && getfield == other.getfield && getstatic == other.getstatic && goTo == other.goTo
&& gotoInstruction == other.gotoInstruction && gotoW == other.gotoW && i2B == other.i2B && i2C == other.i2C && i2D == other.i2D
&& i2F == other.i2F && i2L == other.i2L && i2S == other.i2S && iadd == other.iadd && iaload == other.iaload && iand == other.iand
&& iastore == other.iastore && iconst == other.iconst && idiv == other.idiv && ifAcmpeq == other.ifAcmpeq && ifAcmpne == other.ifAcmpne
&& ifIcmpeq == other.ifIcmpeq && ifIcmpge == other.ifIcmpge && ifIcmpgt == other.ifIcmpgt && ifIcmple == other.ifIcmple
&& ifIcmplt == other.ifIcmplt && ifIcmpne == other.ifIcmpne && ifInstruction == other.ifInstruction && ifeq == other.ifeq && ifge == other.ifge
&& ifgt == other.ifgt && ifle == other.ifle && iflt == other.iflt && ifne == other.ifne && ifnonnull == other.ifnonnull
&& ifnull == other.ifnull && iinc == other.iinc && iload == other.iload && impdep1 == other.impdep1 && impdep2 == other.impdep2
&& imul == other.imul && ineg == other.ineg && instanceOf == other.instanceOf && invokeInstruction == other.invokeInstruction
&& invokedynamic == other.invokedynamic && invokeinterface == other.invokeinterface && invokespecial == other.invokespecial
&& invokestatic == other.invokestatic && invokevirtual == other.invokevirtual && ior == other.ior && irem == other.irem
&& ireturn == other.ireturn && ishl == other.ishl && ishr == other.ishr && istore == other.istore && isub == other.isub && iushr == other.iushr
&& ixor == other.ixor && jsr == other.jsr && jsrInstruction == other.jsrInstruction && jsrW == other.jsrW && l2D == other.l2D
&& l2F == other.l2F && l2I == other.l2I && ladd == other.ladd && laload == other.laload && land == other.land && lastore == other.lastore
&& lcmp == other.lcmp && lconst == other.lconst && ldc == other.ldc && ldc2W == other.ldc2W && ldiv == other.ldiv && lload == other.lload
&& lmul == other.lmul && lneg == other.lneg && loadClass == other.loadClass && loadInstruction == other.loadInstruction
&& localVariableInstruction == other.localVariableInstruction && lookupswitch == other.lookupswitch && lor == other.lor && lrem == other.lrem
&& lreturn == other.lreturn && lshl == other.lshl && lshr == other.lshr && lstore == other.lstore && lsub == other.lsub && lushr == other.lushr
&& lxor == other.lxor && monitorenter == other.monitorenter && monitorexit == other.monitorexit && multianewarray == other.multianewarray
&& newCount == other.newCount && newarray == other.newarray && nop == other.nop && pop == other.pop && pop2 == other.pop2
&& popInstruction == other.popInstruction && pushInstruction == other.pushInstruction && putfield == other.putfield
&& putstatic == other.putstatic && ret == other.ret && returnCount == other.returnCount && returnInstruction == other.returnInstruction
&& saload == other.saload && sastore == other.sastore && select == other.select && sipush == other.sipush
&& stackConsumer == other.stackConsumer && stackInstruction == other.stackInstruction && stackProducer == other.stackProducer
&& storeInstruction == other.storeInstruction && swap == other.swap && tableswitch == other.tableswitch
&& typedInstruction == other.typedInstruction && unconditionalBranch == other.unconditionalBranch
&& variableLengthInstruction == other.variableLengthInstruction;
}
public int getAaload() {
return aaload;
}
public int getAastore() {
return aastore;
}
public int getAconstNull() {
return aconstNull;
}
public int getAllocationInstruction() {
return allocationInstruction;
}
public int getAload() {
return aload;
}
public int getAnewarray() {
return anewarray;
}
public int getAreturn() {
return areturn;
}
public int getArithmeticInstruction() {
return arithmeticInstruction;
}
public int getArrayInstruction() {
return arrayInstruction;
}
public int getArraylength() {
return arraylength;
}
public int getAstore() {
return astore;
}
public int getAthrow() {
return athrow;
}
public int getBaload() {
return baload;
}
public int getBastore() {
return bastore;
}
public int getBipush() {
return bipush;
}
public int getBranchInstruction() {
return branchInstruction;
}
public int getBreakpoint() {
return breakpoint;
}
public int getCaload() {
return caload;
}
public int getCastore() {
return castore;
}
public int getCheckcast() {
return checkcast;
}
public int getConstantPushInstruction() {
return constantPushInstruction;
}
public int getConversionInstruction() {
return conversionInstruction;
}
public int getCpInstruction() {
return cpInstruction;
}
public int getD2F() {
return d2F;
}
public int getD2I() {
return d2I;
}
public int getD2L() {
return d2L;
}
public int getDadd() {
return dadd;
}
public int getDaload() {
return daload;
}
public int getDastore() {
return dastore;
}
public int getDcmpg() {
return dcmpg;
}
public int getDcmpl() {
return dcmpl;
}
public int getDconst() {
return dconst;
}
public int getDdiv() {
return ddiv;
}
public int getDload() {
return dload;
}
public int getDmul() {
return dmul;
}
public int getDneg() {
return dneg;
}
public int getDrem() {
return drem;
}
public int getDreturn() {
return dreturn;
}
public int getDstore() {
return dstore;
}
public int getDsub() {
return dsub;
}
public int getDup() {
return dup;
}
public int getDup2() {
return dup2;
}
public int getDup2X1() {
return dup2X1;
}
public int getDup2X2() {
return dup2X2;
}
public int getDupX1() {
return dupX1;
}
public int getDupX2() {
return dupX2;
}
public int getExceptionThrower() {
return exceptionThrower;
}
public int getF2D() {
return f2D;
}
public int getF2I() {
return f2I;
}
public int getF2L() {
return f2L;
}
public int getFadd() {
return fadd;
}
public int getFaload() {
return faload;
}
public int getFastore() {
return fastore;
}
public int getFcmpg() {
return fcmpg;
}
public int getFcmpl() {
return fcmpl;
}
public int getFconst() {
return fconst;
}
public int getFdiv() {
return fdiv;
}
public int getFieldInstruction() {
return fieldInstruction;
}
public int getFieldOrMethod() {
return fieldOrMethod;
}
public int getFload() {
return fload;
}
public int getFmul() {
return fmul;
}
public int getFneg() {
return fneg;
}
public int getFrem() {
return frem;
}
public int getFreturn() {
return freturn;
}
public int getFstore() {
return fstore;
}
public int getFsub() {
return fsub;
}
public int getGetfield() {
return getfield;
}
public int getGetstatic() {
return getstatic;
}
public int getGoTo() {
return goTo;
}
public int getGotoInstruction() {
return gotoInstruction;
}
public int getGotoW() {
return gotoW;
}
public int getI2B() {
return i2B;
}
public int getI2C() {
return i2C;
}
public int getI2D() {
return i2D;
}
public int getI2F() {
return i2F;
}
public int getI2L() {
return i2L;
}
public int getI2S() {
return i2S;
}
public int getIadd() {
return iadd;
}
public int getIaload() {
return iaload;
}
public int getIand() {
return iand;
}
public int getIastore() {
return iastore;
}
public int getIconst() {
return iconst;
}
public int getIdiv() {
return idiv;
}
public int getIfAcmpeq() {
return ifAcmpeq;
}
public int getIfAcmpne() {
return ifAcmpne;
}
public int getIfeq() {
return ifeq;
}
public int getIfge() {
return ifge;
}
public int getIfgt() {
return ifgt;
}
public int getIfIcmpeq() {
return ifIcmpeq;
}
public int getIfIcmpge() {
return ifIcmpge;
}
public int getIfIcmpgt() {
return ifIcmpgt;
}
public int getIfIcmple() {
return ifIcmple;
}
public int getIfIcmplt() {
return ifIcmplt;
}
public int getIfIcmpne() {
return ifIcmpne;
}
public int getIfInstruction() {
return ifInstruction;
}
public int getIfle() {
return ifle;
}
public int getIflt() {
return iflt;
}
public int getIfne() {
return ifne;
}
public int getIfnonnull() {
return ifnonnull;
}
public int getIfnull() {
return ifnull;
}
public int getIinc() {
return iinc;
}
public int getIload() {
return iload;
}
public int getImpdep1() {
return impdep1;
}
public int getImpdep2() {
return impdep2;
}
public int getImul() {
return imul;
}
public int getIneg() {
return ineg;
}
public int getInstanceOf() {
return instanceOf;
}
public int getInvokedynamic() {
return invokedynamic;
}
public int getInvokeInstruction() {
return invokeInstruction;
}
public int getInvokeinterface() {
return invokeinterface;
}
public int getInvokespecial() {
return invokespecial;
}
public int getInvokestatic() {
return invokestatic;
}
public int getInvokevirtual() {
return invokevirtual;
}
public int getIor() {
return ior;
}
public int getIrem() {
return irem;
}
public int getIreturn() {
return ireturn;
}
public int getIshl() {
return ishl;
}
public int getIshr() {
return ishr;
}
public int getIstore() {
return istore;
}
public int getIsub() {
return isub;
}
public int getIushr() {
return iushr;
}
public int getIxor() {
return ixor;
}
public int getJsr() {
return jsr;
}
public int getJsrInstruction() {
return jsrInstruction;
}
public int getJsrW() {
return jsrW;
}
public int getL2D() {
return l2D;
}
public int getL2F() {
return l2F;
}
public int getL2I() {
return l2I;
}
public int getLadd() {
return ladd;
}
public int getLaload() {
return laload;
}
public int getLand() {
return land;
}
public int getLastore() {
return lastore;
}
public int getLcmp() {
return lcmp;
}
public int getLconst() {
return lconst;
}
public int getLdc() {
return ldc;
}
public int getLdc2W() {
return ldc2W;
}
public int getLdiv() {
return ldiv;
}
public int getLload() {
return lload;
}
public int getLmul() {
return lmul;
}
public int getLneg() {
return lneg;
}
public int getLoadClass() {
return loadClass;
}
public int getLoadInstruction() {
return loadInstruction;
}
public int getLocalVariableInstruction() {
return localVariableInstruction;
}
public int getLookupswitch() {
return lookupswitch;
}
public int getLor() {
return lor;
}
public int getLrem() {
return lrem;
}
public int getLreturn() {
return lreturn;
}
public int getLshl() {
return lshl;
}
public int getLshr() {
return lshr;
}
public int getLstore() {
return lstore;
}
public int getLsub() {
return lsub;
}
public int getLushr() {
return lushr;
}
public int getLxor() {
return lxor;
}
public int getMonitorenter() {
return monitorenter;
}
public int getMonitorexit() {
return monitorexit;
}
public int getMultianewarray() {
return multianewarray;
}
public int getnEW() {
return newCount;
}
public int getNewarray() {
return newarray;
}
public int getNop() {
return nop;
}
public int getPop() {
return pop;
}
public int getPop2() {
return pop2;
}
public int getPopInstruction() {
return popInstruction;
}
public int getPushInstruction() {
return pushInstruction;
}
public int getPutfield() {
return putfield;
}
public int getPutstatic() {
return putstatic;
}
public int getRet() {
return ret;
}
public int getrETURN() {
return returnCount;
}
public int getReturnInstruction() {
return returnInstruction;
}
public int getSaload() {
return saload;
}
public int getSastore() {
return sastore;
}
public int getSelect() {
return select;
}
public int getSipush() {
return sipush;
}
public int getStackConsumer() {
return stackConsumer;
}
public int getStackInstruction() {
return stackInstruction;
}
public int getStackProducer() {
return stackProducer;
}
public int getStoreInstruction() {
return storeInstruction;
}
public int getSwap() {
return swap;
}
public int getTableswitch() {
return tableswitch;
}
public int getTypedInstruction() {
return typedInstruction;
}
public int getUnconditionalBranch() {
return unconditionalBranch;
}
public int getVariableLengthInstruction() {
return variableLengthInstruction;
}
@Override
public int hashCode() {
return Objects.hash(aaload, aastore, aconstNull, allocationInstruction, aload, anewarray, areturn, arithmeticInstruction, arrayInstruction, arraylength,
astore, athrow, baload, bastore, bipush, branchInstruction, breakpoint, caload, castore, checkcast, constantPushInstruction,
conversionInstruction, cpInstruction, d2F, d2I, d2L, dadd, daload, dastore, dcmpg, dcmpl, dconst, ddiv, dload, dmul, dneg, drem, dreturn,
dstore, dsub, dup, dup2, dup2X1, dup2X2, dupX1, dupX2, exceptionThrower, f2D, f2I, f2L, fadd, faload, fastore, fcmpg, fcmpl, fconst, fdiv,
fieldInstruction, fieldOrMethod, fload, fmul, fneg, frem, freturn, fstore, fsub, getfield, getstatic, goTo, gotoInstruction, gotoW, i2B, i2C,
i2D, i2F, i2L, i2S, iadd, iaload, iand, iastore, iconst, idiv, ifAcmpeq, ifAcmpne, ifIcmpeq, ifIcmpge, ifIcmpgt, ifIcmple, ifIcmplt, ifIcmpne,
ifInstruction, ifeq, ifge, ifgt, ifle, iflt, ifne, ifnonnull, ifnull, iinc, iload, impdep1, impdep2, imul, ineg, instanceOf, invokeInstruction,
invokedynamic, invokeinterface, invokespecial, invokestatic, invokevirtual, ior, irem, ireturn, ishl, ishr, istore, isub, iushr, ixor, jsr,
jsrInstruction, jsrW, l2D, l2F, l2I, ladd, laload, land, lastore, lcmp, lconst, ldc, ldc2W, ldiv, lload, lmul, lneg, loadClass, loadInstruction,
localVariableInstruction, lookupswitch, lor, lrem, lreturn, lshl, lshr, lstore, lsub, lushr, lxor, monitorenter, monitorexit, multianewarray,
newCount, newarray, nop, pop, pop2, popInstruction, pushInstruction, putfield, putstatic, ret, returnCount, returnInstruction, saload, sastore,
select, sipush, stackConsumer, stackInstruction, stackProducer, storeInstruction, swap, tableswitch, typedInstruction, unconditionalBranch,
variableLengthInstruction);
}
public void setAaload(final int aaload) {
this.aaload = aaload;
}
public void setAastore(final int aastore) {
this.aastore = aastore;
}
public void setAconstNull(final int aconstNull) {
this.aconstNull = aconstNull;
}
public void setAllocationInstruction(final int allocationInstruction) {
this.allocationInstruction = allocationInstruction;
}
public void setAload(final int aload) {
this.aload = aload;
}
public void setAnewarray(final int anewarray) {
this.anewarray = anewarray;
}
public void setAreturn(final int areturn) {
this.areturn = areturn;
}
public void setArithmeticInstruction(final int arithmeticInstruction) {
this.arithmeticInstruction = arithmeticInstruction;
}
public void setArrayInstruction(final int arrayInstruction) {
this.arrayInstruction = arrayInstruction;
}
public void setArraylength(final int arraylength) {
this.arraylength = arraylength;
}
public void setAstore(final int astore) {
this.astore = astore;
}
public void setAthrow(final int athrow) {
this.athrow = athrow;
}
public void setBaload(final int baload) {
this.baload = baload;
}
public void setBastore(final int bastore) {
this.bastore = bastore;
}
public void setBipush(final int bipush) {
this.bipush = bipush;
}
public void setBranchInstruction(final int branchInstruction) {
this.branchInstruction = branchInstruction;
}
public void setBreakpoint(final int breakpoint) {
this.breakpoint = breakpoint;
}
public void setCaload(final int caload) {
this.caload = caload;
}
public void setCastore(final int castore) {
this.castore = castore;
}
public void setCheckcast(final int checkcast) {
this.checkcast = checkcast;
}
public void setConstantPushInstruction(final int constantPushInstruction) {
this.constantPushInstruction = constantPushInstruction;
}
public void setConversionInstruction(final int conversionInstruction) {
this.conversionInstruction = conversionInstruction;
}
public void setCpInstruction(final int cpInstruction) {
this.cpInstruction = cpInstruction;
}
public void setD2F(final int d2F) {
this.d2F = d2F;
}
public void setD2I(final int d2I) {
this.d2I = d2I;
}
public void setD2L(final int d2L) {
this.d2L = d2L;
}
public void setDadd(final int dadd) {
this.dadd = dadd;
}
public void setDaload(final int daload) {
this.daload = daload;
}
public void setDastore(final int dastore) {
this.dastore = dastore;
}
public void setDcmpg(final int dcmpg) {
this.dcmpg = dcmpg;
}
public void setDcmpl(final int dcmpl) {
this.dcmpl = dcmpl;
}
public void setDconst(final int dconst) {
this.dconst = dconst;
}
public void setDdiv(final int ddiv) {
this.ddiv = ddiv;
}
public void setDload(final int dload) {
this.dload = dload;
}
public void setDmul(final int dmul) {
this.dmul = dmul;
}
public void setDneg(final int dneg) {
this.dneg = dneg;
}
public void setDrem(final int drem) {
this.drem = drem;
}
public void setDreturn(final int dreturn) {
this.dreturn = dreturn;
}
public void setDstore(final int dstore) {
this.dstore = dstore;
}
public void setDsub(final int dsub) {
this.dsub = dsub;
}
public void setDup(final int dup) {
this.dup = dup;
}
public void setDup2(final int dup2) {
this.dup2 = dup2;
}
public void setDup2X1(final int dup2X1) {
this.dup2X1 = dup2X1;
}
public void setDup2X2(final int dup2X2) {
this.dup2X2 = dup2X2;
}
public void setDupX1(final int dupX1) {
this.dupX1 = dupX1;
}
public void setDupX2(final int dupX2) {
this.dupX2 = dupX2;
}
public void setExceptionThrower(final int exceptionThrower) {
this.exceptionThrower = exceptionThrower;
}
public void setF2D(final int f2D) {
this.f2D = f2D;
}
public void setF2I(final int f2I) {
this.f2I = f2I;
}
public void setF2L(final int f2L) {
this.f2L = f2L;
}
public void setFadd(final int fadd) {
this.fadd = fadd;
}
public void setFaload(final int faload) {
this.faload = faload;
}
public void setFastore(final int fastore) {
this.fastore = fastore;
}
public void setFcmpg(final int fcmpg) {
this.fcmpg = fcmpg;
}
public void setFcmpl(final int fcmpl) {
this.fcmpl = fcmpl;
}
public void setFconst(final int fconst) {
this.fconst = fconst;
}
public void setFdiv(final int fdiv) {
this.fdiv = fdiv;
}
public void setFieldInstruction(final int fieldInstruction) {
this.fieldInstruction = fieldInstruction;
}
public void setFieldOrMethod(final int fieldOrMethod) {
this.fieldOrMethod = fieldOrMethod;
}
public void setFload(final int fload) {
this.fload = fload;
}
public void setFmul(final int fmul) {
this.fmul = fmul;
}
public void setFneg(final int fneg) {
this.fneg = fneg;
}
public void setFrem(final int frem) {
this.frem = frem;
}
public void setFreturn(final int freturn) {
this.freturn = freturn;
}
public void setFstore(final int fstore) {
this.fstore = fstore;
}
public void setFsub(final int fsub) {
this.fsub = fsub;
}
public void setGetfield(final int getfield) {
this.getfield = getfield;
}
public void setGetstatic(final int getstatic) {
this.getstatic = getstatic;
}
public void setGoTo(final int goTo) {
this.goTo = goTo;
}
public void setGotoInstruction(final int gotoInstruction) {
this.gotoInstruction = gotoInstruction;
}
public void setGotoW(final int gotoW) {
this.gotoW = gotoW;
}
public void setI2B(final int i2B) {
this.i2B = i2B;
}
public void setI2C(final int i2C) {
this.i2C = i2C;
}
public void setI2D(final int i2D) {
this.i2D = i2D;
}
public void setI2F(final int i2F) {
this.i2F = i2F;
}
public void setI2L(final int i2L) {
this.i2L = i2L;
}
public void setI2S(final int i2S) {
this.i2S = i2S;
}
public void setIadd(final int iadd) {
this.iadd = iadd;
}
public void setIaload(final int iaload) {
this.iaload = iaload;
}
public void setIand(final int iand) {
this.iand = iand;
}
public void setIastore(final int iastore) {
this.iastore = iastore;
}
public void setIconst(final int iconst) {
this.iconst = iconst;
}
public void setIdiv(final int idiv) {
this.idiv = idiv;
}
public void setIfAcmpeq(final int ifAcmpeq) {
this.ifAcmpeq = ifAcmpeq;
}
public void setIfAcmpne(final int ifAcmpne) {
this.ifAcmpne = ifAcmpne;
}
public void setIfeq(final int ifeq) {
this.ifeq = ifeq;
}
public void setIfge(final int ifge) {
this.ifge = ifge;
}
public void setIfgt(final int ifgt) {
this.ifgt = ifgt;
}
public void setIfIcmpeq(final int ifIcmpeq) {
this.ifIcmpeq = ifIcmpeq;
}
public void setIfIcmpge(final int ifIcmpge) {
this.ifIcmpge = ifIcmpge;
}
public void setIfIcmpgt(final int ifIcmpgt) {
this.ifIcmpgt = ifIcmpgt;
}
public void setIfIcmple(final int ifIcmple) {
this.ifIcmple = ifIcmple;
}
public void setIfIcmplt(final int ifIcmplt) {
this.ifIcmplt = ifIcmplt;
}
public void setIfIcmpne(final int ifIcmpne) {
this.ifIcmpne = ifIcmpne;
}
public void setIfInstruction(final int ifInstruction) {
this.ifInstruction = ifInstruction;
}
public void setIfle(final int ifle) {
this.ifle = ifle;
}
public void setIflt(final int iflt) {
this.iflt = iflt;
}
public void setIfne(final int ifne) {
this.ifne = ifne;
}
public void setIfnonnull(final int ifnonnull) {
this.ifnonnull = ifnonnull;
}
public void setIfnull(final int ifnull) {
this.ifnull = ifnull;
}
public void setIinc(final int iinc) {
this.iinc = iinc;
}
public void setIload(final int iload) {
this.iload = iload;
}
public void setImpdep1(final int impdep1) {
this.impdep1 = impdep1;
}
public void setImpdep2(final int impdep2) {
this.impdep2 = impdep2;
}
public void setImul(final int imul) {
this.imul = imul;
}
public void setIneg(final int ineg) {
this.ineg = ineg;
}
public void setInstanceOf(final int instanceOf) {
this.instanceOf = instanceOf;
}
public void setInvokedynamic(final int invokedynamic) {
this.invokedynamic = invokedynamic;
}
public void setInvokeInstruction(final int invokeInstruction) {
this.invokeInstruction = invokeInstruction;
}
public void setInvokeinterface(final int invokeinterface) {
this.invokeinterface = invokeinterface;
}
public void setInvokespecial(final int invokespecial) {
this.invokespecial = invokespecial;
}
public void setInvokestatic(final int invokestatic) {
this.invokestatic = invokestatic;
}
public void setInvokevirtual(final int invokevirtual) {
this.invokevirtual = invokevirtual;
}
public void setIor(final int ior) {
this.ior = ior;
}
public void setIrem(final int irem) {
this.irem = irem;
}
public void setIreturn(final int ireturn) {
this.ireturn = ireturn;
}
public void setIshl(final int ishl) {
this.ishl = ishl;
}
public void setIshr(final int ishr) {
this.ishr = ishr;
}
public void setIstore(final int istore) {
this.istore = istore;
}
public void setIsub(final int isub) {
this.isub = isub;
}
public void setIushr(final int iushr) {
this.iushr = iushr;
}
public void setIxor(final int ixor) {
this.ixor = ixor;
}
public void setJsr(final int jsr) {
this.jsr = jsr;
}
public void setJsrInstruction(final int jsrInstruction) {
this.jsrInstruction = jsrInstruction;
}
public void setJsrW(final int jsrW) {
this.jsrW = jsrW;
}
public void setL2D(final int l2D) {
this.l2D = l2D;
}
public void setL2F(final int l2F) {
this.l2F = l2F;
}
public void setL2I(final int l2I) {
this.l2I = l2I;
}
public void setLadd(final int ladd) {
this.ladd = ladd;
}
public void setLaload(final int laload) {
this.laload = laload;
}
public void setLand(final int land) {
this.land = land;
}
public void setLastore(final int lastore) {
this.lastore = lastore;
}
public void setLcmp(final int lcmp) {
this.lcmp = lcmp;
}
public void setLconst(final int lconst) {
this.lconst = lconst;
}
public void setLdc(final int ldc) {
this.ldc = ldc;
}
public void setLdc2W(final int ldc2W) {
this.ldc2W = ldc2W;
}
public void setLdiv(final int ldiv) {
this.ldiv = ldiv;
}
public void setLload(final int lload) {
this.lload = lload;
}
public void setLmul(final int lmul) {
this.lmul = lmul;
}
public void setLneg(final int lneg) {
this.lneg = lneg;
}
public void setLoadClass(final int loadClass) {
this.loadClass = loadClass;
}
public void setLoadInstruction(final int loadInstruction) {
this.loadInstruction = loadInstruction;
}
public void setLocalVariableInstruction(final int localVariableInstruction) {
this.localVariableInstruction = localVariableInstruction;
}
public void setLookupswitch(final int lookupswitch) {
this.lookupswitch = lookupswitch;
}
public void setLor(final int lor) {
this.lor = lor;
}
public void setLrem(final int lrem) {
this.lrem = lrem;
}
public void setLreturn(final int lreturn) {
this.lreturn = lreturn;
}
public void setLshl(final int lshl) {
this.lshl = lshl;
}
public void setLshr(final int lshr) {
this.lshr = lshr;
}
public void setLstore(final int lstore) {
this.lstore = lstore;
}
public void setLsub(final int lsub) {
this.lsub = lsub;
}
public void setLushr(final int lushr) {
this.lushr = lushr;
}
public void setLxor(final int lxor) {
this.lxor = lxor;
}
public void setMonitorenter(final int monitorenter) {
this.monitorenter = monitorenter;
}
public void setMonitorexit(final int monitorexit) {
this.monitorexit = monitorexit;
}
public void setMultianewarray(final int multianewarray) {
this.multianewarray = multianewarray;
}
public void setnEW(final int nEW) {
this.newCount = nEW;
}
public void setNewarray(final int newarray) {
this.newarray = newarray;
}
public void setNop(final int nop) {
this.nop = nop;
}
public void setPop(final int pop) {
this.pop = pop;
}
public void setPop2(final int pop2) {
this.pop2 = pop2;
}
public void setPopInstruction(final int popInstruction) {
this.popInstruction = popInstruction;
}
public void setPushInstruction(final int pushInstruction) {
this.pushInstruction = pushInstruction;
}
public void setPutfield(final int putfield) {
this.putfield = putfield;
}
public void setPutstatic(final int putstatic) {
this.putstatic = putstatic;
}
public void setRet(final int ret) {
this.ret = ret;
}
public void setrETURN(final int rETURN) {
this.returnCount = rETURN;
}
public void setReturnInstruction(final int returnInstruction) {
this.returnInstruction = returnInstruction;
}
public void setSaload(final int saload) {
this.saload = saload;
}
public void setSastore(final int sastore) {
this.sastore = sastore;
}
public void setSelect(final int select) {
this.select = select;
}
public void setSipush(final int sipush) {
this.sipush = sipush;
}
public void setStackConsumer(final int stackConsumer) {
this.stackConsumer = stackConsumer;
}
public void setStackInstruction(final int stackInstruction) {
this.stackInstruction = stackInstruction;
}
public void setStackProducer(final int stackProducer) {
this.stackProducer = stackProducer;
}
public void setStoreInstruction(final int storeInstruction) {
this.storeInstruction = storeInstruction;
}
public void setSwap(final int swap) {
this.swap = swap;
}
public void setTableswitch(final int tableswitch) {
this.tableswitch = tableswitch;
}
public void setTypedInstruction(final int typedInstruction) {
this.typedInstruction = typedInstruction;
}
public void setUnconditionalBranch(final int unconditionalBranch) {
this.unconditionalBranch = unconditionalBranch;
}
public void setVariableLengthInstruction(final int variableLengthInstruction) {
this.variableLengthInstruction = variableLengthInstruction;
}
@Override
public String toString() {
return "CountingVisitor [aaload=" + aaload + ", aastore=" + aastore + ", aconstNull=" + aconstNull + ", allocationInstruction=" + allocationInstruction
+ ", aload=" + aload + ", anewarray=" + anewarray + ", areturn=" + areturn + ", arithmeticInstruction=" + arithmeticInstruction
+ ", arrayInstruction=" + arrayInstruction + ", arraylength=" + arraylength + ", astore=" + astore + ", athrow=" + athrow + ", baload=" + baload
+ ", bastore=" + bastore + ", bipush=" + bipush + ", branchInstruction=" + branchInstruction + ", breakpoint=" + breakpoint + ", caload="
+ caload + ", castore=" + castore + ", checkcast=" + checkcast + ", constantPushInstruction=" + constantPushInstruction
+ ", conversionInstruction=" + conversionInstruction + ", cpInstruction=" + cpInstruction + ", d2F=" + d2F + ", d2I=" + d2I + ", d2L=" + d2L
+ ", dadd=" + dadd + ", daload=" + daload + ", dastore=" + dastore + ", dcmpg=" + dcmpg + ", dcmpl=" + dcmpl + ", dconst=" + dconst + ", ddiv="
+ ddiv + ", dload=" + dload + ", dmul=" + dmul + ", dneg=" + dneg + ", drem=" + drem + ", dreturn=" + dreturn + ", dstore=" + dstore + ", dsub="
+ dsub + ", dup=" + dup + ", dupX1=" + dupX1 + ", dupX2=" + dupX2 + ", dup2=" + dup2 + ", dup2X1=" + dup2X1 + ", dup2X2=" + dup2X2
+ ", exceptionThrower=" + exceptionThrower + ", f2D=" + f2D + ", f2I=" + f2I + ", f2L=" + f2L + ", fadd=" + fadd + ", faload=" + faload
+ ", fastore=" + fastore + ", fcmpg=" + fcmpg + ", fcmpl=" + fcmpl + ", fconst=" + fconst + ", fdiv=" + fdiv + ", fieldInstruction="
+ fieldInstruction + ", fieldOrMethod=" + fieldOrMethod + ", fload=" + fload + ", fmul=" + fmul + ", fneg=" + fneg + ", frem=" + frem
+ ", freturn=" + freturn + ", fstore=" + fstore + ", fsub=" + fsub + ", getfield=" + getfield + ", getstatic=" + getstatic + ", goTo=" + goTo
+ ", gotoW=" + gotoW + ", gotoInstruction=" + gotoInstruction + ", i2B=" + i2B + ", i2C=" + i2C + ", i2D=" + i2D + ", i2F=" + i2F + ", i2L="
+ i2L + ", i2S=" + i2S + ", iadd=" + iadd + ", iaload=" + iaload + ", iand=" + iand + ", iastore=" + iastore + ", iconst=" + iconst + ", idiv="
+ idiv + ", ifAcmpeq=" + ifAcmpeq + ", ifAcmpne=" + ifAcmpne + ", ifIcmpeq=" + ifIcmpeq + ", ifIcmpge=" + ifIcmpge + ", ifIcmpgt=" + ifIcmpgt
+ ", ifIcmple=" + ifIcmple + ", ifIcmplt=" + ifIcmplt + ", ifIcmpne=" + ifIcmpne + ", ifeq=" + ifeq + ", ifge=" + ifge + ", ifgt=" + ifgt
+ ", ifInstruction=" + ifInstruction + ", ifle=" + ifle + ", iflt=" + iflt + ", ifne=" + ifne + ", ifnonnull=" + ifnonnull + ", ifnull="
+ ifnull + ", iinc=" + iinc + ", iload=" + iload + ", impdep1=" + impdep1 + ", impdep2=" + impdep2 + ", imul=" + imul + ", ineg=" + ineg
+ ", instanceOf=" + instanceOf + ", invokedynamic=" + invokedynamic + ", invokeInstruction=" + invokeInstruction + ", invokeinterface="
+ invokeinterface + ", invokespecial=" + invokespecial + ", invokestatic=" + invokestatic + ", invokevirtual=" + invokevirtual + ", ior=" + ior
+ ", irem=" + irem + ", ireturn=" + ireturn + ", ishl=" + ishl + ", ishr=" + ishr + ", istore=" + istore + ", isub=" + isub + ", iushr=" + iushr
+ ", ixor=" + ixor + ", jsr=" + jsr + ", jsrW=" + jsrW + ", jsrInstruction=" + jsrInstruction + ", l2D=" + l2D + ", l2F=" + l2F + ", l2I=" + l2I
+ ", ladd=" + ladd + ", laload=" + laload + ", land=" + land + ", lastore=" + lastore + ", lcmp=" + lcmp + ", lconst=" + lconst + ", ldc=" + ldc
+ ", ldc2W=" + ldc2W + ", ldiv=" + ldiv + ", lload=" + lload + ", lmul=" + lmul + ", lneg=" + lneg + ", loadClass=" + loadClass
+ ", loadInstruction=" + loadInstruction + ", localVariableInstruction=" + localVariableInstruction + ", lookupswitch=" + lookupswitch
+ ", lor=" + lor + ", lrem=" + lrem + ", lreturn=" + lreturn + ", lshl=" + lshl + ", lshr=" + lshr + ", lstore=" + lstore + ", lsub=" + lsub
+ ", lushr=" + lushr + ", lxor=" + lxor + ", monitorenter=" + monitorenter + ", monitorexit=" + monitorexit + ", multianewarray="
+ multianewarray + ", newCount=" + newCount + ", newarray=" + newarray + ", nop=" + nop + ", pop=" + pop + ", pop2=" + pop2
+ ", popInstruction=" + popInstruction + ", pushInstruction=" + pushInstruction + ", putfield=" + putfield + ", putstatic=" + putstatic
+ ", ret=" + ret + ", returnCount=" + returnCount + ", returnInstruction=" + returnInstruction + ", saload=" + saload + ", sastore=" + sastore
+ ", select=" + select + ", sipush=" + sipush + ", stackConsumer=" + stackConsumer + ", stackInstruction=" + stackInstruction
+ ", stackProducer=" + stackProducer + ", storeInstruction=" + storeInstruction + ", swap=" + swap + ", tableswitch=" + tableswitch
+ ", typedInstruction=" + typedInstruction + ", unconditionalBranch=" + unconditionalBranch + ", variableLengthInstruction="
+ variableLengthInstruction + "]";
}
@Override
public void visitAALOAD(final AALOAD obj) {
aaload++;
}
@Override
public void visitAASTORE(final AASTORE obj) {
aastore++;
}
@Override
public void visitACONST_NULL(final ACONST_NULL obj) {
aconstNull++;
}
@Override
public void visitAllocationInstruction(final AllocationInstruction obj) {
allocationInstruction++;
}
@Override
public void visitALOAD(final ALOAD obj) {
aload++;
}
@Override
public void visitANEWARRAY(final ANEWARRAY obj) {
anewarray++;
}
@Override
public void visitARETURN(final ARETURN obj) {
areturn++;
}
@Override
public void visitArithmeticInstruction(final ArithmeticInstruction obj) {
arithmeticInstruction++;
}
@Override
public void visitArrayInstruction(final ArrayInstruction obj) {
arrayInstruction++;
}
@Override
public void visitARRAYLENGTH(final ARRAYLENGTH obj) {
arraylength++;
}
@Override
public void visitASTORE(final ASTORE obj) {
astore++;
}
@Override
public void visitATHROW(final ATHROW obj) {
athrow++;
}
@Override
public void visitBALOAD(final BALOAD obj) {
baload++;
}
@Override
public void visitBASTORE(final BASTORE obj) {
bastore++;
}
@Override
public void visitBIPUSH(final BIPUSH obj) {
bipush++;
}
@Override
public void visitBranchInstruction(final BranchInstruction obj) {
branchInstruction++;
}
@Override
public void visitBREAKPOINT(final BREAKPOINT obj) {
breakpoint++;
}
@Override
public void visitCALOAD(final CALOAD obj) {
caload++;
}
@Override
public void visitCASTORE(final CASTORE obj) {
castore++;
}
@Override
public void visitCHECKCAST(final CHECKCAST obj) {
checkcast++;
}
@Override
public void visitConstantPushInstruction(final ConstantPushInstruction obj) {
constantPushInstruction++;
}
@Override
public void visitConversionInstruction(final ConversionInstruction obj) {
conversionInstruction++;
}
@Override
public void visitCPInstruction(final CPInstruction obj) {
cpInstruction++;
}
@Override
public void visitD2F(final D2F obj) {
d2F++;
}
@Override
public void visitD2I(final D2I obj) {
d2I++;
}
@Override
public void visitD2L(final D2L obj) {
d2L++;
}
@Override
public void visitDADD(final DADD obj) {
dadd++;
}
@Override
public void visitDALOAD(final DALOAD obj) {
daload++;
}
@Override
public void visitDASTORE(final DASTORE obj) {
dastore++;
}
@Override
public void visitDCMPG(final DCMPG obj) {
dcmpg++;
}
@Override
public void visitDCMPL(final DCMPL obj) {
dcmpl++;
}
@Override
public void visitDCONST(final DCONST obj) {
dconst++;
}
@Override
public void visitDDIV(final DDIV obj) {
ddiv++;
}
@Override
public void visitDLOAD(final DLOAD obj) {
dload++;
}
@Override
public void visitDMUL(final DMUL obj) {
dmul++;
}
@Override
public void visitDNEG(final DNEG obj) {
dneg++;
}
@Override
public void visitDREM(final DREM obj) {
drem++;
}
@Override
public void visitDRETURN(final DRETURN obj) {
dreturn++;
}
@Override
public void visitDSTORE(final DSTORE obj) {
dstore++;
}
@Override
public void visitDSUB(final DSUB obj) {
dsub++;
}
@Override
public void visitDUP(final DUP obj) {
dup++;
}
@Override
public void visitDUP_X1(final DUP_X1 obj) {
dupX1++;
}
@Override
public void visitDUP_X2(final DUP_X2 obj) {
dupX2++;
}
@Override
public void visitDUP2(final DUP2 obj) {
dup2++;
}
@Override
public void visitDUP2_X1(final DUP2_X1 obj) {
dup2X1++;
}
@Override
public void visitDUP2_X2(final DUP2_X2 obj) {
dup2X2++;
}
@Override
public void visitExceptionThrower(final ExceptionThrower obj) {
exceptionThrower++;
}
@Override
public void visitF2D(final F2D obj) {
f2D++;
}
@Override
public void visitF2I(final F2I obj) {
f2I++;
}
@Override
public void visitF2L(final F2L obj) {
f2L++;
}
@Override
public void visitFADD(final FADD obj) {
fadd++;
}
@Override
public void visitFALOAD(final FALOAD obj) {
faload++;
}
@Override
public void visitFASTORE(final FASTORE obj) {
fastore++;
}
@Override
public void visitFCMPG(final FCMPG obj) {
fcmpg++;
}
@Override
public void visitFCMPL(final FCMPL obj) {
fcmpl++;
}
@Override
public void visitFCONST(final FCONST obj) {
fconst++;
}
@Override
public void visitFDIV(final FDIV obj) {
fdiv++;
}
@Override
public void visitFieldInstruction(final FieldInstruction obj) {
fieldInstruction++;
}
@Override
public void visitFieldOrMethod(final FieldOrMethod obj) {
fieldOrMethod++;
}
@Override
public void visitFLOAD(final FLOAD obj) {
fload++;
}
@Override
public void visitFMUL(final FMUL obj) {
fmul++;
}
@Override
public void visitFNEG(final FNEG obj) {
fneg++;
}
@Override
public void visitFREM(final FREM obj) {
frem++;
}
@Override
public void visitFRETURN(final FRETURN obj) {
freturn++;
}
@Override
public void visitFSTORE(final FSTORE obj) {
fstore++;
}
@Override
public void visitFSUB(final FSUB obj) {
fsub++;
}
@Override
public void visitGETFIELD(final GETFIELD obj) {
getfield++;
}
@Override
public void visitGETSTATIC(final GETSTATIC obj) {
getstatic++;
}
@Override
public void visitGOTO(final GOTO obj) {
goTo++;
}
@Override
public void visitGOTO_W(final GOTO_W obj) {
gotoW++;
}
@Override
public void visitGotoInstruction(final GotoInstruction obj) {
gotoInstruction++;
}
@Override
public void visitI2B(final I2B obj) {
i2B++;
}
@Override
public void visitI2C(final I2C obj) {
i2C++;
}
@Override
public void visitI2D(final I2D obj) {
i2D++;
}
@Override
public void visitI2F(final I2F obj) {
i2F++;
}
@Override
public void visitI2L(final I2L obj) {
i2L++;
}
@Override
public void visitI2S(final I2S obj) {
i2S++;
}
@Override
public void visitIADD(final IADD obj) {
iadd++;
}
@Override
public void visitIALOAD(final IALOAD obj) {
iaload++;
}
@Override
public void visitIAND(final IAND obj) {
iand++;
}
@Override
public void visitIASTORE(final IASTORE obj) {
iastore++;
}
@Override
public void visitICONST(final ICONST obj) {
iconst++;
}
@Override
public void visitIDIV(final IDIV obj) {
idiv++;
}
@Override
public void visitIF_ACMPEQ(final IF_ACMPEQ obj) {
ifAcmpeq++;
}
@Override
public void visitIF_ACMPNE(final IF_ACMPNE obj) {
ifAcmpne++;
}
@Override
public void visitIF_ICMPEQ(final IF_ICMPEQ obj) {
ifIcmpeq++;
}
@Override
public void visitIF_ICMPGE(final IF_ICMPGE obj) {
ifIcmpge++;
}
@Override
public void visitIF_ICMPGT(final IF_ICMPGT obj) {
ifIcmpgt++;
}
@Override
public void visitIF_ICMPLE(final IF_ICMPLE obj) {
ifIcmple++;
}
@Override
public void visitIF_ICMPLT(final IF_ICMPLT obj) {
ifIcmplt++;
}
@Override
public void visitIF_ICMPNE(final IF_ICMPNE obj) {
ifIcmpne++;
}
@Override
public void visitIFEQ(final IFEQ obj) {
ifeq++;
}
@Override
public void visitIFGE(final IFGE obj) {
ifge++;
}
@Override
public void visitIFGT(final IFGT obj) {
ifgt++;
}
@Override
public void visitIfInstruction(final IfInstruction obj) {
ifInstruction++;
}
@Override
public void visitIFLE(final IFLE obj) {
ifle++;
}
@Override
public void visitIFLT(final IFLT obj) {
iflt++;
}
@Override
public void visitIFNE(final IFNE obj) {
ifne++;
}
@Override
public void visitIFNONNULL(final IFNONNULL obj) {
ifnonnull++;
}
@Override
public void visitIFNULL(final IFNULL obj) {
ifnull++;
}
@Override
public void visitIINC(final IINC obj) {
iinc++;
}
@Override
public void visitILOAD(final ILOAD obj) {
iload++;
}
@Override
public void visitIMPDEP1(final IMPDEP1 obj) {
impdep1++;
}
@Override
public void visitIMPDEP2(final IMPDEP2 obj) {
impdep2++;
}
@Override
public void visitIMUL(final IMUL obj) {
imul++;
}
@Override
public void visitINEG(final INEG obj) {
ineg++;
}
@Override
public void visitINSTANCEOF(final INSTANCEOF obj) {
instanceOf++;
}
@Override
public void visitINVOKEDYNAMIC(final INVOKEDYNAMIC obj) {
invokedynamic++;
}
@Override
public void visitInvokeInstruction(final InvokeInstruction obj) {
invokeInstruction++;
}
@Override
public void visitINVOKEINTERFACE(final INVOKEINTERFACE obj) {
invokeinterface++;
}
@Override
public void visitINVOKESPECIAL(final INVOKESPECIAL obj) {
invokespecial++;
}
@Override
public void visitINVOKESTATIC(final INVOKESTATIC obj) {
invokestatic++;
}
@Override
public void visitINVOKEVIRTUAL(final INVOKEVIRTUAL obj) {
invokevirtual++;
}
@Override
public void visitIOR(final IOR obj) {
ior++;
}
@Override
public void visitIREM(final IREM obj) {
irem++;
}
@Override
public void visitIRETURN(final IRETURN obj) {
ireturn++;
}
@Override
public void visitISHL(final ISHL obj) {
ishl++;
}
@Override
public void visitISHR(final ISHR obj) {
ishr++;
}
@Override
public void visitISTORE(final ISTORE obj) {
istore++;
}
@Override
public void visitISUB(final ISUB obj) {
isub++;
}
@Override
public void visitIUSHR(final IUSHR obj) {
iushr++;
}
@Override
public void visitIXOR(final IXOR obj) {
ixor++;
}
@Override
public void visitJSR(final JSR obj) {
jsr++;
}
@Override
public void visitJSR_W(final JSR_W obj) {
jsrW++;
}
@Override
public void visitJsrInstruction(final JsrInstruction obj) {
jsrInstruction++;
}
@Override
public void visitL2D(final L2D obj) {
l2D++;
}
@Override
public void visitL2F(final L2F obj) {
l2F++;
}
@Override
public void visitL2I(final L2I obj) {
l2I++;
}
@Override
public void visitLADD(final LADD obj) {
ladd++;
}
@Override
public void visitLALOAD(final LALOAD obj) {
laload++;
}
@Override
public void visitLAND(final LAND obj) {
land++;
}
@Override
public void visitLASTORE(final LASTORE obj) {
lastore++;
}
@Override
public void visitLCMP(final LCMP obj) {
lcmp++;
}
@Override
public void visitLCONST(final LCONST obj) {
lconst++;
}
@Override
public void visitLDC(final LDC obj) {
ldc++;
}
@Override
public void visitLDC2_W(final LDC2_W obj) {
ldc2W++;
}
@Override
public void visitLDIV(final LDIV obj) {
ldiv++;
}
@Override
public void visitLLOAD(final LLOAD obj) {
lload++;
}
@Override
public void visitLMUL(final LMUL obj) {
lmul++;
}
@Override
public void visitLNEG(final LNEG obj) {
lneg++;
}
@Override
public void visitLoadClass(final LoadClass obj) {
loadClass++;
}
@Override
public void visitLoadInstruction(final LoadInstruction obj) {
loadInstruction++;
}
@Override
public void visitLocalVariableInstruction(final LocalVariableInstruction obj) {
localVariableInstruction++;
}
@Override
public void visitLOOKUPSWITCH(final LOOKUPSWITCH obj) {
lookupswitch++;
}
@Override
public void visitLOR(final LOR obj) {
lor++;
}
@Override
public void visitLREM(final LREM obj) {
lrem++;
}
@Override
public void visitLRETURN(final LRETURN obj) {
lreturn++;
}
@Override
public void visitLSHL(final LSHL obj) {
lshl++;
}
@Override
public void visitLSHR(final LSHR obj) {
lshr++;
}
@Override
public void visitLSTORE(final LSTORE obj) {
lstore++;
}
@Override
public void visitLSUB(final LSUB obj) {
lsub++;
}
@Override
public void visitLUSHR(final LUSHR obj) {
lushr++;
}
@Override
public void visitLXOR(final LXOR obj) {
lxor++;
}
@Override
public void visitMONITORENTER(final MONITORENTER obj) {
monitorenter++;
}
@Override
public void visitMONITOREXIT(final MONITOREXIT obj) {
monitorexit++;
}
@Override
public void visitMULTIANEWARRAY(final MULTIANEWARRAY obj) {
multianewarray++;
}
@Override
public void visitNEW(final NEW obj) {
newCount++;
}
@Override
public void visitNEWARRAY(final NEWARRAY obj) {
newarray++;
}
@Override
public void visitNOP(final NOP obj) {
nop++;
}
@Override
public void visitPOP(final POP obj) {
pop++;
}
@Override
public void visitPOP2(final POP2 obj) {
pop2++;
}
@Override
public void visitPopInstruction(final PopInstruction obj) {
popInstruction++;
}
@Override
public void visitPushInstruction(final PushInstruction obj) {
pushInstruction++;
}
@Override
public void visitPUTFIELD(final PUTFIELD obj) {
putfield++;
}
@Override
public void visitPUTSTATIC(final PUTSTATIC obj) {
putstatic++;
}
@Override
public void visitRET(final RET obj) {
ret++;
}
@Override
public void visitRETURN(final RETURN obj) {
returnCount++;
}
@Override
public void visitReturnInstruction(final ReturnInstruction obj) {
returnInstruction++;
}
@Override
public void visitSALOAD(final SALOAD obj) {
saload++;
}
@Override
public void visitSASTORE(final SASTORE obj) {
sastore++;
}
@Override
public void visitSelect(final Select obj) {
select++;
}
@Override
public void visitSIPUSH(final SIPUSH obj) {
sipush++;
}
@Override
public void visitStackConsumer(final StackConsumer obj) {
stackConsumer++;
}
@Override
public void visitStackInstruction(final StackInstruction obj) {
stackInstruction++;
}
@Override
public void visitStackProducer(final StackProducer obj) {
stackProducer++;
}
@Override
public void visitStoreInstruction(final StoreInstruction obj) {
storeInstruction++;
}
@Override
public void visitSWAP(final SWAP obj) {
swap++;
}
@Override
public void visitTABLESWITCH(final TABLESWITCH obj) {
tableswitch++;
}
@Override
public void visitTypedInstruction(final TypedInstruction obj) {
typedInstruction++;
}
@Override
public void visitUnconditionalBranch(final UnconditionalBranch obj) {
unconditionalBranch++;
}
@Override
public void visitVariableLengthInstruction(final VariableLengthInstruction obj) {
variableLengthInstruction++;
}
}