mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
32 lines
418 B
Java
Generated
32 lines
418 B
Java
Generated
package jdk.jshell;
|
|
|
|
public abstract class Snippet {
|
|
|
|
public enum Kind {
|
|
|
|
IMPORT(true),
|
|
|
|
TYPE_DECL(true),
|
|
|
|
METHOD(true),
|
|
|
|
VAR(true),
|
|
|
|
EXPRESSION(false),
|
|
|
|
STATEMENT(false),
|
|
|
|
ERRONEOUS(false);
|
|
|
|
private final boolean isPersistent;
|
|
|
|
Kind(boolean isPersistent) {
|
|
this.isPersistent = isPersistent;
|
|
}
|
|
|
|
public boolean isPersistent() {
|
|
return false;
|
|
}
|
|
}
|
|
}
|