Uses of Enum Class com.sun.source.tree.CaseTree.CaseKind (Java SE 26 & JDK 26)
Description: use: module: jdk.compiler, package: com.sun.source.tree, interface: CaseTree, enum: CaseKind

# Uses of Enum Class
com.sun.source.tree.CaseTree.CaseKind

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

- ## Uses of CaseTree.CaseKind in com.sun.source.tree

  Subclasses with type arguments of type CaseTree.CaseKind in com.sun.source.tree
  Modifier and Type
  Class
  Description
  `static enum`
  `CaseTree.CaseKind`
  The syntactic form of this case: STATEMENT: `case <expression>: <statements>` RULE: `case <expression> -> <expression>/<statement>`
  Methods in com.sun.source.tree that return CaseTree.CaseKind
  Modifier and Type
  Method
  Description
  `default CaseTree.CaseKind`
  CaseTree.`getCaseKind()`
  Returns the kind of this case.
  `static CaseTree.CaseKind`
  CaseTree.CaseKind.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static CaseTree.CaseKind[]`
  CaseTree.CaseKind.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.