< prev index next >
src/jdk.compiler/share/classes/com/sun/source/tree/SwitchExpressionTree.java
Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01
*** 1,7 ****
/*
! * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 37,54 ****
* }
* </pre>
*
* @jls section 15.29
*
! * @apiNote
! * This method is modeling switch expressions,
* which are part of a preview feature and may be removed
* if the preview feature is removed.
- *
- * @author Peter von der Ahé
- * @author Jonathan Gibbons
- * @since 12
*/
@Deprecated(forRemoval=true, since="12")
public interface SwitchExpressionTree extends ExpressionTree {
/**
* Returns the expression for the {@code switch} expression.
--- 37,51 ----
* }
* </pre>
*
* @jls section 15.29
*
! * @since 12
! *
! * @deprecated This method is modeling switch expressions,
* which are part of a preview feature and may be removed
* if the preview feature is removed.
*/
@Deprecated(forRemoval=true, since="12")
public interface SwitchExpressionTree extends ExpressionTree {
/**
* Returns the expression for the {@code switch} expression.
< prev index next >