public class SwitchStatementUtils extends java.lang.Object
Constructor and Description |
---|
SwitchStatementUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAnonymousBlock(ShallowEntity entity)
Returns whether given statement is an anonymous block.
|
static boolean |
isCase(ShallowEntity entity)
Returns whether given statement is a case or not.
|
static boolean |
isCaseOrDefault(ShallowEntity entity)
Returns true if statement entity is a META one and its a case or default.
|
static boolean |
isDefault(ShallowEntity entity)
Returns whether given statement is a default or not.
|
static boolean |
isSwitch(ShallowEntity entity)
Returns whether given statement is a switch or not.
|
public SwitchStatementUtils()
public static boolean isSwitch(ShallowEntity entity)
public static boolean isCase(ShallowEntity entity)
public static boolean isDefault(ShallowEntity entity)
public static boolean isAnonymousBlock(ShallowEntity entity)
public static boolean isCaseOrDefault(ShallowEntity entity)