org.acm.seguin.pretty.jdi
Class ConstructorDeclaration

java.lang.Object
  extended by org.acm.seguin.pretty.jdi.ConstructorDeclaration
All Implemented Interfaces:
JavaDocable

public class ConstructorDeclaration
extends java.lang.Object

Description of the Class

Since:
jRefactory 2.9.0, created October 16, 2003
Author:
Mike Atkinson

Field Summary
protected  FileSettings bundle
           
protected  JavaDocableImpl jdi
           
 
Constructor Summary
ConstructorDeclaration(net.sourceforge.jrefactory.ast.ASTConstructorDeclaration constructor)
          Constructor for the ConstructorDeclaration JavaDoc creator.
 
Method Summary
 void addJavaDocComponent(JavaDocComponent component)
          Allows you to add a java doc component
 void finish()
          Makes sure all the java doc components are present.
 boolean isRequired()
          Checks to see if it was printed
 void printJavaDocComponents(PrintData printData)
          Prints all the java doc components
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdi

protected JavaDocableImpl jdi

bundle

protected FileSettings bundle
Constructor Detail

ConstructorDeclaration

public ConstructorDeclaration(net.sourceforge.jrefactory.ast.ASTConstructorDeclaration constructor)
Constructor for the ConstructorDeclaration JavaDoc creator.

Parameters:
constructor - Create JavaDoc for this node.
Method Detail

isRequired

public boolean isRequired()
Checks to see if it was printed

Returns:
true if it still needs to be printed

printJavaDocComponents

public void printJavaDocComponents(PrintData printData)
Prints all the java doc components

Parameters:
printData - the print data

finish

public void finish()
Makes sure all the java doc components are present. For methods and constructors we need to do more work - checking parameters, return types, and exceptions.


addJavaDocComponent

public void addJavaDocComponent(JavaDocComponent component)
Allows you to add a java doc component

Specified by:
addJavaDocComponent in interface JavaDocable
Parameters:
component - the component that can be added