Package edu.umd.cs.findbugs
Class SwitchHandler
- java.lang.Object
-
- edu.umd.cs.findbugs.SwitchHandler
-
public class SwitchHandler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSwitchHandler.SwitchDetails
-
Constructor Summary
Constructors Constructor Description SwitchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterSwitch(DismantleBytecode dbc, XClass enumType)SourceLineAnnotationgetCurrentSwitchStatement(BytecodeScanningDetector detector)intgetDefaultOffset()intgetNextSwitchOffset(DismantleBytecode dbc)booleanisOnSwitchOffset(DismantleBytecode dbc)intstackSize()
-
-
-
Method Detail
-
stackSize
public int stackSize()
-
enterSwitch
public void enterSwitch(DismantleBytecode dbc, @CheckForNull XClass enumType)
-
isOnSwitchOffset
public boolean isOnSwitchOffset(DismantleBytecode dbc)
-
getNextSwitchOffset
public int getNextSwitchOffset(DismantleBytecode dbc)
-
getDefaultOffset
public int getDefaultOffset()
-
getCurrentSwitchStatement
public SourceLineAnnotation getCurrentSwitchStatement(BytecodeScanningDetector detector)
-
-