vdoclet.docinfo
Class MethodInfo

java.lang.Object
  |
  +--vdoclet.docinfo.BaseInfo
        |
        +--vdoclet.docinfo.BaseElementInfo
              |
              +--vdoclet.docinfo.BaseClassElementInfo
                    |
                    +--vdoclet.docinfo.MethodInfo
All Implemented Interfaces:
Cloneable

public class MethodInfo
extends BaseClassElementInfo

Info about a Method.


Constructor Summary
MethodInfo(String type, String name)
           
 
Method Summary
 void addException(String exception)
           
 void addParameter(ParameterInfo parameter)
           
 void addParameter(String type, String name)
           
 Object clone()
           
 Set getExceptions()
           
 ParameterInfo getParameter(int index)
           
 List getParameterNames()
          Get a List of the parameter-names
 List getParameters()
           
 List getParameterTypes()
          Get a List of the parameter-types
 String getType()
           
 void setType(String type)
           
 
Methods inherited from class vdoclet.docinfo.BaseClassElementInfo
getContainingClass, setContainingClass
 
Methods inherited from class vdoclet.docinfo.BaseElementInfo
getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, setAbstract, setFinal, setPrivate, setProtected, setPublic, setStatic
 
Methods inherited from class vdoclet.docinfo.BaseInfo
addTag, addTag, addTags, getComment, getName, getTag, getTags, getTags, getTagValue, getTagValue, setComment, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo(String type,
                  String name)
Method Detail

clone

public Object clone()
Overrides:
clone in class BaseInfo

getType

public String getType()

setType

public void setType(String type)

getParameters

public List getParameters()

addParameter

public void addParameter(ParameterInfo parameter)

addParameter

public void addParameter(String type,
                         String name)

getParameter

public ParameterInfo getParameter(int index)

getParameterTypes

public List getParameterTypes()
Get a List of the parameter-types


getParameterNames

public List getParameterNames()
Get a List of the parameter-names


getExceptions

public Set getExceptions()

addException

public void addException(String exception)