This specification is not final and is subject to change. Use is subject to license terms.
Skip navigation links
Java SE 19 & JDK 19
DRAFT 19-internal-adhoc.jlahoda.amber.patterns-stage-1
  • Overview
  • Module
  • Package
  • Class
  • Use
  • Tree
  • Preview
  • New
  • Deprecated
  • Index
  • Help

Preview API

Contents

  • Interfaces
  • Classes
  • Exception Classes
  • Methods
  • Enum Constants
  • Interfaces
    Interface
    Description
    com.sun.source.tree.CaseLabelTreePREVIEW
    A marker interface for Trees that may be used as CaseTree labels.
    com.sun.source.tree.DefaultCaseLabelTreePREVIEW
    A case label that marks default in case null, default.
    com.sun.source.tree.ParenthesizedPatternTreePREVIEW
    A tree node for a parenthesized pattern.
  • Classes
    Class
    Description
    java.lang.runtime.SwitchBootstrapsPREVIEW
    Bootstrap methods for linking invokedynamic call sites that implement the selection functionality of the switch statement.
  • Exception Classes
    Exception Class
    Description
    java.lang.MatchExceptionPREVIEW
    Thrown to indicate an unexpected failure in pattern matching.
  • Methods
    Method
    Description
    com.sun.source.tree.CaseTree.getLabels()PREVIEW
    Returns the labels for this case.
    com.sun.source.tree.PatternTree.getGuard()PREVIEW
    The guard for the case.
    com.sun.source.tree.TreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.tree.TreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.SimpleTreeVisitor.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.SimpleTreeVisitor.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
    com.sun.source.util.TreeScanner.visitDefaultCaseLabel(DefaultCaseLabelTree, P)PREVIEW
    Visits a DefaultCaseLabelTree node.
    com.sun.source.util.TreeScanner.visitParenthesizedPattern(ParenthesizedPatternTree, P)PREVIEW
    Visits a ParenthesizedPatternTree node.
  • Enum Constants
    Enum Constant
    Description
    com.sun.source.tree.Tree.Kind.DEFAULT_CASE_LABELPREVIEW
    Used for instances of DefaultCaseLabelTreePREVIEW.
    com.sun.source.tree.Tree.Kind.PARENTHESIZED_PATTERNPREVIEW
    Used for instances of ParenthesizedPatternTreePREVIEW.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT 19-internal-adhoc.jlahoda.amber.patterns-stage-1