|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.combex.e.edoc.EDoc | +--com.combex.e.edoc.EProgramElementDoc | +--com.combex.e.edoc.EMemberDoc
Represents a member of a java class: field, constructor, or method. This is an abstract class dealing with information common to method, constructor and field members. Class members of a class (innerclasses) are represented instead by EClassDoc.
EMethodDoc
,
EFieldDoc
,
EClassDoc
Field Summary | |
(package private) EClassDoc |
myContainingClass
|
private boolean |
myIsIncluded
|
(package private) int |
myModifiers
|
private String |
myName
|
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES, serialVersionUID |
Constructor Summary | |
EMemberDoc(EDocBuilder builder,
com.sun.javadoc.MemberDoc memberDoc)
|
|
EMemberDoc(String documentation,
int modifiers,
EClassDoc containingClass,
String name,
boolean included)
|
Method Summary | |
abstract int |
arity()
|
(package private) boolean |
checkAccess()
Hook so we can allow unfiltered access, with a yet to be determined API addition. |
(package private) EComment |
comment()
For lazy initialization of comment. |
String |
commentText()
Return the text of the comment for this doc item. |
int |
compareTo(Object obj)
Compares this Object with the specified Object for order. |
com.sun.javadoc.ClassDoc |
containingClass()
Get the containing class of this program element. |
com.sun.javadoc.PackageDoc |
containingPackage()
Return the package that this member is contained in. |
com.sun.javadoc.Tag[] |
firstSentenceTags()
|
(package private) java.text.CollationKey |
generateKey()
generate a key for sorting. |
String |
getRawCommentText()
Return the full unprocessed text of the comment. |
com.sun.javadoc.Tag[] |
inlineTags()
|
boolean |
isClass()
Is this Doc item a class. |
boolean |
isConstructor()
Is this Doc item a constructor? False until overridden. |
boolean |
isError()
Is this Doc item a error class? False until overridden. |
boolean |
isException()
Is this Doc item a exception class? False until overridden. |
boolean |
isField()
Is this Doc item a field? False until overridden. |
boolean |
isFinal()
Return true if this program element is final |
boolean |
isIncluded()
return true if this member is included in the active set. |
boolean |
isInterface()
Is this Doc item a interface? False until overridden. |
boolean |
isMethod()
Is this Doc item a simple method (i.e. |
boolean |
isOrdinaryClass()
Is this Doc item a ordinary class (i.e. |
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 |
boolean |
isSynthetic()
Returns true if this field was synthesized by the compiler. |
(package private) java.text.CollationKey |
key()
return a key for sorting. |
static ArrayList |
list(Object[] array)
|
String |
modifiers()
Get modifiers string. |
int |
modifierSpecifier()
Get the modifier specifier integer. |
String |
name()
Get the name. |
com.sun.javadoc.SourcePosition |
position()
Need for 1.4 |
String |
qualifiedName()
Get the name. |
(package private) String |
readHTMLDocumentation(InputStream input,
String filename)
Utility for subclasses which read HTML documentation files. |
com.sun.javadoc.SeeTag[] |
seeTags()
Return the see also tags in this Doc item. |
void |
setRawCommentText(String rawDocumentation)
Set the full unprocessed text of the comment. |
com.sun.javadoc.Tag[] |
tags()
Return all tags in this Doc item. |
com.sun.javadoc.Tag[] |
tags(String tagname)
Return tags of the specified kind in this Doc item. |
(package private) EClassDoc |
thisClassDocImpl()
|
(package private) String |
toQualifiedString()
Returns the qualified string representation of this Doc item. |
String |
toString()
Returns a string representation of the member. |
abstract String |
typedVerb()
|
static EDoc[] |
visible(List list,
Class memType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Field Detail |
private final String myName
private final boolean myIsIncluded
final int myModifiers
final EClassDoc myContainingClass
Constructor Detail |
public EMemberDoc(EDocBuilder builder, com.sun.javadoc.MemberDoc memberDoc)
public EMemberDoc(String documentation, int modifiers, EClassDoc containingClass, String name, boolean included)
Method Detail |
public abstract String typedVerb()
public abstract int arity()
EClassDoc thisClassDocImpl()
thisClassDocImpl
in class EDoc
public String qualifiedName()
public String name()
name
in class EDoc
public com.sun.javadoc.PackageDoc containingPackage()
public boolean isIncluded()
isIncluded
in class EDoc
public boolean isSynthetic()
public String toString()
toString
in class EDoc
String toQualifiedString()
EDoc
toQualifiedString
in class EDoc
public com.sun.javadoc.ClassDoc containingClass()
public int modifierSpecifier()
java.lang.reflect.Modifier
public 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()
public static ArrayList list(Object[] array)
EComment comment()
boolean checkAccess()
public String commentText()
public com.sun.javadoc.Tag[] tags()
public com.sun.javadoc.Tag[] tags(String tagname)
tagname
- name of the tag kind to search for.
public com.sun.javadoc.SeeTag[] seeTags()
public com.sun.javadoc.Tag[] inlineTags()
public com.sun.javadoc.Tag[] firstSentenceTags()
String readHTMLDocumentation(InputStream input, String filename) throws IOException
IOException
public String getRawCommentText()
public void setRawCommentText(String rawDocumentation)
java.text.CollationKey key()
java.text.CollationKey generateKey()
default is toString();
public int compareTo(Object obj)
Included so that Doc item are java.lang.Comparable.
compareTo
in interface Comparable
obj
- the Object to be compared.
ClassCastException
- the specified Object's type prevents it
from being compared to this Object.public boolean isField()
public boolean isMethod()
public boolean isConstructor()
public boolean isInterface()
public boolean isException()
public boolean isError()
public boolean isOrdinaryClass()
public boolean isClass()
public static EDoc[] visible(List list, Class memType)
public com.sun.javadoc.SourcePosition position()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |