Uses of Interface com.sun.source.tree.CaseLabelTree (Java SE 17 & JDK 17)
Description: use: module: jdk.compiler, package: com.sun.source.tree, interface: CaseLabelTree

# Uses of Interface
com.sun.source.tree.CaseLabelTree

Packages that use CaseLabelTreePREVIEW
Package
Description
com.sun.source.tree
Provides interfaces to represent source code as abstract syntax trees (AST).

- ## Uses of CaseLabelTreePREVIEW in com.sun.source.tree

  Subinterfaces of CaseLabelTreePREVIEW in com.sun.source.tree
  Modifier and Type
  Interface
  Description
  `interface`
  `AnnotatedTypeTree`
  A tree node for an annotated type.
  `interface`
  `AnnotationTree`
  A tree node for an annotation.
  `interface`
  `ArrayAccessTree`
  A tree node for an array access expression.
  `interface`
  `AssignmentTree`
  A tree node for an assignment expression.
  `interface`
  `BinaryTree`
  A tree node for a binary expression.
  `interface`
  `BindingPatternTree`
  A binding pattern tree
  `interface`
  `CompoundAssignmentTree`
  A tree node for compound assignment operator.
  `interface`
  `ConditionalExpressionTree`
  A tree node for the conditional operator `? :`.
  `interface`
  `DefaultCaseLabelTreePREVIEW`
  Preview.
  A case label that marks `default` in `case null, default`.
  `interface`
  `ErroneousTree`
  A tree node to stand in for a malformed expression.
  `interface`
  `ExpressionTree`
  A tree node used as the base class for the different types of expressions.
  `interface`
  `GuardedPatternTreePREVIEW`
  Preview.
  A guard pattern tree.
  `interface`
  `IdentifierTree`
  A tree node for an identifier expression.
  `interface`
  `InstanceOfTree`
  A tree node for an `instanceof` expression.
  `interface`
  `LambdaExpressionTree`
  A tree node for a lambda expression.
  `interface`
  `LiteralTree`
  A tree node for a literal expression.
  `interface`
  `MemberReferenceTree`
  A tree node for a member reference expression.
  `interface`
  `MemberSelectTree`
  A tree node for a member access expression.
  `interface`
  `MethodInvocationTree`
  A tree node for a method invocation expression.
  `interface`
  `NewArrayTree`
  A tree node for an expression to create a new instance of an array.
  `interface`
  `NewClassTree`
  A tree node to declare a new instance of a class.
  `interface`
  `ParenthesizedPatternTreePREVIEW`
  Preview.
  A tree node for a parenthesized pattern.
  `interface`
  `ParenthesizedTree`
  A tree node for a parenthesized expression.
  `interface`
  `PatternTreePREVIEW`
  A tree node used as the base class for the different kinds of patterns.
  `interface`
  `SwitchExpressionTree`
  A tree node for a `switch` expression.
  `interface`
  `TypeCastTree`
  A tree node for a type cast expression.
  `interface`
  `UnaryTree`
  A tree node for postfix and unary expressions.
  Methods in com.sun.source.tree that return types with arguments of type CaseLabelTreePREVIEW
  Modifier and Type
  Method
  Description
  `List<? extends CaseLabelTreePREVIEW>`
  CaseTree.`getLabels()`
  Preview.
  Returns the labels for this case.