|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.mjdoc.mjdoc_142.MjDoc
org.multijava.mjdoc.mjdoc_142.MjExtMethodsDoc
This object holds a list of external methods that are in a single compilation unit.
| Field Summary | |
private com.sun.javadoc.ClassDoc[] |
cachedImportedClasses
A cached value (after being initialized) of the array of classes imported into the compilation unit this class is defined in. |
private com.sun.javadoc.PackageDoc[] |
cachedImportedPackages
A cached value (after being initialized) of the array of packages imported into the compilation unit this class is defined in. |
private ArrayList |
methods
ArrayList of the methods of this class, in the order of declaration. |
private MjPackageDoc |
pkg
Holds the containing package. |
private JCompilationUnitType |
unit
Holds the compilation unit that this set of external methods is in. |
| Fields inherited from class org.multijava.mjdoc.mjdoc_142.MjDoc |
parser |
| Constructor Summary | |
MjExtMethodsDoc(MjPackageDoc p,
JCompilationUnitType unit)
A constructor for the case when source code is available (which makes javadoc comments and formal parameter identifiers available). |
|
| Method Summary | |
void |
add(MjMethodDoc m)
Adds a method |
protected String |
compareString()
This generates the String representation used by compareTo. |
com.sun.javadoc.PackageDoc |
containingPackage()
Returns the package that contains this compilation unit. |
com.sun.javadoc.ClassDoc[] |
importedClasses()
Returns the array of classes imported into the compilation unit this class is defined in. |
com.sun.javadoc.PackageDoc[] |
importedPackages()
Returns the array of packages imported into the compilation unit this class is defined in. |
ArrayList |
methods()
Returns the external methods in this compilation unit (ArrayList of MjMethodDoc). |
String |
name()
Returns the name of the compilation unit; no package name is prefixed. |
String |
qualifiedName()
Returns the name of the compilation unit, with the package name prefixed, and with '.' as separator. |
String |
toString()
Returns the same thing as qualifiedName(). |
JCompilationUnitType |
unit()
Returns the compilation unit the external methods are in. |
| Methods inherited from class org.multijava.mjdoc.mjdoc_142.MjDoc |
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isClass, isConstructor, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, notImplemented, position, seeTags, setIncluded, setRawCommentText, setRawCommentText, setRawCommentText, setRawCommentText, tags, tags, tags |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private MjPackageDoc pkg
private JCompilationUnitType unit
private ArrayList methods
private com.sun.javadoc.ClassDoc[] cachedImportedClasses
private com.sun.javadoc.PackageDoc[] cachedImportedPackages
| Constructor Detail |
public MjExtMethodsDoc(MjPackageDoc p,
JCompilationUnitType unit)
| Method Detail |
public void add(MjMethodDoc m)
public ArrayList methods()
public JCompilationUnitType unit()
public String name()
public String qualifiedName()
public String toString()
toString in class Objectprotected String compareString()
compareString in class MjDocpublic com.sun.javadoc.PackageDoc containingPackage()
public com.sun.javadoc.ClassDoc[] importedClasses()
public com.sun.javadoc.PackageDoc[] importedPackages()
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||