|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.mjdoc.mjdoc_142.MjParameter
The class implements the javadoc Parameter interface, and wraps the name and type of a MJC formal parameter to supply the information about the parameter to javadoc.
| Field Summary | |
private String |
modString
|
private String |
name
The formal variable identifier. |
private MjType |
type
The type of the formal parameter. |
| Constructor Summary | |
MjParameter(CSpecializedType cst,
String name)
Constructs a javadoc Parameter object from a MJC CSpecializedType object (from a CMethod object) and a formal parameter identifier. |
|
MjParameter(JFormalParameter jfp)
Constructs a javadoc Parameter object from a MJC CType object and formal parameter identifier. |
|
| Method Summary | |
String |
modString()
Returns any special modifiers of the parameter as a String. |
String |
name()
Returns the identifier of the formal parameter. |
String |
toString()
Returns the fully-qualified type name, with dimensions, followed by a space and the formal identifier. |
com.sun.javadoc.Type |
type()
Returns the type of the formal parameter (as a MjType object). |
String |
typeName()
Returns the fully-qualified type name, with dimension information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private MjType type
private String name
private String modString
| Constructor Detail |
public MjParameter(CSpecializedType cst,
String name)
public MjParameter(JFormalParameter jfp)
| Method Detail |
public String name()
name in interface com.sun.javadoc.Parameterpublic String toString()
toString in interface com.sun.javadoc.ParametertoString in class Objectpublic String modString()
public com.sun.javadoc.Type type()
type in interface com.sun.javadoc.Parameterpublic String typeName()
typeName in interface com.sun.javadoc.Parameter
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||