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.MethodSymbolDeprecated.Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
lineMap, treeFields 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) CollationKeyDeprecated.Generate a key for sorting.protected com.sun.tools.javac.code.Symbol.ClassSymbolDeprecated.Identify the containing classprotected longgetFlags()Deprecated.Returns the flags in terms of javac's flagsbooleanDeprecated.return true if this Doc is include in the active set.booleanisNative()Deprecated.Return true if this method is nativebooleanDeprecated.Return true if this method is synchronizedbooleanDeprecated.Returns true if this field was synthesized by the compiler.booleanDeprecated.Return true if this method was declared to take a variable number of arguments.private StringmakeSignature(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 StringDeprecated.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, setTreePathMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, tagsMethods 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:
getFlagsin classProgramElementDocImpl
-
getContainingClass
protected com.sun.tools.javac.code.Symbol.ClassSymbol getContainingClass()Deprecated.Identify the containing class- Specified by:
getContainingClassin classProgramElementDocImpl
-
isNative
public boolean isNative()Deprecated.Return true if this method is native- Specified by:
isNativein interfaceExecutableMemberDoc- Returns:
- true if this method is native
-
isSynchronized
public boolean isSynchronized()Deprecated.Return true if this method is synchronized- Specified by:
isSynchronizedin 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:
isVarArgsin 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:
isSyntheticin interfaceMemberDoc- Specified by:
isSyntheticin classMemberDocImpl- Returns:
- true if this member was synthesized by the compiler.
-
isIncluded
public boolean isIncluded()Deprecated.Description copied from class:DocImplreturn true if this Doc is include in the active set.- Specified by:
isIncludedin interfaceDoc- Specified by:
isIncludedin classDocImpl- Returns:
- true if this Doc item is included in the result set.
-
throwsTags
Deprecated.Return the throws tags in this method.- Specified by:
throwsTagsin interfaceExecutableMemberDoc- Returns:
- an array of ThrowTagImpl containing all
@exceptionand@throwstags.
-
paramTags
Deprecated.Return the param tags in this method, excluding the type parameter tags.- Specified by:
paramTagsin interfaceExecutableMemberDoc- Returns:
- an array of ParamTagImpl containing all
@paramtags.
-
typeParamTags
Deprecated.Return the type parameter tags in this method.- Specified by:
typeParamTagsin interfaceExecutableMemberDoc- Returns:
- an array of ParamTag containing all
@paramtags corresponding to the type parameters of this method.
-
thrownExceptions
Deprecated.Return exceptions this method or constructor throws.- Specified by:
thrownExceptionsin 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 aClassDocor aTypeVariable.- Specified by:
thrownExceptionTypesin interfaceExecutableMemberDoc- Returns:
- an array representing the exceptions thrown by this method.
Each array element is either a
ClassDocor aTypeVariable.
-
parameters
Deprecated.Get argument information.- Specified by:
parametersin 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:
receiverTypein 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:
typeParametersin 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:
signaturein 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:
flatSignaturein 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:
generateKeyin classProgramElementDocImpl
-
position
Deprecated.Return the source position of the entity, or null if no position is available.
-