Methods Summary |
---|
public com.sun.javadoc.AnnotationDesc[] | annotations()Get the annotations of this program element.
Return an empty array if there are none.
|
public com.sun.javadoc.ClassDoc | containingClass()Get the containing class or interface of this program element.
|
public com.sun.javadoc.PackageDoc | containingPackage()Get the package that this program element is contained in.
|
public boolean | isFinal()Return true if this program element is final.
|
public boolean | isPackagePrivate()Return true if this program element is package private.
|
public boolean | isPrivate()Return true if this program element is private.
|
public boolean | isProtected()Return true if this program element is protected.
|
public boolean | isPublic()Return true if this program element is public.
|
public boolean | isStatic()Return true if this program element is static.
|
public int | modifierSpecifier()Get the modifier specifier integer.
|
public java.lang.String | modifiers()Get modifiers string.
For example, for:
public abstract int foo() { ... }
return "public abstract".
Annotations are not included.
|
public java.lang.String | qualifiedName()Get the fully qualified name of this program element.
For 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".
|