Package org.freud.analysed.classbytecode.method.instruction

Examples of org.freud.analysed.classbytecode.method.instruction.Instruction


                break;
        }
    }

    public void visitMultiANewArrayInsn(final String desc, final int dims) {
        final Instruction instruction = new ReferenceOperandInstruction(instructionList.size(), Opcode.MULTIANEWARRAY, currentLineNumber, desc, dims);
        updateCurrentState(instruction);
    }
View Full Code Here


                item.findInstruction(new AbstractInstructionVisitor() {
                    @Override
                    public void methodInvocation(final Instruction instruction, final String owner, final String methodName, final String... args) {
                        if (!found[0] && expectedOwnerName.equals(owner) &&
                                expectedMethodName.equals(methodName)) {
                            Instruction prevInstruction = item.getInstruction(instruction.getInstructionIndex() - 1);
                            OperandStack operandStack = prevInstruction.getOperandStack();
                            found[0] = true;
                            for (int i = expectedParamsPassed.length - 1; i >= 0; i--) {
                                Matcher<OperandStack> matcher = expectedParamsPassed[i];
                                if (!matcher.matches(operandStack)) {
                                    found[0] = false;
View Full Code Here

TOP

Related Classes of org.freud.analysed.classbytecode.method.instruction.Instruction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.