Class ConstructorDocImpl
- 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
-
- gw.gosudoc.com.sun.tools.javadoc.main.ConstructorDocImpl
-
- All Implemented Interfaces:
ConstructorDoc
,Doc
,ExecutableMemberDoc
,MemberDoc
,ProgramElementDoc
,Comparable<Object>
@Deprecated public class ConstructorDocImpl extends ExecutableMemberDocImpl implements ConstructorDoc
Deprecated.Represents a 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
- Author:
- Robert Field, Neal Gafter (rewrite)
-
-
Field Summary
-
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
sym
-
Fields inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
documentation, env, treePath
-
-
Constructor Summary
Constructors Constructor Description ConstructorDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym)
Deprecated.constructor.ConstructorDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath)
Deprecated.constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isConstructor()
Deprecated.Return true if it is a constructor, which it is.String
name()
Deprecated.Get the name.String
qualifiedName()
Deprecated.Get the name.String
toString()
Deprecated.Returns a string representation of this constructor.-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ExecutableMemberDocImpl
flatSignature, getContainingClass, getFlags, isIncluded, isNative, isSynchronized, isSynthetic, isVarArgs, parameters, paramTags, position, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParametersString, typeParamTags
-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.ProgramElementDocImpl
annotations, containingClass, containingPackage, getModifiers, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier
-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.DocImpl
commentText, compareTo, documentation, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isEnum, isEnumConstant, isError, isException, isField, isInterface, isMethod, isOrdinaryClass, seeTags, setRawCommentText, tags, tags
-
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, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, position, seeTags, setRawCommentText, tags, tags
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ExecutableMemberDoc
flatSignature, isNative, isSynchronized, isVarArgs, parameters, paramTags, receiverType, signature, thrownExceptions, thrownExceptionTypes, throwsTags, typeParameters, typeParamTags
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.MemberDoc
isSynthetic
-
Methods inherited from interface gw.gosudoc.com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier
-
-
-
-
Constructor Detail
-
ConstructorDocImpl
public ConstructorDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym)
Deprecated.constructor.
-
ConstructorDocImpl
public ConstructorDocImpl(DocEnv env, com.sun.tools.javac.code.Symbol.MethodSymbol sym, com.sun.source.util.TreePath treePath)
Deprecated.constructor.
-
-
Method Detail
-
isConstructor
public boolean isConstructor()
Deprecated.Return true if it is a constructor, which it is.- Specified by:
isConstructor
in interfaceDoc
- Overrides:
isConstructor
in classDocImpl
- Returns:
- true
-
name
public String name()
Deprecated.Get the name.
-
qualifiedName
public String qualifiedName()
Deprecated.Get the name.- Specified by:
qualifiedName
in interfaceProgramElementDoc
- Specified by:
qualifiedName
in classDocImpl
- Returns:
- the qualified name of the member.
-
toString
public String toString()
Deprecated.Returns a string representation of this constructor. Includes the qualified signature and any type parameters. Type parameters precede the class name, as they do in the syntax for invoking constructors with explicit type parameters using "new". (This is unlike the syntax for invoking methods with explicit type parameters.)
-
-