Class InstConstraintVisitor
- java.lang.Object
-
- org.apache.bcel.generic.EmptyVisitor
-
- org.apache.bcel.verifier.structurals.InstConstraintVisitor
-
- All Implemented Interfaces:
Visitor
public class InstConstraintVisitor extends EmptyVisitor
A Visitor class testing for valid preconditions of JVM instructions. The instance of this class will throw a StructuralCodeConstraintException instance if an instruction is visitXXX()ed which has preconditions that are not satisfied. TODO: Currently, the JVM's behavior concerning monitors (MONITORENTER, MONITOREXIT) is not modeled in JustIce.- See Also:
StructuralCodeConstraintException
-
-
Field Summary
Fields Modifier and Type Field Description private ConstantPoolGencpgThe ConstantPoolGen we're working on.private FrameframeThe Execution Frame we're working on.private static ObjectTypeGENERIC_ARRAYprivate MethodGenmgThe MethodGen we're working on.
-
Constructor Summary
Constructors Constructor Description InstConstraintVisitor()The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleanarrayrefOfArrayType(Instruction o, Type arrayref)Assures arrayref is of ArrayType or NULL; returns true if and only if arrayref is non-NULL.private voidconstraintViolated(Instruction violator, java.lang.String description)This method is called by the visitXXX() to notify the acceptor of this InstConstraintVisitor that a constraint violation has occurred.private ObjectTypegetObjectType(FieldInstruction o)private voidindexOfInt(Instruction o, Type index)Assures index is of type INT.private LocalVariableslocals()The LocalVariables we're working on.private voidreferenceTypeIsInitialized(Instruction o, ReferenceType r)Assures the ReferenceType r is initialized (or Type.NULL).voidsetConstantPoolGen(ConstantPoolGen cpg)Sets the ConstantPoolGen instance needed for constraint checking prior to execution.voidsetFrame(Frame f)This returns the single instance of the InstConstraintVisitor class.voidsetMethodGen(MethodGen mg)Sets the MethodGen instance needed for constraint checking prior to execution.private OperandStackstack()The OperandStack we're working on.private voidvalueOfInt(Instruction o, Type value)Assures value is of type INT.voidvisitAALOAD(AALOAD o)Ensures the specific preconditions of the said instruction.voidvisitAASTORE(AASTORE o)Ensures the specific preconditions of the said instruction.voidvisitACONST_NULL(ACONST_NULL o)Ensures the specific preconditions of the said instruction.voidvisitALOAD(ALOAD o)Ensures the specific preconditions of the said instruction.voidvisitANEWARRAY(ANEWARRAY o)Ensures the specific preconditions of the said instruction.voidvisitARETURN(ARETURN o)Ensures the specific preconditions of the said instruction.voidvisitARRAYLENGTH(ARRAYLENGTH o)Ensures the specific preconditions of the said instruction.voidvisitASTORE(ASTORE o)Ensures the specific preconditions of the said instruction.voidvisitATHROW(ATHROW o)Ensures the specific preconditions of the said instruction.voidvisitBALOAD(BALOAD o)Ensures the specific preconditions of the said instruction.voidvisitBASTORE(BASTORE o)Ensures the specific preconditions of the said instruction.voidvisitBIPUSH(BIPUSH o)Ensures the specific preconditions of the said instruction.voidvisitBREAKPOINT(BREAKPOINT o)Ensures the specific preconditions of the said instruction.voidvisitCALOAD(CALOAD o)Ensures the specific preconditions of the said instruction.voidvisitCASTORE(CASTORE o)Ensures the specific preconditions of the said instruction.voidvisitCHECKCAST(CHECKCAST o)Ensures the specific preconditions of the said instruction.voidvisitCPInstruction(CPInstruction o)Ensures the general preconditions of a CPInstruction instance.voidvisitD2F(D2F o)Ensures the specific preconditions of the said instruction.voidvisitD2I(D2I o)Ensures the specific preconditions of the said instruction.voidvisitD2L(D2L o)Ensures the specific preconditions of the said instruction.voidvisitDADD(DADD o)Ensures the specific preconditions of the said instruction.voidvisitDALOAD(DALOAD o)Ensures the specific preconditions of the said instruction.voidvisitDASTORE(DASTORE o)Ensures the specific preconditions of the said instruction.voidvisitDCMPG(DCMPG o)Ensures the specific preconditions of the said instruction.voidvisitDCMPL(DCMPL o)Ensures the specific preconditions of the said instruction.voidvisitDCONST(DCONST o)Ensures the specific preconditions of the said instruction.voidvisitDDIV(DDIV o)Ensures the specific preconditions of the said instruction.voidvisitDLOAD(DLOAD o)Ensures the specific preconditions of the said instruction.voidvisitDMUL(DMUL o)Ensures the specific preconditions of the said instruction.voidvisitDNEG(DNEG o)Ensures the specific preconditions of the said instruction.voidvisitDREM(DREM o)Ensures the specific preconditions of the said instruction.voidvisitDRETURN(DRETURN o)Ensures the specific preconditions of the said instruction.voidvisitDSTORE(DSTORE o)Ensures the specific preconditions of the said instruction.voidvisitDSUB(DSUB o)Ensures the specific preconditions of the said instruction.voidvisitDUP(DUP o)Ensures the specific preconditions of the said instruction.voidvisitDUP_X1(DUP_X1 o)Ensures the specific preconditions of the said instruction.voidvisitDUP_X2(DUP_X2 o)Ensures the specific preconditions of the said instruction.voidvisitDUP2(DUP2 o)Ensures the specific preconditions of the said instruction.voidvisitDUP2_X1(DUP2_X1 o)Ensures the specific preconditions of the said instruction.voidvisitDUP2_X2(DUP2_X2 o)Ensures the specific preconditions of the said instruction.voidvisitF2D(F2D o)Ensures the specific preconditions of the said instruction.voidvisitF2I(F2I o)Ensures the specific preconditions of the said instruction.voidvisitF2L(F2L o)Ensures the specific preconditions of the said instruction.voidvisitFADD(FADD o)Ensures the specific preconditions of the said instruction.voidvisitFALOAD(FALOAD o)Ensures the specific preconditions of the said instruction.voidvisitFASTORE(FASTORE o)Ensures the specific preconditions of the said instruction.voidvisitFCMPG(FCMPG o)Ensures the specific preconditions of the said instruction.voidvisitFCMPL(FCMPL o)Ensures the specific preconditions of the said instruction.voidvisitFCONST(FCONST o)Ensures the specific preconditions of the said instruction.voidvisitFDIV(FDIV o)Ensures the specific preconditions of the said instruction.voidvisitFieldInstruction(FieldInstruction o)Ensures the general preconditions of a FieldInstruction instance.private FieldvisitFieldInstructionInternals(FieldInstruction o)voidvisitFLOAD(FLOAD o)Ensures the specific preconditions of the said instruction.voidvisitFMUL(FMUL o)Ensures the specific preconditions of the said instruction.voidvisitFNEG(FNEG o)Ensures the specific preconditions of the said instruction.voidvisitFREM(FREM o)Ensures the specific preconditions of the said instruction.voidvisitFRETURN(FRETURN o)Ensures the specific preconditions of the said instruction.voidvisitFSTORE(FSTORE o)Ensures the specific preconditions of the said instruction.voidvisitFSUB(FSUB o)Ensures the specific preconditions of the said instruction.voidvisitGETFIELD(GETFIELD o)Ensures the specific preconditions of the said instruction.voidvisitGETSTATIC(GETSTATIC o)Ensures the specific preconditions of the said instruction.voidvisitGOTO(GOTO o)Ensures the specific preconditions of the said instruction.voidvisitGOTO_W(GOTO_W o)Ensures the specific preconditions of the said instruction.voidvisitI2B(I2B o)Ensures the specific preconditions of the said instruction.voidvisitI2C(I2C o)Ensures the specific preconditions of the said instruction.voidvisitI2D(I2D o)Ensures the specific preconditions of the said instruction.voidvisitI2F(I2F o)Ensures the specific preconditions of the said instruction.voidvisitI2L(I2L o)Ensures the specific preconditions of the said instruction.voidvisitI2S(I2S o)Ensures the specific preconditions of the said instruction.voidvisitIADD(IADD o)Ensures the specific preconditions of the said instruction.voidvisitIALOAD(IALOAD o)Ensures the specific preconditions of the said instruction.voidvisitIAND(IAND o)Ensures the specific preconditions of the said instruction.voidvisitIASTORE(IASTORE o)Ensures the specific preconditions of the said instruction.voidvisitICONST(ICONST o)Ensures the specific preconditions of the said instruction.voidvisitIDIV(IDIV o)Ensures the specific preconditions of the said instruction.voidvisitIF_ACMPEQ(IF_ACMPEQ o)Ensures the specific preconditions of the said instruction.voidvisitIF_ACMPNE(IF_ACMPNE o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPEQ(IF_ICMPEQ o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPGE(IF_ICMPGE o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPGT(IF_ICMPGT o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPLE(IF_ICMPLE o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPLT(IF_ICMPLT o)Ensures the specific preconditions of the said instruction.voidvisitIF_ICMPNE(IF_ICMPNE o)Ensures the specific preconditions of the said instruction.voidvisitIFEQ(IFEQ o)Ensures the specific preconditions of the said instruction.voidvisitIFGE(IFGE o)Ensures the specific preconditions of the said instruction.voidvisitIFGT(IFGT o)Ensures the specific preconditions of the said instruction.voidvisitIFLE(IFLE o)Ensures the specific preconditions of the said instruction.voidvisitIFLT(IFLT o)Ensures the specific preconditions of the said instruction.voidvisitIFNE(IFNE o)Ensures the specific preconditions of the said instruction.voidvisitIFNONNULL(IFNONNULL o)Ensures the specific preconditions of the said instruction.voidvisitIFNULL(IFNULL o)Ensures the specific preconditions of the said instruction.voidvisitIINC(IINC o)Ensures the specific preconditions of the said instruction.voidvisitILOAD(ILOAD o)Ensures the specific preconditions of the said instruction.voidvisitIMPDEP1(IMPDEP1 o)Ensures the specific preconditions of the said instruction.voidvisitIMPDEP2(IMPDEP2 o)Ensures the specific preconditions of the said instruction.voidvisitIMUL(IMUL o)Ensures the specific preconditions of the said instruction.voidvisitINEG(INEG o)Ensures the specific preconditions of the said instruction.voidvisitINSTANCEOF(INSTANCEOF o)Ensures the specific preconditions of the said instruction.voidvisitINVOKEDYNAMIC(INVOKEDYNAMIC o)Ensures the specific preconditions of the said instruction.voidvisitInvokeInstruction(InvokeInstruction o)Ensures the general preconditions of an InvokeInstruction instance.voidvisitINVOKEINTERFACE(INVOKEINTERFACE o)Ensures the specific preconditions of the said instruction.private intvisitInvokeInternals(InvokeInstruction o)voidvisitINVOKESPECIAL(INVOKESPECIAL o)Ensures the specific preconditions of the said instruction.voidvisitINVOKESTATIC(INVOKESTATIC o)Ensures the specific preconditions of the said instruction.voidvisitINVOKEVIRTUAL(INVOKEVIRTUAL o)Ensures the specific preconditions of the said instruction.voidvisitIOR(IOR o)Ensures the specific preconditions of the said instruction.voidvisitIREM(IREM o)Ensures the specific preconditions of the said instruction.voidvisitIRETURN(IRETURN o)Ensures the specific preconditions of the said instruction.voidvisitISHL(ISHL o)Ensures the specific preconditions of the said instruction.voidvisitISHR(ISHR o)Ensures the specific preconditions of the said instruction.voidvisitISTORE(ISTORE o)Ensures the specific preconditions of the said instruction.voidvisitISUB(ISUB o)Ensures the specific preconditions of the said instruction.voidvisitIUSHR(IUSHR o)Ensures the specific preconditions of the said instruction.voidvisitIXOR(IXOR o)Ensures the specific preconditions of the said instruction.voidvisitJSR(JSR o)Ensures the specific preconditions of the said instruction.voidvisitJSR_W(JSR_W o)Ensures the specific preconditions of the said instruction.voidvisitL2D(L2D o)Ensures the specific preconditions of the said instruction.voidvisitL2F(L2F o)Ensures the specific preconditions of the said instruction.voidvisitL2I(L2I o)Ensures the specific preconditions of the said instruction.voidvisitLADD(LADD o)Ensures the specific preconditions of the said instruction.voidvisitLALOAD(LALOAD o)Ensures the specific preconditions of the said instruction.voidvisitLAND(LAND o)Ensures the specific preconditions of the said instruction.voidvisitLASTORE(LASTORE o)Ensures the specific preconditions of the said instruction.voidvisitLCMP(LCMP o)Ensures the specific preconditions of the said instruction.voidvisitLCONST(LCONST o)Ensures the specific preconditions of the said instruction.voidvisitLDC(LDC o)Ensures the specific preconditions of the said instruction.voidvisitLDC_W(LDC_W o)Ensures the specific preconditions of the said instruction.voidvisitLDC2_W(LDC2_W o)Ensures the specific preconditions of the said instruction.voidvisitLDIV(LDIV o)Ensures the specific preconditions of the said instruction.voidvisitLLOAD(LLOAD o)Ensures the specific preconditions of the said instruction.voidvisitLMUL(LMUL o)Ensures the specific preconditions of the said instruction.voidvisitLNEG(LNEG o)Ensures the specific preconditions of the said instruction.voidvisitLoadClass(LoadClass o)Assures the generic preconditions of a LoadClass instance.voidvisitLoadInstruction(LoadInstruction o)Assures the generic preconditions of a LoadInstruction instance.voidvisitLocalVariableInstruction(LocalVariableInstruction o)Assures the generic preconditions of a LocalVariableInstruction instance.voidvisitLOOKUPSWITCH(LOOKUPSWITCH o)Ensures the specific preconditions of the said instruction.voidvisitLOR(LOR o)Ensures the specific preconditions of the said instruction.voidvisitLREM(LREM o)Ensures the specific preconditions of the said instruction.voidvisitLRETURN(LRETURN o)Ensures the specific preconditions of the said instruction.voidvisitLSHL(LSHL o)Ensures the specific preconditions of the said instruction.voidvisitLSHR(LSHR o)Ensures the specific preconditions of the said instruction.voidvisitLSTORE(LSTORE o)Ensures the specific preconditions of the said instruction.voidvisitLSUB(LSUB o)Ensures the specific preconditions of the said instruction.voidvisitLUSHR(LUSHR o)Ensures the specific preconditions of the said instruction.voidvisitLXOR(LXOR o)Ensures the specific preconditions of the said instruction.voidvisitMONITORENTER(MONITORENTER o)Ensures the specific preconditions of the said instruction.voidvisitMONITOREXIT(MONITOREXIT o)Ensures the specific preconditions of the said instruction.voidvisitMULTIANEWARRAY(MULTIANEWARRAY o)Ensures the specific preconditions of the said instruction.voidvisitNEW(NEW o)Ensures the specific preconditions of the said instruction.voidvisitNEWARRAY(NEWARRAY o)Ensures the specific preconditions of the said instruction.voidvisitNOP(NOP o)Ensures the specific preconditions of the said instruction.voidvisitPOP(POP o)Ensures the specific preconditions of the said instruction.voidvisitPOP2(POP2 o)Ensures the specific preconditions of the said instruction.voidvisitPUTFIELD(PUTFIELD o)Ensures the specific preconditions of the said instruction.voidvisitPUTSTATIC(PUTSTATIC o)Ensures the specific preconditions of the said instruction.voidvisitRET(RET o)Ensures the specific preconditions of the said instruction.voidvisitRETURN(RETURN o)Ensures the specific preconditions of the said instruction.voidvisitReturnInstruction(ReturnInstruction o)Assures the generic preconditions of a ReturnInstruction instance.voidvisitSALOAD(SALOAD o)Ensures the specific preconditions of the said instruction.voidvisitSASTORE(SASTORE o)Ensures the specific preconditions of the said instruction.voidvisitSIPUSH(SIPUSH o)Ensures the specific preconditions of the said instruction.private voidvisitStackAccessor(Instruction o)Ensures the general preconditions of an instruction that accesses the stack.voidvisitStackConsumer(StackConsumer o)Ensures the general preconditions of a StackConsumer instance.voidvisitStackInstruction(StackInstruction o)Ensures the general preconditions of a StackInstruction instance.voidvisitStackProducer(StackProducer o)Ensures the general preconditions of a StackProducer instance.voidvisitStoreInstruction(StoreInstruction o)Assures the generic preconditions of a StoreInstruction instance.voidvisitSWAP(SWAP o)Ensures the specific preconditions of the said instruction.voidvisitTABLESWITCH(TABLESWITCH o)Ensures the specific preconditions of the said instruction.-
Methods inherited from class org.apache.bcel.generic.EmptyVisitor
visitAllocationInstruction, visitArithmeticInstruction, visitArrayInstruction, visitBranchInstruction, visitConstantPushInstruction, visitConversionInstruction, visitExceptionThrower, visitFieldOrMethod, visitGotoInstruction, visitIfInstruction, visitJsrInstruction, visitPopInstruction, visitPushInstruction, visitSelect, visitTypedInstruction, visitUnconditionalBranch, visitVariableLengthInstruction
-
-
-
-
Field Detail
-
GENERIC_ARRAY
private static final ObjectType GENERIC_ARRAY
-
frame
private Frame frame
The Execution Frame we're working on.- See Also:
setFrame(Frame f),locals(),stack()
-
cpg
private ConstantPoolGen cpg
The ConstantPoolGen we're working on.- See Also:
setConstantPoolGen(ConstantPoolGen cpg)
-
mg
private MethodGen mg
The MethodGen we're working on.- See Also:
setMethodGen(MethodGen mg)
-
-
Method Detail
-
arrayrefOfArrayType
private boolean arrayrefOfArrayType(Instruction o, Type arrayref)
Assures arrayref is of ArrayType or NULL; returns true if and only if arrayref is non-NULL.- Throws:
StructuralCodeConstraintException- if the above constraint is violated.
-
constraintViolated
private void constraintViolated(Instruction violator, java.lang.String description)
This method is called by the visitXXX() to notify the acceptor of this InstConstraintVisitor that a constraint violation has occurred. This is done by throwing an instance of a StructuralCodeConstraintException.- Throws:
StructuralCodeConstraintException- always.
-
getObjectType
private ObjectType getObjectType(FieldInstruction o)
-
indexOfInt
private void indexOfInt(Instruction o, Type index)
Assures index is of type INT.- Throws:
StructuralCodeConstraintException- if the above constraint is not satisfied.
-
locals
private LocalVariables locals()
The LocalVariables we're working on.- See Also:
setFrame(Frame f)
-
referenceTypeIsInitialized
private void referenceTypeIsInitialized(Instruction o, ReferenceType r)
Assures the ReferenceType r is initialized (or Type.NULL). Formally, this means (!(r instanceof UninitializedObjectType)), because there are no uninitialized array types.- Throws:
StructuralCodeConstraintException- if the above constraint is not satisfied.
-
setConstantPoolGen
public void setConstantPoolGen(ConstantPoolGen cpg)
Sets the ConstantPoolGen instance needed for constraint checking prior to execution.- Parameters:
cpg- the constant pool generator.
-
setFrame
public void setFrame(Frame f)
This returns the single instance of the InstConstraintVisitor class. To operate correctly, other values must have been set before actually using the instance. Use this method for performance reasons.- Parameters:
f- the frame to set.- See Also:
setConstantPoolGen(ConstantPoolGen cpg),setMethodGen(MethodGen mg)
-
setMethodGen
public void setMethodGen(MethodGen mg)
Sets the MethodGen instance needed for constraint checking prior to execution.- Parameters:
mg- the method generator.
-
stack
private OperandStack stack()
The OperandStack we're working on.- See Also:
setFrame(Frame f)
-
valueOfInt
private void valueOfInt(Instruction o, Type value)
Assures value is of type INT.
-
visitAALOAD
public void visitAALOAD(AALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitAALOADin interfaceVisitor- Overrides:
visitAALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitAASTORE
public void visitAASTORE(AASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitAASTOREin interfaceVisitor- Overrides:
visitAASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitACONST_NULL
public void visitACONST_NULL(ACONST_NULL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitACONST_NULLin interfaceVisitor- Overrides:
visitACONST_NULLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitALOAD
public void visitALOAD(ALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitALOADin interfaceVisitor- Overrides:
visitALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitANEWARRAY
public void visitANEWARRAY(ANEWARRAY o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitANEWARRAYin interfaceVisitor- Overrides:
visitANEWARRAYin classEmptyVisitor- Parameters:
o- the instruction.
-
visitARETURN
public void visitARETURN(ARETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitARETURNin interfaceVisitor- Overrides:
visitARETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitARRAYLENGTH
public void visitARRAYLENGTH(ARRAYLENGTH o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitARRAYLENGTHin interfaceVisitor- Overrides:
visitARRAYLENGTHin classEmptyVisitor- Parameters:
o- the instruction.
-
visitASTORE
public void visitASTORE(ASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitASTOREin interfaceVisitor- Overrides:
visitASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitATHROW
public void visitATHROW(ATHROW o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitATHROWin interfaceVisitor- Overrides:
visitATHROWin classEmptyVisitor- Parameters:
o- the instruction.
-
visitBALOAD
public void visitBALOAD(BALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitBALOADin interfaceVisitor- Overrides:
visitBALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitBASTORE
public void visitBASTORE(BASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitBASTOREin interfaceVisitor- Overrides:
visitBASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitBIPUSH
public void visitBIPUSH(BIPUSH o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitBIPUSHin interfaceVisitor- Overrides:
visitBIPUSHin classEmptyVisitor- Parameters:
o- the instruction.
-
visitBREAKPOINT
public void visitBREAKPOINT(BREAKPOINT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitBREAKPOINTin interfaceVisitor- Overrides:
visitBREAKPOINTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitCALOAD
public void visitCALOAD(CALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitCALOADin interfaceVisitor- Overrides:
visitCALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitCASTORE
public void visitCASTORE(CASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitCASTOREin interfaceVisitor- Overrides:
visitCASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitCHECKCAST
public void visitCHECKCAST(CHECKCAST o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitCHECKCASTin interfaceVisitor- Overrides:
visitCHECKCASTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitCPInstruction
public void visitCPInstruction(CPInstruction o)
Ensures the general preconditions of a CPInstruction instance.- Specified by:
visitCPInstructionin interfaceVisitor- Overrides:
visitCPInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitD2F
public void visitD2F(D2F o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitD2Fin interfaceVisitor- Overrides:
visitD2Fin classEmptyVisitor- Parameters:
o- the instruction.
-
visitD2I
public void visitD2I(D2I o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitD2Iin interfaceVisitor- Overrides:
visitD2Iin classEmptyVisitor- Parameters:
o- the instruction.
-
visitD2L
public void visitD2L(D2L o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitD2Lin interfaceVisitor- Overrides:
visitD2Lin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDADD
public void visitDADD(DADD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDADDin interfaceVisitor- Overrides:
visitDADDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDALOAD
public void visitDALOAD(DALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDALOADin interfaceVisitor- Overrides:
visitDALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDASTORE
public void visitDASTORE(DASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDASTOREin interfaceVisitor- Overrides:
visitDASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDCMPG
public void visitDCMPG(DCMPG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDCMPGin interfaceVisitor- Overrides:
visitDCMPGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDCMPL
public void visitDCMPL(DCMPL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDCMPLin interfaceVisitor- Overrides:
visitDCMPLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDCONST
public void visitDCONST(DCONST o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDCONSTin interfaceVisitor- Overrides:
visitDCONSTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDDIV
public void visitDDIV(DDIV o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDDIVin interfaceVisitor- Overrides:
visitDDIVin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDLOAD
public void visitDLOAD(DLOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDLOADin interfaceVisitor- Overrides:
visitDLOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDMUL
public void visitDMUL(DMUL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDMULin interfaceVisitor- Overrides:
visitDMULin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDNEG
public void visitDNEG(DNEG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDNEGin interfaceVisitor- Overrides:
visitDNEGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDREM
public void visitDREM(DREM o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDREMin interfaceVisitor- Overrides:
visitDREMin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDRETURN
public void visitDRETURN(DRETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDRETURNin interfaceVisitor- Overrides:
visitDRETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDSTORE
public void visitDSTORE(DSTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDSTOREin interfaceVisitor- Overrides:
visitDSTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDSUB
public void visitDSUB(DSUB o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDSUBin interfaceVisitor- Overrides:
visitDSUBin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP
public void visitDUP(DUP o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUPin interfaceVisitor- Overrides:
visitDUPin classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP_X1
public void visitDUP_X1(DUP_X1 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUP_X1in interfaceVisitor- Overrides:
visitDUP_X1in classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP_X2
public void visitDUP_X2(DUP_X2 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUP_X2in interfaceVisitor- Overrides:
visitDUP_X2in classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP2
public void visitDUP2(DUP2 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUP2in interfaceVisitor- Overrides:
visitDUP2in classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP2_X1
public void visitDUP2_X1(DUP2_X1 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUP2_X1in interfaceVisitor- Overrides:
visitDUP2_X1in classEmptyVisitor- Parameters:
o- the instruction.
-
visitDUP2_X2
public void visitDUP2_X2(DUP2_X2 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitDUP2_X2in interfaceVisitor- Overrides:
visitDUP2_X2in classEmptyVisitor- Parameters:
o- the instruction.
-
visitF2D
public void visitF2D(F2D o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitF2Din interfaceVisitor- Overrides:
visitF2Din classEmptyVisitor- Parameters:
o- the instruction.
-
visitF2I
public void visitF2I(F2I o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitF2Iin interfaceVisitor- Overrides:
visitF2Iin classEmptyVisitor- Parameters:
o- the instruction.
-
visitF2L
public void visitF2L(F2L o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitF2Lin interfaceVisitor- Overrides:
visitF2Lin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFADD
public void visitFADD(FADD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFADDin interfaceVisitor- Overrides:
visitFADDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFALOAD
public void visitFALOAD(FALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFALOADin interfaceVisitor- Overrides:
visitFALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFASTORE
public void visitFASTORE(FASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFASTOREin interfaceVisitor- Overrides:
visitFASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFCMPG
public void visitFCMPG(FCMPG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFCMPGin interfaceVisitor- Overrides:
visitFCMPGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFCMPL
public void visitFCMPL(FCMPL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFCMPLin interfaceVisitor- Overrides:
visitFCMPLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFCONST
public void visitFCONST(FCONST o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFCONSTin interfaceVisitor- Overrides:
visitFCONSTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFDIV
public void visitFDIV(FDIV o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFDIVin interfaceVisitor- Overrides:
visitFDIVin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFieldInstruction
public void visitFieldInstruction(FieldInstruction o)
Ensures the general preconditions of a FieldInstruction instance.- Specified by:
visitFieldInstructionin interfaceVisitor- Overrides:
visitFieldInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFieldInstructionInternals
private Field visitFieldInstructionInternals(FieldInstruction o) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
visitFLOAD
public void visitFLOAD(FLOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFLOADin interfaceVisitor- Overrides:
visitFLOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFMUL
public void visitFMUL(FMUL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFMULin interfaceVisitor- Overrides:
visitFMULin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFNEG
public void visitFNEG(FNEG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFNEGin interfaceVisitor- Overrides:
visitFNEGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFREM
public void visitFREM(FREM o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFREMin interfaceVisitor- Overrides:
visitFREMin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFRETURN
public void visitFRETURN(FRETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFRETURNin interfaceVisitor- Overrides:
visitFRETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFSTORE
public void visitFSTORE(FSTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFSTOREin interfaceVisitor- Overrides:
visitFSTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitFSUB
public void visitFSUB(FSUB o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitFSUBin interfaceVisitor- Overrides:
visitFSUBin classEmptyVisitor- Parameters:
o- the instruction.
-
visitGETFIELD
public void visitGETFIELD(GETFIELD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitGETFIELDin interfaceVisitor- Overrides:
visitGETFIELDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitGETSTATIC
public void visitGETSTATIC(GETSTATIC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitGETSTATICin interfaceVisitor- Overrides:
visitGETSTATICin classEmptyVisitor- Parameters:
o- the instruction.
-
visitGOTO
public void visitGOTO(GOTO o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitGOTOin interfaceVisitor- Overrides:
visitGOTOin classEmptyVisitor- Parameters:
o- the instruction.
-
visitGOTO_W
public void visitGOTO_W(GOTO_W o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitGOTO_Win interfaceVisitor- Overrides:
visitGOTO_Win classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2B
public void visitI2B(I2B o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Bin interfaceVisitor- Overrides:
visitI2Bin classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2C
public void visitI2C(I2C o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Cin interfaceVisitor- Overrides:
visitI2Cin classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2D
public void visitI2D(I2D o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Din interfaceVisitor- Overrides:
visitI2Din classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2F
public void visitI2F(I2F o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Fin interfaceVisitor- Overrides:
visitI2Fin classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2L
public void visitI2L(I2L o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Lin interfaceVisitor- Overrides:
visitI2Lin classEmptyVisitor- Parameters:
o- the instruction.
-
visitI2S
public void visitI2S(I2S o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitI2Sin interfaceVisitor- Overrides:
visitI2Sin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIADD
public void visitIADD(IADD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIADDin interfaceVisitor- Overrides:
visitIADDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIALOAD
public void visitIALOAD(IALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIALOADin interfaceVisitor- Overrides:
visitIALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIAND
public void visitIAND(IAND o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIANDin interfaceVisitor- Overrides:
visitIANDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIASTORE
public void visitIASTORE(IASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIASTOREin interfaceVisitor- Overrides:
visitIASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitICONST
public void visitICONST(ICONST o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitICONSTin interfaceVisitor- Overrides:
visitICONSTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIDIV
public void visitIDIV(IDIV o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIDIVin interfaceVisitor- Overrides:
visitIDIVin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ACMPEQ
public void visitIF_ACMPEQ(IF_ACMPEQ o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ACMPEQin interfaceVisitor- Overrides:
visitIF_ACMPEQin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ACMPNE
public void visitIF_ACMPNE(IF_ACMPNE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ACMPNEin interfaceVisitor- Overrides:
visitIF_ACMPNEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPEQ
public void visitIF_ICMPEQ(IF_ICMPEQ o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPEQin interfaceVisitor- Overrides:
visitIF_ICMPEQin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPGE
public void visitIF_ICMPGE(IF_ICMPGE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPGEin interfaceVisitor- Overrides:
visitIF_ICMPGEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPGT
public void visitIF_ICMPGT(IF_ICMPGT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPGTin interfaceVisitor- Overrides:
visitIF_ICMPGTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPLE
public void visitIF_ICMPLE(IF_ICMPLE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPLEin interfaceVisitor- Overrides:
visitIF_ICMPLEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPLT
public void visitIF_ICMPLT(IF_ICMPLT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPLTin interfaceVisitor- Overrides:
visitIF_ICMPLTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIF_ICMPNE
public void visitIF_ICMPNE(IF_ICMPNE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIF_ICMPNEin interfaceVisitor- Overrides:
visitIF_ICMPNEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFEQ
public void visitIFEQ(IFEQ o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFEQin interfaceVisitor- Overrides:
visitIFEQin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFGE
public void visitIFGE(IFGE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFGEin interfaceVisitor- Overrides:
visitIFGEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFGT
public void visitIFGT(IFGT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFGTin interfaceVisitor- Overrides:
visitIFGTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFLE
public void visitIFLE(IFLE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFLEin interfaceVisitor- Overrides:
visitIFLEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFLT
public void visitIFLT(IFLT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFLTin interfaceVisitor- Overrides:
visitIFLTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFNE
public void visitIFNE(IFNE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFNEin interfaceVisitor- Overrides:
visitIFNEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFNONNULL
public void visitIFNONNULL(IFNONNULL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFNONNULLin interfaceVisitor- Overrides:
visitIFNONNULLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIFNULL
public void visitIFNULL(IFNULL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIFNULLin interfaceVisitor- Overrides:
visitIFNULLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIINC
public void visitIINC(IINC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIINCin interfaceVisitor- Overrides:
visitIINCin classEmptyVisitor- Parameters:
o- the instruction.
-
visitILOAD
public void visitILOAD(ILOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitILOADin interfaceVisitor- Overrides:
visitILOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIMPDEP1
public void visitIMPDEP1(IMPDEP1 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIMPDEP1in interfaceVisitor- Overrides:
visitIMPDEP1in classEmptyVisitor- Parameters:
o- the instruction.
-
visitIMPDEP2
public void visitIMPDEP2(IMPDEP2 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIMPDEP2in interfaceVisitor- Overrides:
visitIMPDEP2in classEmptyVisitor- Parameters:
o- the instruction.
-
visitIMUL
public void visitIMUL(IMUL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIMULin interfaceVisitor- Overrides:
visitIMULin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINEG
public void visitINEG(INEG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINEGin interfaceVisitor- Overrides:
visitINEGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINSTANCEOF
public void visitINSTANCEOF(INSTANCEOF o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINSTANCEOFin interfaceVisitor- Overrides:
visitINSTANCEOFin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINVOKEDYNAMIC
public void visitINVOKEDYNAMIC(INVOKEDYNAMIC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINVOKEDYNAMICin interfaceVisitor- Overrides:
visitINVOKEDYNAMICin classEmptyVisitor- Parameters:
o- the instruction.- Since:
- 6.0
-
visitInvokeInstruction
public void visitInvokeInstruction(InvokeInstruction o)
Ensures the general preconditions of an InvokeInstruction instance.- Specified by:
visitInvokeInstructionin interfaceVisitor- Overrides:
visitInvokeInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINVOKEINTERFACE
public void visitINVOKEINTERFACE(INVOKEINTERFACE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINVOKEINTERFACEin interfaceVisitor- Overrides:
visitINVOKEINTERFACEin classEmptyVisitor- Parameters:
o- the instruction.
-
visitInvokeInternals
private int visitInvokeInternals(InvokeInstruction o) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
visitINVOKESPECIAL
public void visitINVOKESPECIAL(INVOKESPECIAL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINVOKESPECIALin interfaceVisitor- Overrides:
visitINVOKESPECIALin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINVOKESTATIC
public void visitINVOKESTATIC(INVOKESTATIC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINVOKESTATICin interfaceVisitor- Overrides:
visitINVOKESTATICin classEmptyVisitor- Parameters:
o- the instruction.
-
visitINVOKEVIRTUAL
public void visitINVOKEVIRTUAL(INVOKEVIRTUAL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitINVOKEVIRTUALin interfaceVisitor- Overrides:
visitINVOKEVIRTUALin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIOR
public void visitIOR(IOR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIORin interfaceVisitor- Overrides:
visitIORin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIREM
public void visitIREM(IREM o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIREMin interfaceVisitor- Overrides:
visitIREMin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIRETURN
public void visitIRETURN(IRETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIRETURNin interfaceVisitor- Overrides:
visitIRETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitISHL
public void visitISHL(ISHL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitISHLin interfaceVisitor- Overrides:
visitISHLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitISHR
public void visitISHR(ISHR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitISHRin interfaceVisitor- Overrides:
visitISHRin classEmptyVisitor- Parameters:
o- the instruction.
-
visitISTORE
public void visitISTORE(ISTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitISTOREin interfaceVisitor- Overrides:
visitISTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitISUB
public void visitISUB(ISUB o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitISUBin interfaceVisitor- Overrides:
visitISUBin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIUSHR
public void visitIUSHR(IUSHR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIUSHRin interfaceVisitor- Overrides:
visitIUSHRin classEmptyVisitor- Parameters:
o- the instruction.
-
visitIXOR
public void visitIXOR(IXOR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitIXORin interfaceVisitor- Overrides:
visitIXORin classEmptyVisitor- Parameters:
o- the instruction.
-
visitJSR
public void visitJSR(JSR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitJSRin interfaceVisitor- Overrides:
visitJSRin classEmptyVisitor- Parameters:
o- the instruction.
-
visitJSR_W
public void visitJSR_W(JSR_W o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitJSR_Win interfaceVisitor- Overrides:
visitJSR_Win classEmptyVisitor- Parameters:
o- the instruction.
-
visitL2D
public void visitL2D(L2D o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitL2Din interfaceVisitor- Overrides:
visitL2Din classEmptyVisitor- Parameters:
o- the instruction.
-
visitL2F
public void visitL2F(L2F o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitL2Fin interfaceVisitor- Overrides:
visitL2Fin classEmptyVisitor- Parameters:
o- the instruction.
-
visitL2I
public void visitL2I(L2I o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitL2Iin interfaceVisitor- Overrides:
visitL2Iin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLADD
public void visitLADD(LADD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLADDin interfaceVisitor- Overrides:
visitLADDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLALOAD
public void visitLALOAD(LALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLALOADin interfaceVisitor- Overrides:
visitLALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLAND
public void visitLAND(LAND o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLANDin interfaceVisitor- Overrides:
visitLANDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLASTORE
public void visitLASTORE(LASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLASTOREin interfaceVisitor- Overrides:
visitLASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLCMP
public void visitLCMP(LCMP o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLCMPin interfaceVisitor- Overrides:
visitLCMPin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLCONST
public void visitLCONST(LCONST o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLCONSTin interfaceVisitor- Overrides:
visitLCONSTin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLDC
public void visitLDC(LDC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLDCin interfaceVisitor- Overrides:
visitLDCin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLDC_W
public void visitLDC_W(LDC_W o)
Ensures the specific preconditions of the said instruction.- Parameters:
o- the instruction to visit.
-
visitLDC2_W
public void visitLDC2_W(LDC2_W o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLDC2_Win interfaceVisitor- Overrides:
visitLDC2_Win classEmptyVisitor- Parameters:
o- the instruction.
-
visitLDIV
public void visitLDIV(LDIV o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLDIVin interfaceVisitor- Overrides:
visitLDIVin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLLOAD
public void visitLLOAD(LLOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLLOADin interfaceVisitor- Overrides:
visitLLOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLMUL
public void visitLMUL(LMUL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLMULin interfaceVisitor- Overrides:
visitLMULin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLNEG
public void visitLNEG(LNEG o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLNEGin interfaceVisitor- Overrides:
visitLNEGin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLoadClass
public void visitLoadClass(LoadClass o)
Assures the generic preconditions of a LoadClass instance. The referenced class is loaded and pass2-verified.- Specified by:
visitLoadClassin interfaceVisitor- Overrides:
visitLoadClassin classEmptyVisitor- Parameters:
o- the load class.
-
visitLoadInstruction
public void visitLoadInstruction(LoadInstruction o)
Assures the generic preconditions of a LoadInstruction instance.- Specified by:
visitLoadInstructionin interfaceVisitor- Overrides:
visitLoadInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLocalVariableInstruction
public void visitLocalVariableInstruction(LocalVariableInstruction o)
Assures the generic preconditions of a LocalVariableInstruction instance. That is, the index of the local variable must be valid.- Specified by:
visitLocalVariableInstructionin interfaceVisitor- Overrides:
visitLocalVariableInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLOOKUPSWITCH
public void visitLOOKUPSWITCH(LOOKUPSWITCH o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLOOKUPSWITCHin interfaceVisitor- Overrides:
visitLOOKUPSWITCHin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLOR
public void visitLOR(LOR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLORin interfaceVisitor- Overrides:
visitLORin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLREM
public void visitLREM(LREM o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLREMin interfaceVisitor- Overrides:
visitLREMin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLRETURN
public void visitLRETURN(LRETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLRETURNin interfaceVisitor- Overrides:
visitLRETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLSHL
public void visitLSHL(LSHL o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLSHLin interfaceVisitor- Overrides:
visitLSHLin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLSHR
public void visitLSHR(LSHR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLSHRin interfaceVisitor- Overrides:
visitLSHRin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLSTORE
public void visitLSTORE(LSTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLSTOREin interfaceVisitor- Overrides:
visitLSTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLSUB
public void visitLSUB(LSUB o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLSUBin interfaceVisitor- Overrides:
visitLSUBin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLUSHR
public void visitLUSHR(LUSHR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLUSHRin interfaceVisitor- Overrides:
visitLUSHRin classEmptyVisitor- Parameters:
o- the instruction.
-
visitLXOR
public void visitLXOR(LXOR o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitLXORin interfaceVisitor- Overrides:
visitLXORin classEmptyVisitor- Parameters:
o- the instruction.
-
visitMONITORENTER
public void visitMONITORENTER(MONITORENTER o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitMONITORENTERin interfaceVisitor- Overrides:
visitMONITORENTERin classEmptyVisitor- Parameters:
o- the instruction.
-
visitMONITOREXIT
public void visitMONITOREXIT(MONITOREXIT o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitMONITOREXITin interfaceVisitor- Overrides:
visitMONITOREXITin classEmptyVisitor- Parameters:
o- the instruction.
-
visitMULTIANEWARRAY
public void visitMULTIANEWARRAY(MULTIANEWARRAY o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitMULTIANEWARRAYin interfaceVisitor- Overrides:
visitMULTIANEWARRAYin classEmptyVisitor- Parameters:
o- the instruction.
-
visitNEW
public void visitNEW(NEW o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitNEWin interfaceVisitor- Overrides:
visitNEWin classEmptyVisitor- Parameters:
o- the instruction.
-
visitNEWARRAY
public void visitNEWARRAY(NEWARRAY o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitNEWARRAYin interfaceVisitor- Overrides:
visitNEWARRAYin classEmptyVisitor- Parameters:
o- the instruction.
-
visitNOP
public void visitNOP(NOP o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitNOPin interfaceVisitor- Overrides:
visitNOPin classEmptyVisitor- Parameters:
o- the instruction.
-
visitPOP
public void visitPOP(POP o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitPOPin interfaceVisitor- Overrides:
visitPOPin classEmptyVisitor- Parameters:
o- the instruction.
-
visitPOP2
public void visitPOP2(POP2 o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitPOP2in interfaceVisitor- Overrides:
visitPOP2in classEmptyVisitor- Parameters:
o- the instruction.
-
visitPUTFIELD
public void visitPUTFIELD(PUTFIELD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitPUTFIELDin interfaceVisitor- Overrides:
visitPUTFIELDin classEmptyVisitor- Parameters:
o- the instruction.
-
visitPUTSTATIC
public void visitPUTSTATIC(PUTSTATIC o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitPUTSTATICin interfaceVisitor- Overrides:
visitPUTSTATICin classEmptyVisitor- Parameters:
o- the instruction.
-
visitRET
public void visitRET(RET o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitRETin interfaceVisitor- Overrides:
visitRETin classEmptyVisitor- Parameters:
o- the instruction.
-
visitRETURN
public void visitRETURN(RETURN o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitRETURNin interfaceVisitor- Overrides:
visitRETURNin classEmptyVisitor- Parameters:
o- the instruction.
-
visitReturnInstruction
public void visitReturnInstruction(ReturnInstruction o)
Assures the generic preconditions of a ReturnInstruction instance.- Specified by:
visitReturnInstructionin interfaceVisitor- Overrides:
visitReturnInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitSALOAD
public void visitSALOAD(SALOAD o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitSALOADin interfaceVisitor- Overrides:
visitSALOADin classEmptyVisitor- Parameters:
o- the instruction.
-
visitSASTORE
public void visitSASTORE(SASTORE o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitSASTOREin interfaceVisitor- Overrides:
visitSASTOREin classEmptyVisitor- Parameters:
o- the instruction.
-
visitSIPUSH
public void visitSIPUSH(SIPUSH o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitSIPUSHin interfaceVisitor- Overrides:
visitSIPUSHin classEmptyVisitor- Parameters:
o- the instruction.
-
visitStackAccessor
private void visitStackAccessor(Instruction o)
Ensures the general preconditions of an instruction that accesses the stack. This method is here because BCEL has no such superinterface for the stack accessing instructions; and there are funny unexpected exceptions in the semantices of the superinterfaces and superclasses provided. E.g. SWAP is a StackConsumer, but DUP_X1 is not a StackProducer. Therefore, this method is called by all StackProducer, StackConsumer, and StackInstruction instances via their visitXXX() method. Unfortunately, as the superclasses and superinterfaces overlap, some instructions cause this method to be called two or three times. [TODO: Fix this.]
-
visitStackConsumer
public void visitStackConsumer(StackConsumer o)
Ensures the general preconditions of a StackConsumer instance.- Specified by:
visitStackConsumerin interfaceVisitor- Overrides:
visitStackConsumerin classEmptyVisitor- Parameters:
o- the instruction.
-
visitStackInstruction
public void visitStackInstruction(StackInstruction o)
Ensures the general preconditions of a StackInstruction instance.- Specified by:
visitStackInstructionin interfaceVisitor- Overrides:
visitStackInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitStackProducer
public void visitStackProducer(StackProducer o)
Ensures the general preconditions of a StackProducer instance.- Specified by:
visitStackProducerin interfaceVisitor- Overrides:
visitStackProducerin classEmptyVisitor- Parameters:
o- the instruction.
-
visitStoreInstruction
public void visitStoreInstruction(StoreInstruction o)
Assures the generic preconditions of a StoreInstruction instance.- Specified by:
visitStoreInstructionin interfaceVisitor- Overrides:
visitStoreInstructionin classEmptyVisitor- Parameters:
o- the instruction.
-
visitSWAP
public void visitSWAP(SWAP o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitSWAPin interfaceVisitor- Overrides:
visitSWAPin classEmptyVisitor- Parameters:
o- the instruction.
-
visitTABLESWITCH
public void visitTABLESWITCH(TABLESWITCH o)
Ensures the specific preconditions of the said instruction.- Specified by:
visitTABLESWITCHin interfaceVisitor- Overrides:
visitTABLESWITCHin classEmptyVisitor- Parameters:
o- the instruction.
-
-