Interface Trait<T extends Tree>

Type Parameters:
T - The type of the tree that this trait is related to. When multiple specific types of tree are possible, this should be the lowest common super-type of all the types.

@Incubating(since="8.30.0") public interface Trait<T extends Tree>
A trait captures semantic information related to a syntax element.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default T
     
  • Method Details

    • getCursor

      Cursor getCursor()
    • getTree

      default T getTree()