com.sun.source.tree

## Interface ErroneousTree

- All Superinterfaces:
    ExpressionTree, Tree

      @Exported
      public interface ErroneousTree
      extends ExpressionTree

  A tree node to stand in for a malformed expression.
  Since:
    1.6

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.sun.source.tree.Tree

      `Tree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<? extends Tree>` | `getErrorTrees()` |

    - ### Methods inherited from interface com.sun.source.tree.Tree

      `accept, getKind`

- - ### Method Detail

    - #### getErrorTrees

          List<? extends Tree> getErrorTrees()

Copyright © 2005, 2026, Oracle and/or its affiliates. All rights reserved.