|
Doclet API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableMemberDoc
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 |
boolean |
isVarArgs()
Return true if this method was declared to take a variable number of arguments. |
Parameter[] |
parameters()
Get argument information. |
ParamTag[] |
paramTags()
Return the param tags in this method, excluding the type parameter tags. |
String |
signature()
Get the signature. |
ClassDoc[] |
thrownExceptions()
Return exceptions this method or constructor throws. |
Type[] |
thrownExceptionTypes()
Return exceptions this method or constructor throws. |
ThrowsTag[] |
throwsTags()
Return the throws tags in this method. |
TypeVariable[] |
typeParameters()
Return the formal type parameters of this method or constructor. |
ParamTag[] |
typeParamTags()
Return the type parameter tags in this method. |
Methods inherited from interface com.sun.javadoc.MemberDoc |
---|
isSynthetic |
Methods inherited from interface com.sun.javadoc.ProgramElementDoc |
---|
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName |
Methods inherited from interface com.sun.javadoc.Doc |
---|
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags |
Method Detail |
---|
ClassDoc[] thrownExceptions()
ClassDoc
of its erasure.
The thrownExceptions
method cannot
accommodate certain generic type constructs. The
thrownExceptionTypes
method should be used
instead.
thrownExceptionTypes()
Type[] thrownExceptionTypes()
ClassDoc
or a
TypeVariable
.boolean isNative()
boolean isSynchronized()
boolean isVarArgs()
Parameter[] parameters()
Parameter
ThrowsTag[] throwsTags()
@exception
and @throws
tags.ParamTag[] paramTags()
@param
tags
corresponding to the parameters of this method.ParamTag[] typeParamTags()
@param
tags
corresponding to the type parameters of this method.String signature()
mymethod(String x, int y)
,
it will return (java.lang.String,int)
.
String flatSignature()
mymethod(String x, int y)
,
it will return (String, int)
.
TypeVariable[] typeParameters()
|
Doclet API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |