/** * Return a list containing all comments declared in this compilation unit. * Including javadocs, line comments and block comments of all types, * inner-classes and other members.<br> * If there is no comment, <code>null</code> is returned. * * @return list with all comments of this compilation unit or * <code>null</code> * @see JavadocComment * @see japa.parser.ast.comments.LineComment * @see japa.parser.ast.comments.BlockComment */ public List<Comment> getComments() { return this.getAllContainedComments(); }