|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxjavadoc.AbstractProgramElement
xjavadoc.MemberImpl
xjavadoc.AbstractExecutableMember
xjavadoc.ConstructorImpl
Describe what this class does
| Field Summary | |
static int |
instanceCount
|
| Fields inherited from class xjavadoc.AbstractProgramElement |
EMPTY_LIST |
| Constructor Summary | |
ConstructorImpl(AbstractClass containingClass,
XTagFactory tagFactory)
|
|
| Method Summary | |
void |
addParameterData(String type,
String name,
int dimension)
Adds a parameter |
void |
addThrownException(String thrownException)
|
protected String |
buildStringId()
|
boolean |
equals(Object o)
|
List |
getAllSuperElements()
|
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()
|
XProgramElement |
getSuperElement(boolean forMethod)
|
List |
getSuperInterfaceElements()
|
List |
getThrownExceptions()
Returns the thrown exception classes. |
int |
hashCode()
|
boolean |
isConstructor()
Return true if this is a constructor. |
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 |
getNameWithSignature, getParameters, getParameterTypes, getSignature, getThrownExceptions, isNative, isSynchronized, throwsException |
| Methods inherited from interface xjavadoc.XProgramElement |
getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getSuperInterfaceElements, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, updateDoc |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Field Detail |
public static int instanceCount
| Constructor Detail |
public ConstructorImpl(AbstractClass containingClass,
XTagFactory tagFactory)
| Method Detail |
public final boolean isConstructor()
XExecutableMember
isConstructor in interface XExecutableMemberpublic XProgramElement getSuperElement()
getSuperElement in interface XProgramElementpublic List getAllSuperElements()
public String getName()
Named
getName in interface NamedgetName in class MemberImplpublic final void setName(String name)
setName in class MemberImplprotected String buildStringId()
buildStringId in class AbstractExecutableMemberpublic 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()
final String getParameterType(int index)
final String getParameterName(int index)
final int getParameterDimension(int index)
public List getSuperInterfaceElements()
getSuperInterfaceElements in interface XProgramElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||