# Uses of Enum Class
com.sun.source.tree.EnhancedForLoopTree.DeclarationKind

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

- ## Uses of EnhancedForLoopTree.DeclarationKindPREVIEW in com.sun.source.tree

  Methods in com.sun.source.tree that return EnhancedForLoopTree.DeclarationKindPREVIEW
  Modifier and Type
  Method
  Description
  `EnhancedForLoopTree.DeclarationKindPREVIEW`
  EnhancedForLoopTree.`getDeclarationKind()`
  Preview.
  Returns the kind of the declaration of the "enhanced" `for`.
  `static EnhancedForLoopTree.DeclarationKindPREVIEW`
  EnhancedForLoopTree.DeclarationKind.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static EnhancedForLoopTree.DeclarationKindPREVIEW[]`
  EnhancedForLoopTree.DeclarationKind.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.