org.acm.seguin.pretty.jdi
Class AnnotationMethodDeclaration

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

public class AnnotationMethodDeclaration
extends java.lang.Object

Holds a method declaration in a class

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

Field Summary
protected  FileSettings bundle
           
protected  JavaDocableImpl jdi
           
 
Constructor Summary
AnnotationMethodDeclaration(net.sourceforge.jrefactory.ast.ASTAnnotationMethodDeclaration method)
          Constructor for the AnnotationMethodDeclaration 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.
 void finish(java.lang.String className)
          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

AnnotationMethodDeclaration

public AnnotationMethodDeclaration(net.sourceforge.jrefactory.ast.ASTAnnotationMethodDeclaration method)
Constructor for the AnnotationMethodDeclaration JavaDoc creator.

Parameters:
method - 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.


finish

public void finish(java.lang.String className)
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.

Parameters:
className - Description of Parameter

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