Class ReadReturnShouldBeChecked

All Implemented Interfaces:
Detector, Priorities, StatelessDetector, Cloneable, org.apache.bcel.classfile.Visitor

public class ReadReturnShouldBeChecked extends OpcodeStackDetector implements StatelessDetector
  • Field Details

    • sawRead

      boolean sawRead
    • sawSkip

      boolean sawSkip
    • recentCallToAvailable

      boolean recentCallToAvailable
    • sawAvailable

      int sawAvailable
    • wasBufferedInputStream

      boolean wasBufferedInputStream
    • accumulator

      BugAccumulator accumulator
    • locationOfCall

      private int locationOfCall
    • lastCallClass

      private String lastCallClass
    • lastCallMethod

      private String lastCallMethod
    • lastCallSig

      private String lastCallSig
    • readProcessed

      private boolean readProcessed
    • itemToBeCompared

      private OpcodeStack.Item itemToBeCompared
    • comparisonOpcodes

      private static final Set<Short> comparisonOpcodes
  • Constructor Details

    • ReadReturnShouldBeChecked

      public ReadReturnShouldBeChecked(BugReporter bugReporter)
  • Method Details