Class FindNonShortCircuit

    • Field Detail

      • NS_NON_SHORT_CIRCUIT

        static final java.lang.String NS_NON_SHORT_CIRCUIT
        See Also:
        Constant Field Values
      • NS_DANGEROUS_NON_SHORT_CIRCUIT

        static final java.lang.String NS_DANGEROUS_NON_SHORT_CIRCUIT
        See Also:
        Constant Field Values
      • stage1

        int stage1
      • stage2

        int stage2
      • distance

        int distance
      • operator

        int operator
      • sawDanger

        boolean sawDanger
      • sawNullTestOld

        boolean sawNullTestOld
      • sawNullTestVeryOld

        boolean sawNullTestVeryOld
      • sawNullTest

        boolean sawNullTest
      • sawDangerOld

        boolean sawDangerOld
      • sawNumericTest

        boolean sawNumericTest
      • sawNumericTestOld

        boolean sawNumericTestOld
      • sawNumericTestVeryOld

        boolean sawNumericTestVeryOld
      • sawArrayDanger

        boolean sawArrayDanger
      • sawArrayDangerOld

        boolean sawArrayDangerOld
      • sawMethodCall

        boolean sawMethodCall
      • sawMethodCallOld

        boolean sawMethodCallOld
      • prevOpcode

        int prevOpcode
    • Constructor Detail

      • FindNonShortCircuit

        public FindNonShortCircuit​(BugReporter bugReporter)
    • Method Detail

      • visit

        public void visit​(org.apache.bcel.classfile.Method obj)
        Overrides:
        visit in class BetterVisitor
      • clearAll

        private void clearAll()
      • visit

        public void visit​(org.apache.bcel.classfile.Code code)
        Overrides:
        visit in class DismantleBytecode
      • scanForDanger

        private void scanForDanger​(int seen)
      • scanForShortCircuit

        private void scanForShortCircuit​(int seen)
      • reportBug

        private void reportBug()
      • scanForBooleanValue

        private void scanForBooleanValue​(int seen)
      • sawBooleanValue

        private void sawBooleanValue()