|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a method or constructor of a java class.
Method Summary | |
String |
flatSignature()
get flat signature. |
boolean |
isNative()
Return true if this method is native |
boolean |
isSynchronized()
Return true if this method is synchronized |
Parameter[] |
parameters()
Get argument information. |
ParamTag[] |
paramTags()
Return the param tags in this method. |
String |
signature()
Get the signature. |
ClassDoc[] |
thrownExceptions()
Return exceptions this method or constructor throws. |
ThrowsTag[] |
throwsTags()
Return the throws tags in this method. |
Methods inherited from interface com.sun.javadoc.MemberDoc |
isSynthetic |
Methods inherited from interface com.sun.javadoc.ProgramElementDoc |
containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName |
Methods inherited from interface com.sun.javadoc.Doc |
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isClass, isConstructor, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags |
Method Detail |
public ClassDoc[] thrownExceptions()
public boolean isNative()
public boolean isSynchronized()
public Parameter[] parameters()
Parameter
public ThrowsTag[] throwsTags()
@exception
and @throws
tags.public ParamTag[] paramTags()
@param
tags.public String signature()
mymethod(String x, int y)
,
it will return (java.lang.String,int)
.
public String flatSignature()
mymethod(String x, int y)
,
it will return (String, int)
.
|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |