- 
- All Superinterfaces:
- Comparable<Object>,- Doc
 - All Known Subinterfaces:
- AnnotationTypeDoc,- AnnotationTypeElementDoc,- ClassDoc,- ConstructorDoc,- ExecutableMemberDoc,- FieldDoc,- MemberDoc,- MethodDoc
 
 @Deprecated(since="9", forRemoval=true) public interface ProgramElementDoc extends Doc Deprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Represents a java program element: class, interface, field, constructor, or method. This is an abstract class dealing with information common to these elements.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AnnotationDesc[]annotations()Deprecated, for removal: This API element is subject to removal in a future version.Get the annotations of this program element.ClassDoccontainingClass()Deprecated, for removal: This API element is subject to removal in a future version.Get the containing class or interface of this program element.PackageDoccontainingPackage()Deprecated, for removal: This API element is subject to removal in a future version.Get the package that this program element is contained in.booleanisFinal()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is final.booleanisPackagePrivate()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is package private.booleanisPrivate()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is private.booleanisProtected()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is protected.booleanisPublic()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is public.booleanisStatic()Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is static.Stringmodifiers()Deprecated, for removal: This API element is subject to removal in a future version.Get modifiers string.intmodifierSpecifier()Deprecated, for removal: This API element is subject to removal in a future version.Get the modifier specifier integer.StringqualifiedName()Deprecated, for removal: This API element is subject to removal in a future version.Get the fully qualified name of this program element.- 
Methods declared in interface com.sun.javadoc.DoccommentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags
 
- 
 
- 
- 
- 
Method Detail- 
containingClassClassDoc containingClass() Deprecated, for removal: This API element is subject to removal in a future version.Get the containing class or interface of this program element.- Returns:
- a ClassDoc for this element's containing class or interface. If this is a top-level class or interface, return null.
 
 - 
containingPackagePackageDoc containingPackage() Deprecated, for removal: This API element is subject to removal in a future version.Get the package that this program element is contained in.- Returns:
- a PackageDoc for this element containing package. If in the unnamed package, this PackageDoc will have the name "".
 
 - 
qualifiedNameString qualifiedName() Deprecated, for removal: This API element is subject to removal in a future version.Get the fully qualified name of this program element. For example, for the classjava.util.Hashtable, return "java.util.Hashtable".For the method bar()in classFooin the unnamed package, return "Foo.bar".- Returns:
- the qualified name of the program element as a String.
 
 - 
modifierSpecifierint modifierSpecifier() Deprecated, for removal: This API element is subject to removal in a future version.Get the modifier specifier integer.- Returns:
- Get the modifier specifier integer.
- See Also:
- Modifier
 
 - 
modifiersString modifiers() Deprecated, for removal: This API element is subject to removal in a future version.Get modifiers string. For example, for:public abstract int foo() { ... }return "public abstract". Annotations are not included.- Returns:
- "public abstract".
 
 - 
annotationsAnnotationDesc[] annotations() Deprecated, for removal: This API element is subject to removal in a future version.Get the annotations of this program element. Return an empty array if there are none.- Returns:
- the annotations of this program element.
- Since:
- 1.5
 
 - 
isPublicboolean isPublic() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is public.- Returns:
- true if this program element is public.
 
 - 
isProtectedboolean isProtected() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is protected.- Returns:
- true if this program element is protected.
 
 - 
isPrivateboolean isPrivate() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is private.- Returns:
- true if this program element is private.
 
 - 
isPackagePrivateboolean isPackagePrivate() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is package private.- Returns:
- true if this program element is package private.
 
 - 
isStaticboolean isStatic() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is static.- Returns:
- true if this program element is static.
 
 - 
isFinalboolean isFinal() Deprecated, for removal: This API element is subject to removal in a future version.Return true if this program element is final.- Returns:
- true if this program element is final.
 
 
- 
 
-