Whole document tree
: Interface ExecutableMemberDoc
com.sun.javadoc
Interface ExecutableMemberDoc
All Known Subinterfaces: ConstructorDoc , MethodDoc
public abstract interface ExecutableMemberDoc extends MemberDoc
Represents a method or constructor of a java class.
Since: JDK1.2
Fields inherited from class java.io.Serializable
serialVersionUID
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 ,
seeTags ,
setRawCommentText ,
tags ,
tags
thrownExceptions
public ClassDoc [] thrownExceptions ()
Return exceptions this method or constructor throws.
Returns: an array of Type[] representing the exceptions
thrown by this method.
isNative
public boolean isNative ()
Return true if this method is native
isSynchronized
public boolean isSynchronized ()
Return true if this method is synchronized
parameters
public Parameter [] parameters ()
Get argument information.
Returns: an array of Parameter, one element per argument
in the order the arguments are present. See Also: Parameter
throwsTags
public ThrowsTag [] throwsTags ()
Return the throws tags in this method.
Returns: an array of ThrowTag containing all @exception
and @throws
tags.
paramTags
public ParamTag [] paramTags ()
Return the param tags in this method.
Returns: an array of ParamTag containing all @param
tags.
signature
public java.lang.String signature ()
Get the signature. It is the parameter list, type is qualified.
For instance, for a method mymethod(String x, int y)
,
it will return (java.lang.String,int)
.
flatSignature
public java.lang.String flatSignature ()
get flat signature. all types are not qualified.
return a String, which is the flat signiture of this member.
It is the parameter list, type is not qualified.
For instance, for a method mymethod(String x, int y)
,
it will return (String, int)
.