@@ -417,36 +417,36 @@ class SwitchCase extends Stmt, @case {
417417 SwitchStmt getSwitch ( ) { result .getACase ( ) = this }
418418
419419 /**
420- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
420+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
421421 *
422422 * Gets the switch expression to which this case belongs, if any.
423423 */
424- deprecated SwitchExpr getSwitchExpr ( ) { result .getACase ( ) = this }
424+ SwitchExpr getSwitchExpr ( ) { result .getACase ( ) = this }
425425
426426 /**
427- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
427+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
428428 *
429429 * Holds if this `case` is a switch labeled rule of the form `... -> ...`.
430430 */
431- deprecated predicate isRule ( ) {
431+ predicate isRule ( ) {
432432 exists ( Expr e | e .getParent ( ) = this | e .getIndex ( ) = - 1 )
433433 or
434434 exists ( Stmt s | s .getParent ( ) = this | s .getIndex ( ) = - 1 )
435435 }
436436
437437 /**
438- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
438+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
439439 *
440440 * Gets the expression on the right-hand side of the arrow, if any.
441441 */
442- deprecated Expr getRuleExpression ( ) { result .getParent ( ) = this and result .getIndex ( ) = - 1 }
442+ Expr getRuleExpression ( ) { result .getParent ( ) = this and result .getIndex ( ) = - 1 }
443443
444444 /**
445- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
445+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
446446 *
447447 * Gets the statement on the right-hand side of the arrow, if any.
448448 */
449- deprecated Stmt getRuleStatement ( ) { result .getParent ( ) = this and result .getIndex ( ) = - 1 }
449+ Stmt getRuleStatement ( ) { result .getParent ( ) = this and result .getIndex ( ) = - 1 }
450450}
451451
452452/** A constant `case` of a switch statement. */
@@ -457,11 +457,11 @@ class ConstCase extends SwitchCase {
457457 Expr getValue ( ) { result .getParent ( ) = this and result .getIndex ( ) = 0 }
458458
459459 /**
460- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
460+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
461461 *
462462 * Gets the `case` constant at the specified index.
463463 */
464- deprecated Expr getValue ( int i ) { result .getParent ( ) = this and result .getIndex ( ) = i and i >= 0 }
464+ Expr getValue ( int i ) { result .getParent ( ) = this and result .getIndex ( ) = i and i >= 0 }
465465
466466 /** Gets a printable representation of this statement. May include more detail than `toString()`. */
467467 override string pp ( ) { result = "case ..." }
@@ -608,18 +608,18 @@ class BreakStmt extends Stmt, @breakstmt {
608608 predicate hasLabel ( ) { exists ( string s | s = this .getLabel ( ) ) }
609609
610610 /**
611- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
611+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
612612 *
613613 * Gets the value of this `break` statement, if any.
614614 */
615- deprecated Expr getValue ( ) { result .getParent ( ) = this }
615+ Expr getValue ( ) { result .getParent ( ) = this }
616616
617617 /**
618- * DEPRECATED: Preview feature in Java 12. Subject to removal in a future release.
618+ * PREVIEW FEATURE in Java 12. Subject to removal in a future release.
619619 *
620620 * Holds if this `break` statement has a value.
621621 */
622- deprecated predicate hasValue ( ) { exists ( Expr e | e .getParent ( ) = this ) }
622+ predicate hasValue ( ) { exists ( Expr e | e .getParent ( ) = this ) }
623623
624624 /** Gets a printable representation of this statement. May include more detail than `toString()`. */
625625 override string pp ( ) {
0 commit comments