|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XExecutableMember
Common functionality for methods and constructors.
| Method Summary | |
|---|---|
java.lang.String |
getNameWithSignature(boolean withParam)
Gets the name and signature |
java.util.List |
getParameters()
Returns the parameters. |
java.lang.String |
getParameterTypes()
Returns the parameters as a comma separated list of classes. |
java.lang.String |
getSignature(boolean withParam)
Returns the signature. |
java.util.List |
getThrownExceptions()
Returns the thrown exception classes. |
boolean |
isConstructor()
Return true if this is a constructor. |
boolean |
isNative()
|
boolean |
isSynchronized()
|
boolean |
throwsException(java.lang.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, 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 |
| Method Detail |
|---|
boolean isNative()
boolean isSynchronized()
java.util.List getParameters()
XParameter.java.util.List getThrownExceptions()
XClass.boolean throwsException(java.lang.String exception_class_name)
exception_class_name -
boolean isConstructor()
java.lang.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.
java.lang.String getNameWithSignature(boolean withParam)
withParam - whether or not to include the parameter names in the
signature.
java.lang.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 | |||||||||