/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.tree; import java.util.List; /** * A tree node for a 'case' in a 'switch' statement. * * For example: *
 *   case expression :
 *       statements
 *
 *   default :
 *       statements
 * 
* * @jls section 14.11 * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ @jdk.Exported public interface CaseTree extends Tree { /** * @return null if and only if this Case is {@code default:} */ ExpressionTree getExpression(); List getStatements(); }