|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common functionality for methods and constructors.
| Method Summary | |
String |
getNameWithSignature()
|
String |
getNameWithSignature(boolean withParam)
|
List |
getParameters()
Returns the parameters. |
String |
getParameterTypes()
Returns the parameters as a comma separated list of classes. |
String |
getSignature()
Deprecated. use getSignature(boolean) |
String |
getSignature(boolean withParam)
Returns the signature. |
List |
getThrownExceptions()
Returns the thrown exception classes. |
boolean |
isConstructor()
Return true if this is a constructor. |
boolean |
isNative()
|
boolean |
isSynchronized()
|
boolean |
throwsException(String exception_class_name)
Return true if the member throws the specified exception in its throws block. |
| Methods inherited from interface xjavadoc.XProgramElement |
getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getSuperElement, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, updateDoc |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface xjavadoc.Named |
getName |
| Method Detail |
public boolean isNative()
public boolean isSynchronized()
public List getParameters()
XParameter.public List getThrownExceptions()
XClass.public boolean throwsException(String exception_class_name)
exception_class_name -
public boolean isConstructor()
public String getSignature()
public String getSignature(boolean withParam)
(java.lang.String,int) or (java.lang.String foo,int bar)
.
withParam - whether or not to include the parameter names in the
signature.
public String getNameWithSignature()
public String getNameWithSignature(boolean withParam)
public String getParameterTypes()
(java.lang.String,int) would return java.lang.String.class, java.lang.Integer.TYPE
.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||