public class DOMASTUtil
extends java.lang.Object
| Constructor and Description |
|---|
DOMASTUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkASTLevel(int level) |
static boolean |
isInstanceofExpressionPatternSupported(AST ast) |
static boolean |
isInstanceofExpressionPatternSupported(int apiLevel,
boolean previewEnabled) |
static boolean |
isRecordDeclarationSupported(AST ast) |
static boolean |
isRecordDeclarationSupported(int apiLevel,
boolean previewEnabled) |
static boolean |
isSwitchExpressionSupported(AST ast) |
static boolean |
isTextBlockSupported(AST ast) |
static boolean |
isYieldStatementSupported(AST ast) |
public static boolean isSwitchExpressionSupported(AST ast)
public static boolean isYieldStatementSupported(AST ast)
public static boolean isTextBlockSupported(AST ast)
public static boolean isRecordDeclarationSupported(AST ast)
public static boolean isRecordDeclarationSupported(int apiLevel,
boolean previewEnabled)
public static boolean isInstanceofExpressionPatternSupported(AST ast)
public static boolean isInstanceofExpressionPatternSupported(int apiLevel,
boolean previewEnabled)
public static void checkASTLevel(int level)