|
|||||||||||
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(java.lang.String type,
java.lang.String name,
int dimension)
Adds a parameter |
void |
addThrownException(java.lang.String thrownException)
|
protected java.lang.String |
buildStringId()
|
boolean |
equals(java.lang.Object o)
|
java.util.List |
getAllSuperElements()
|
java.lang.String |
getName()
Get name |
java.lang.String |
getNameWithSignature(boolean withParam)
Gets the name and signature |
(package private) int |
getParameterDimension(int index)
|
(package private) java.lang.String |
getParameterName(int index)
|
java.util.List |
getParameters()
Returns the method parameters. |
(package private) java.lang.String |
getParameterType(int index)
|
java.lang.String |
getParameterTypes()
Returns the parameters as a comma separated list of classes. |
java.lang.String |
getSignature(boolean withParam)
Gets the signature |
XProgramElement |
getSuperElement()
|
XProgramElement |
getSuperElement(boolean forMethod)
|
java.util.List |
getSuperInterfaceElements()
|
java.util.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(java.lang.String name)
|
boolean |
throwsException(java.lang.String exception_class_name)
Return true if the member throws the specified exception in its throws block. |
java.lang.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 XExecutableMember
public XProgramElement getSuperElement()
getSuperElement
in interface XProgramElement
public java.util.List getAllSuperElements()
public java.lang.String getName()
Named
getName
in interface Named
getName
in class MemberImpl
public final void setName(java.lang.String name)
setName
in class MemberImpl
protected java.lang.String buildStringId()
buildStringId
in class AbstractExecutableMember
public final boolean isNative()
isNative
in interface XExecutableMember
public final boolean isSynchronized()
isSynchronized
in interface XExecutableMember
public final java.util.List getParameters()
getParameters
in interface XExecutableMember
public final java.lang.String getSignature(boolean withParam)
getSignature
in interface XExecutableMember
withParam
- if true, include the parameters in the signature.
Otherwise, only the types will be used.
public final java.lang.String getNameWithSignature(boolean withParam)
getNameWithSignature
in interface XExecutableMember
withParam
- if true, include the parameters in the signature.
Otherwise, only the types will be used.
public java.lang.String getParameterTypes()
XExecutableMember
(java.lang.String,int)
would return
java.lang.String.class, java.lang.Integer.TYPE
.
getParameterTypes
in interface XExecutableMember
public java.util.List getThrownExceptions()
XExecutableMember
getThrownExceptions
in interface XExecutableMember
XClass
.public XProgramElement getSuperElement(boolean forMethod)
public boolean throwsException(java.lang.String exception_class_name)
XExecutableMember
throwsException
in interface XExecutableMember
exception_class_name
-
public void addParameterData(java.lang.String type, java.lang.String name, int dimension)
type
- qualified nyme of parameter typename
- parameter namedimension
- parameter dimensionpublic void addThrownException(java.lang.String thrownException)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
final java.lang.String getParameterType(int index)
final java.lang.String getParameterName(int index)
final int getParameterDimension(int index)
public java.util.List getSuperInterfaceElements()
getSuperInterfaceElements
in interface XProgramElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |