ExecutableMemberDoc (Java SE 11 & JDK 11 ) (original) (raw)
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type Method Description String flatSignature() Deprecated, for removal: This API element is subject to removal in a future version. get flat signature. boolean isNative() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method is native boolean isSynchronized() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method is synchronized boolean isVarArgs() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method was declared to take a variable number of arguments. Parameter[] parameters() Deprecated, for removal: This API element is subject to removal in a future version. Get argument information. ParamTag[] paramTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the param tags in this method, excluding the type parameter tags. Type receiverType() Deprecated, for removal: This API element is subject to removal in a future version. Get the receiver type of this executable element. String signature() Deprecated, for removal: This API element is subject to removal in a future version. Get the signature. ClassDoc[] thrownExceptions() Deprecated, for removal: This API element is subject to removal in a future version. Return exceptions this method or constructor throws. Type[] thrownExceptionTypes() Deprecated, for removal: This API element is subject to removal in a future version. Return exceptions this method or constructor throws. ThrowsTag[] throwsTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the throws tags in this method. TypeVariable[] typeParameters() Deprecated, for removal: This API element is subject to removal in a future version. Return the formal type parameters of this method or constructor. ParamTag[] typeParamTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the type parameter tags in this method. * ### Methods declared in interface com.sun.javadoc.[Doc](Doc.html "interface in com.sun.javadoc") `[commentText](Doc.html#commentText%28%29), [compareTo](Doc.html#compareTo%28java.lang.Object%29), [firstSentenceTags](Doc.html#firstSentenceTags%28%29), [getRawCommentText](Doc.html#getRawCommentText%28%29), [inlineTags](Doc.html#inlineTags%28%29), [isAnnotationType](Doc.html#isAnnotationType%28%29), [isAnnotationTypeElement](Doc.html#isAnnotationTypeElement%28%29), [isClass](Doc.html#isClass%28%29), [isConstructor](Doc.html#isConstructor%28%29), [isEnum](Doc.html#isEnum%28%29), [isEnumConstant](Doc.html#isEnumConstant%28%29), [isError](Doc.html#isError%28%29), [isException](Doc.html#isException%28%29), [isField](Doc.html#isField%28%29), [isIncluded](Doc.html#isIncluded%28%29), [isInterface](Doc.html#isInterface%28%29), [isMethod](Doc.html#isMethod%28%29), [isOrdinaryClass](Doc.html#isOrdinaryClass%28%29), [name](Doc.html#name%28%29), [position](Doc.html#position%28%29), [seeTags](Doc.html#seeTags%28%29), [setRawCommentText](Doc.html#setRawCommentText%28java.lang.String%29), [tags](Doc.html#tags%28%29), [tags](Doc.html#tags%28java.lang.String%29)` * ### Methods declared in interface com.sun.javadoc.[MemberDoc](MemberDoc.html "interface in com.sun.javadoc") `[isSynthetic](MemberDoc.html#isSynthetic%28%29)` * ### Methods declared in interface com.sun.javadoc.[ProgramElementDoc](ProgramElementDoc.html "interface in com.sun.javadoc") `[annotations](ProgramElementDoc.html#annotations%28%29), [containingClass](ProgramElementDoc.html#containingClass%28%29), [containingPackage](ProgramElementDoc.html#containingPackage%28%29), [isFinal](ProgramElementDoc.html#isFinal%28%29), [isPackagePrivate](ProgramElementDoc.html#isPackagePrivate%28%29), [isPrivate](ProgramElementDoc.html#isPrivate%28%29), [isProtected](ProgramElementDoc.html#isProtected%28%29), [isPublic](ProgramElementDoc.html#isPublic%28%29), [isStatic](ProgramElementDoc.html#isStatic%28%29), [modifiers](ProgramElementDoc.html#modifiers%28%29), [modifierSpecifier](ProgramElementDoc.html#modifierSpecifier%28%29), [qualifiedName](ProgramElementDoc.html#qualifiedName%28%29)`
Method Detail
* #### thrownExceptions [ClassDoc](ClassDoc.html "interface in com.sun.javadoc")[] thrownExceptions() Deprecated, for removal: This API element is subject to removal in a future version. Return exceptions this method or constructor throws. If the type of the exception is a type variable, return the`ClassDoc` of its erasure. _The `thrownExceptions` method cannot accommodate certain generic type constructs. The`thrownExceptionTypes` method should be used instead._ Returns: an array of ClassDoc\[\] representing the exceptions thrown by this method. See Also: [thrownExceptionTypes()](#thrownExceptionTypes%28%29) * #### thrownExceptionTypes [Type](Type.html "interface in com.sun.javadoc")[] thrownExceptionTypes() Deprecated, for removal: This API element is subject to removal in a future version. Return exceptions this method or constructor throws. Returns: an array representing the exceptions thrown by this method. Each array element is either a `ClassDoc` or a`TypeVariable`. Since: 1.5 * #### isNative boolean isNative() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method is native Returns: true if this method is native * #### isSynchronized boolean isSynchronized() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method is synchronized Returns: true if this method is synchronized * #### isVarArgs boolean isVarArgs() Deprecated, for removal: This API element is subject to removal in a future version. Return true if this method was declared to take a variable number of arguments. Returns: true if this method was declared to take a variable number of arguments. Since: 1.5 * #### parameters [Parameter](Parameter.html "interface in com.sun.javadoc")[] parameters() Deprecated, for removal: This API element is subject to removal in a future version. Get argument information. Returns: an array of Parameter, one element per argument in the order the arguments are present. See Also: [Parameter](Parameter.html "interface in com.sun.javadoc") * #### receiverType [Type](Type.html "interface in com.sun.javadoc") receiverType() Deprecated, for removal: This API element is subject to removal in a future version. Get the receiver type of this executable element. Returns: the receiver type of this executable element. Since: 1.8 * #### throwsTags [ThrowsTag](ThrowsTag.html "interface in com.sun.javadoc")[] throwsTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the throws tags in this method. Returns: an array of ThrowTag containing all `@exception` and `@throws` tags. * #### paramTags [ParamTag](ParamTag.html "interface in com.sun.javadoc")[] paramTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the param tags in this method, excluding the type parameter tags. Returns: an array of ParamTag containing all `@param` tags corresponding to the parameters of this method. * #### typeParamTags [ParamTag](ParamTag.html "interface in com.sun.javadoc")[] typeParamTags() Deprecated, for removal: This API element is subject to removal in a future version. Return the type parameter tags in this method. Returns: an array of ParamTag containing all `@param` tags corresponding to the type parameters of this method. Since: 1.5 * #### signature [String](../../../../java.base/java/lang/String.html "class in java.lang") signature() Deprecated, for removal: This API element is subject to removal in a future version. 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)`. Returns: the parameter list where type is qualified. * #### flatSignature [String](../../../../java.base/java/lang/String.html "class in java.lang") flatSignature() Deprecated, for removal: This API element is subject to removal in a future version. 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)`. Returns: a String, which is the flat signiture of this member. * #### typeParameters [TypeVariable](TypeVariable.html "interface in com.sun.javadoc")[] typeParameters() Deprecated, for removal: This API element is subject to removal in a future version. Return the formal type parameters of this method or constructor. Return an empty array if this method or constructor is not generic. Returns: the formal type parameters of this method or constructor. Since: 1.5