Spec-Zone .ru
спецификации, руководства, описания, API
|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a java program element: class, interface, field, constructor, or method. This is an abstract class dealing with information common to these elements.
MemberDoc
,
ClassDoc
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
ClassDoc |
containingClass()
Get the containing class of this program element. |
PackageDoc |
containingPackage()
Get the package that this program element is contained in. |
boolean |
isFinal()
Return true if this program element is final |
boolean |
isPackagePrivate()
Return true if this program element is package private |
boolean |
isPrivate()
Return true if this program element is private |
boolean |
isProtected()
Return true if this program element is protected |
boolean |
isPublic()
Return true if this program element is public |
boolean |
isStatic()
Return true if this program element is static |
java.lang.String |
modifiers()
Get modifiers string. |
int |
modifierSpecifier()
Get the modifier specifier integer. |
java.lang.String |
qualifiedName()
Get the fully qualified name. |
Methods inherited from interface com.sun.javadoc.Doc |
commentText,
compareTo,
firstSentenceTags,
getRawCommentText,
inlineTags,
isClass,
isConstructor,
isError,
isException,
isField,
isIncluded,
isInterface,
isMethod,
isOrdinaryClass,
name,
seeTags,
setRawCommentText,
tags,
tags |
Method Detail |
public ClassDoc containingClass()
public PackageDoc containingPackage()
public java.lang.String qualifiedName()
Example: for the class java.util.Hashtable, return: java.util.Hashtable for the method bar() in class Foo in the unnamed package, return: Foo.bar()
public int modifierSpecifier()
Modifier
public java.lang.String modifiers()
Example, for: public abstract int foo() { ... } modifiers() would return: 'public abstract'
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public boolean isPackagePrivate()
public boolean isStatic()
public boolean isFinal()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |