Interface JavadocCommentOwner

All Superinterfaces:
GenericNode<JavaNode>, JavaNode, JjtreeNode<JavaNode>, Node, Reportable, TextAvailableNode
All Known Subinterfaces:
ASTExecutableDeclaration, ASTTypeDeclaration
All Known Implementing Classes:
ASTAnnotationTypeDeclaration, ASTAnonymousClassDeclaration, ASTClassDeclaration, ASTCompactConstructorDeclaration, ASTConstructorDeclaration, ASTEnumConstant, ASTEnumDeclaration, ASTFieldDeclaration, ASTImplicitClassDeclaration, ASTMethodDeclaration, ASTModuleDeclaration, ASTPackageDeclaration, ASTRecordDeclaration

public interface JavadocCommentOwner extends JavaNode
A node that may own a javadoc comment.
  • Method Details

    • getJavadocComment

      default @Nullable JavadocComment getJavadocComment()
      Returns the javadoc comment that applies to this declaration. If there is none, returns null.