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 class
SwitchHandler.SwitchDetails
-
Constructor Summary
Constructors Constructor Description SwitchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterSwitch(DismantleBytecode dbc, XClass enumType)
SourceLineAnnotation
getCurrentSwitchStatement(BytecodeScanningDetector detector)
int
getDefaultOffset()
int
getNextSwitchOffset(DismantleBytecode dbc)
boolean
isOnSwitchOffset(DismantleBytecode dbc)
int
stackSize()
-
-
-
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)
-
-