public interface ExecutableMemberDoc extends MemberDoc
Modifier and Type | Method and Description |
---|---|
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.
|
Type |
receiverType()
Get the receiver type of this executable element.
|
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.
|
isSynthetic
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags
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
Type receiverType()
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()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2015, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.