Class SwitchFallthrough

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

public class SwitchFallthrough extends OpcodeStackDetector implements StatelessDetector
  • Field Details

    • DEBUG

      private static final boolean DEBUG
    • LOOK_IN_SOURCE_FOR_FALLTHRU_COMMENT

      private static final boolean LOOK_IN_SOURCE_FOR_FALLTHRU_COMMENT
    • switchHdlr

      private SwitchHandler switchHdlr
    • reachable

      private boolean reachable
    • bugAccumulator

      private final BugAccumulator bugAccumulator
    • lastPC

      private int lastPC
    • biggestJumpTarget

      private int biggestJumpTarget
    • potentiallyDeadStores

      private final BitSet potentiallyDeadStores
    • potentiallyDeadFields

      private final Set<XField> potentiallyDeadFields
    • potentiallyDeadStoresFromBeforeFallthrough

      private BitSet potentiallyDeadStoresFromBeforeFallthrough
    • potentiallyDeadFieldsFromBeforeFallthrough

      private Set<XField> potentiallyDeadFieldsFromBeforeFallthrough
    • deadStore

      private LocalVariableAnnotation deadStore
    • priority

      private int priority
    • fallthroughDistance

      private int fallthroughDistance
    • found

    • enumType

      XClass enumType
    • justSawHashcode

      boolean justSawHashcode
  • Constructor Details

    • SwitchFallthrough

      public SwitchFallthrough(BugReporter bugReporter)
  • Method Details