Package edu.umd.cs.findbugs.bcel

Examples of edu.umd.cs.findbugs.bcel.OpcodeStackDetector


        String methodName = visitor.getNameConstantOperand();
        String methodSig = visitor.getSigConstantOperand();

        if (visitor instanceof OpcodeStackDetector && visitor.getOpcode() != Constants.INVOKESTATIC) {
            int params = PreorderVisitor.getNumberArguments(methodSig);
            OpcodeStackDetector oVisitor = (OpcodeStackDetector) visitor;
            if (!oVisitor.getStack().isTop() && oVisitor.getStack().getStackDepth() > params) {
                OpcodeStack.Item item = oVisitor.getStack().getStackItem(params);
                String cName = ClassName.fromFieldSignature(item.getSignature());
                if (cName != null) {
                    className = cName;
                }
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.bcel.OpcodeStackDetector

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.