Class ExecutableMemberDocImpl
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.MemberDocImpl
gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
- All Implemented Interfaces:
Doc
,ExecutableMemberDoc
,MemberDoc
,ProgramElementDoc
,Comparable<Object>
- Direct Known Subclasses:
ConstructorDocImpl
,MethodDocImpl
@Deprecated
public abstract class ExecutableMemberDocImpl
extends MemberDocImpl
implements ExecutableMemberDoc
Deprecated.
Represents a method or constructor of a java class.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.sun.tools.javac.code.Symbol.MethodSymbol
Deprecated.Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
lineMap, tree
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
documentation, env, treePath
-
Constructor Summary
ConstructorsConstructorDescriptionExecutableMemberDocImpl
(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym) Deprecated.Constructor.ExecutableMemberDocImpl
(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get flat signature.(package private) CollationKey
Deprecated.Generate a key for sorting.protected com.sun.tools.javac.code.Symbol.ClassSymbol
Deprecated.Identify the containing classprotected long
getFlags()
Deprecated.Returns the flags in terms of javac's flagsboolean
Deprecated.return true if this Doc is include in the active set.boolean
isNative()
Deprecated.Return true if this method is nativeboolean
Deprecated.Return true if this method is synchronizedboolean
Deprecated.Returns true if this field was synthesized by the compiler.boolean
Deprecated.Return true if this method was declared to take a variable number of arguments.private String
makeSignature
(boolean full) Deprecated.Deprecated.Get argument information.ParamTag[]
Deprecated.Return the param tags in this method, excluding the type parameter tags.position()
Deprecated.Return the source position of the entity, or null if no position is available.Deprecated.Get the receiver type of this executable element.Deprecated.Get the signature.ClassDoc[]
Deprecated.Return exceptions this method or constructor throws.Type[]
Deprecated.Return exceptions this method or constructor throws.Deprecated.Return the throws tags in this method.Deprecated.Return the formal type parameters of this method or constructor.protected String
Deprecated.ParamTag[]
Deprecated.Return the type parameter tags in this method.Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
annotations, containingClass, containingPackage, getModifiers, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, setTreePath
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
comment, commentText, compareTo, documentation, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isInterface, isMethod, isOrdinaryClass, key, name, qualifiedName, readHTMLDocumentation, seeTags, setRawCommentText, tags, tags, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.gosudoc.com.sun.javadoc.Doc
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isInterface, isMethod, isOrdinaryClass, name, seeTags, setRawCommentText, tags, tags
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
-
Field Details
-
sym
protected final com.sun.tools.javac.code.Symbol.MethodSymbol symDeprecated.
-
-
Constructor Details
-
ExecutableMemberDocImpl
public ExecutableMemberDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath) Deprecated.Constructor. -
ExecutableMemberDocImpl
Deprecated.Constructor.
-
-
Method Details
-
getFlags
protected long getFlags()Deprecated.Returns the flags in terms of javac's flags- Specified by:
getFlags
in classProgramElementDocImpl
-
getContainingClass
protected com.sun.tools.javac.code.Symbol.ClassSymbol getContainingClass()Deprecated.Identify the containing class- Specified by:
getContainingClass
in classProgramElementDocImpl
-
isNative
public boolean isNative()Deprecated.Return true if this method is native- Specified by:
isNative
in interfaceExecutableMemberDoc
- Returns:
- true if this method is native
-
isSynchronized
public boolean isSynchronized()Deprecated.Return true if this method is synchronized- Specified by:
isSynchronized
in interfaceExecutableMemberDoc
- Returns:
- true if this method is synchronized
-
isVarArgs
public boolean isVarArgs()Deprecated.Return true if this method was declared to take a variable number of arguments.- Specified by:
isVarArgs
in interfaceExecutableMemberDoc
- Returns:
- true if this method was declared to take a variable number of arguments.
-
isSynthetic
public boolean isSynthetic()Deprecated.Returns true if this field was synthesized by the compiler.- Specified by:
isSynthetic
in interfaceMemberDoc
- Specified by:
isSynthetic
in classMemberDocImpl
- Returns:
- true if this member was synthesized by the compiler.
-
isIncluded
public boolean isIncluded()Deprecated.Description copied from class:DocImpl
return true if this Doc is include in the active set.- Specified by:
isIncluded
in interfaceDoc
- Specified by:
isIncluded
in classDocImpl
- Returns:
- true if this Doc item is included in the result set.
-
throwsTags
Deprecated.Return the throws tags in this method.- Specified by:
throwsTags
in interfaceExecutableMemberDoc
- Returns:
- an array of ThrowTagImpl containing all
@exception
and@throws
tags.
-
paramTags
Deprecated.Return the param tags in this method, excluding the type parameter tags.- Specified by:
paramTags
in interfaceExecutableMemberDoc
- Returns:
- an array of ParamTagImpl containing all
@param
tags.
-
typeParamTags
Deprecated.Return the type parameter tags in this method.- Specified by:
typeParamTags
in interfaceExecutableMemberDoc
- Returns:
- an array of ParamTag containing all
@param
tags corresponding to the type parameters of this method.
-
thrownExceptions
Deprecated.Return exceptions this method or constructor throws.- Specified by:
thrownExceptions
in interfaceExecutableMemberDoc
- Returns:
- an array of ClassDoc[] representing the exceptions thrown by this method.
- See Also:
-
thrownExceptionTypes
Deprecated.Return exceptions this method or constructor throws. Each array element is either aClassDoc
or aTypeVariable
.- Specified by:
thrownExceptionTypes
in interfaceExecutableMemberDoc
- Returns:
- an array representing the exceptions thrown by this method.
Each array element is either a
ClassDoc
or aTypeVariable
.
-
parameters
Deprecated.Get argument information.- Specified by:
parameters
in interfaceExecutableMemberDoc
- Returns:
- an array of ParameterImpl, one element per argument in the order the arguments are present.
- See Also:
-
receiverType
Deprecated.Get the receiver type of this executable element.- Specified by:
receiverType
in interfaceExecutableMemberDoc
- Returns:
- the receiver type of this executable element.
- Since:
- 1.8
-
typeParameters
Deprecated.Return the formal type parameters of this method or constructor. Return an empty array if there are none.- Specified by:
typeParameters
in interfaceExecutableMemberDoc
- Returns:
- the formal type parameters of this method or constructor.
-
signature
Deprecated.Get the signature. It is the parameter list, type is qualified. For instance, for a methodmymethod(String x, int y)
, it will return(java.lang.String,int)
.- Specified by:
signature
in interfaceExecutableMemberDoc
- Returns:
- the parameter list where type is qualified.
-
flatSignature
Deprecated.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 methodmymethod(String x, int y)
, it will return(String, int)
.- Specified by:
flatSignature
in interfaceExecutableMemberDoc
- Returns:
- a String, which is the flat signiture of this member.
-
makeSignature
Deprecated. -
typeParametersString
Deprecated. -
generateKey
CollationKey generateKey()Deprecated.Generate a key for sorting.- Overrides:
generateKey
in classProgramElementDocImpl
-
position
Deprecated.Return the source position of the entity, or null if no position is available.
-