Class IteratorIdioms

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

public class IteratorIdioms extends BytecodeScanningDetector implements StatelessDetector
  • Field Details

    • NEXT_NAME

      private static final String NEXT_NAME
      See Also:
    • HAS_NEXT_NAME

      private static final String HAS_NEXT_NAME
      See Also:
    • iteratorDescriptor

      private final ClassDescriptor iteratorDescriptor
    • bugReporter

      private final BugReporter bugReporter
    • bugAccumulator

      private final BugAccumulator bugAccumulator
    • sawNoSuchElement

      private boolean sawNoSuchElement
    • sawCall

      private boolean sawCall
    • shouldVisitCode

      private boolean shouldVisitCode
    • hasNextAlwaysReturnsTrue

      private boolean hasNextAlwaysReturnsTrue
    • sawBranch

      private boolean sawBranch
  • Constructor Details

    • IteratorIdioms

      public IteratorIdioms(BugReporter bugReporter)
  • Method Details