JML

org.multijava.javadoc
Class JavadocComment

java.lang.Object
  extended byorg.multijava.javadoc.JavadocComment

public class JavadocComment
extends Object

An Javadoc AST node representing the root of a Javadoc AST.


Field Summary
private  String text
          The contents of this javadoc comment as a string.
 
Constructor Summary
JavadocComment(String text)
          Construct a node in the parsing tree
 
Method Summary
 JavadocComment add(JavadocComment more)
           
 boolean isDeprecated()
          Indicates whether this javadoc comment contains a deprecated clause.
 String text()
          Returns the text of this comment.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

private String text
The contents of this javadoc comment as a string.

Constructor Detail

JavadocComment

public JavadocComment(String text)
Construct a node in the parsing tree

Parameters:
text - the string representation of this comment
Method Detail

add

public JavadocComment add(JavadocComment more)

isDeprecated

public boolean isDeprecated()
Indicates whether this javadoc comment contains a deprecated clause.


text

public String text()
Returns the text of this comment.


toString

public String toString()
Overrides:
toString in class Object

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.