Uses of Interface com.sun.source.util.SourcePositions (Compiler Tree API )
Date: 2026-07-22

## Uses of Interface
com.sun.source.util.SourcePositions

- Packages that use SourcePositions
  Package | Description
  --- | ---
  com.sun.source.util | Provides utilities for operations on abstract syntax trees (AST).

- - ### Uses of SourcePositions in com.sun.source.util

    Subinterfaces of SourcePositions in com.sun.source.util
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DocSourcePositions` Provides methods to obtain the position of a DocTree within a javadoc comment.

    Methods in com.sun.source.util that return SourcePositions
    Modifier and Type | Method and Description
    --- | ---
    `abstract SourcePositions` | Trees.`getSourcePositions()` Gets a utility object for obtaining source positions.

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