Class Commented<T extends com.sun.source.tree.Tree>


public abstract class Commented<T extends com.sun.source.tree.Tree>
extends Object
Class to hold AST nodes annotated with the comments that are associated with them
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Commented.Position
    Identifies the position of a comment relative to the associated treenode.
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    abstract<> afterComments()  
    abstract<> beforeComments()  
    abstract T tree()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Commented

      public Commented()
  • Method Details

    • tree

      public abstract T tree()
    • beforeComments

      public abstract<> beforeComments()
    • afterComments

      public abstract<> afterComments()