|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxjavadoc.AbstractProgramElement
xjavadoc.MemberImpl
xjavadoc.AbstractExecutableMember
Baseclass for XExecutableMember.
| Field Summary |
| Fields inherited from class xjavadoc.AbstractProgramElement |
EMPTY_LIST |
| Constructor Summary | |
protected |
AbstractExecutableMember(AbstractClass containingClass,
XTagFactory tagFactory)
|
| Method Summary | |
void |
addParameterData(String type,
String name,
int dimension)
Adds a parameter |
void |
addThrownException(String thrownException)
|
protected abstract String |
buildStringId()
|
boolean |
equals(Object o)
|
String |
getName()
Get name |
String |
getNameWithSignature(boolean withParam)
Gets the name and signature |
(package private) int |
getParameterDimension(int index)
|
(package private) String |
getParameterName(int index)
|
List |
getParameters()
Returns the method parameters. |
(package private) String |
getParameterType(int index)
|
String |
getParameterTypes()
Returns the parameters as a comma separated list of classes. |
String |
getSignature(boolean withParam)
Gets the signature |
XProgramElement |
getSuperElement(boolean forMethod)
|
List |
getSuperInterfaceElements()
|
List |
getThrownExceptions()
Returns the thrown exception classes. |
int |
hashCode()
|
boolean |
isNative()
Gets the Native attribute of the AbstractExecutableMember object |
boolean |
isSynchronized()
Gets the Synchronized attribute of the AbstractExecutableMember object |
void |
setName(String name)
|
boolean |
throwsException(String exception_class_name)
Return true if the member throws the specified exception in its throws block. |
String |
toString()
|
| Methods inherited from class xjavadoc.AbstractProgramElement |
addModifier, compareTo, getContainingAbstractClass, getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getTagFactory, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, reset, setToken, updateDoc |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface xjavadoc.XExecutableMember |
isConstructor |
| Methods inherited from interface xjavadoc.XProgramElement |
getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getSuperElement, getSuperInterfaceElements, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, updateDoc |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface xjavadoc.Named |
getName |
| Constructor Detail |
protected AbstractExecutableMember(AbstractClass containingClass,
XTagFactory tagFactory)
| Method Detail |
public final boolean isNative()
isNative in interface XExecutableMemberpublic final boolean isSynchronized()
isSynchronized in interface XExecutableMemberpublic final List getParameters()
getParameters in interface XExecutableMemberpublic final String getSignature(boolean withParam)
getSignature in interface XExecutableMemberwithParam - if true, include the parameters in the signature.
Otherwise, only the types will be used.
public final String getNameWithSignature(boolean withParam)
getNameWithSignature in interface XExecutableMemberwithParam - if true, include the parameters in the signature.
Otherwise, only the types will be used.
public String getParameterTypes()
XExecutableMember(java.lang.String,int) would return
java.lang.String.class, java.lang.Integer.TYPE.
getParameterTypes in interface XExecutableMemberpublic List getThrownExceptions()
XExecutableMember
getThrownExceptions in interface XExecutableMemberXClass.public XProgramElement getSuperElement(boolean forMethod)
public boolean throwsException(String exception_class_name)
XExecutableMember
throwsException in interface XExecutableMemberexception_class_name -
public void addParameterData(String type,
String name,
int dimension)
type - qualified nyme of parameter typename - parameter namedimension - parameter dimensionpublic void addThrownException(String thrownException)
public boolean equals(Object o)
public int hashCode()
public String toString()
protected abstract String buildStringId()
final String getParameterType(int index)
final String getParameterName(int index)
final int getParameterDimension(int index)
public String getName()
Named
getName in interface Namedpublic void setName(String name)
public List getSuperInterfaceElements()
getSuperInterfaceElements in interface XProgramElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||