public class ClassItemSourceWrapper extends ClassItemWrapper
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_checkedSource |
private Member |
m_itemSource |
| Constructor and Description |
|---|
ClassItemSourceWrapper(IClass clas,
ClassItem item)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
docText(java.lang.String text)
Return JavaDoc text only if non-empty.
|
java.lang.String |
getExceptionJavaDoc(int index)
Get method throws JavaDoc description, if available.
|
private Member |
getItemSource()
Internal method to get the source code information for this item.
|
java.lang.String |
getJavaDoc()
Get item JavaDoc description, if available.
|
java.lang.String |
getParameterJavaDoc(int index)
Get method parameter JavaDoc description, if available.
|
java.lang.String |
getParameterName(int index)
Get method parameter name, if available.
|
java.lang.String |
getReturnJavaDoc()
Get return JavaDoc description for method, if available.
|
private boolean |
matchSignature(JavaMethod method)
Check for source method signature match.
|
getAccessFlags, getArgumentCount, getArgumentType, getClassItem, getContainingClass, getExceptions, getGenericsSignature, getName, getOwningClass, getSignature, getTypeName, isInitializer, isMethodprivate boolean m_checkedSource
private Member m_itemSource
private boolean matchSignature(JavaMethod method)
method - true if match to this method, false if notprivate Member getItemSource()
private static java.lang.String docText(java.lang.String text)
text - raw JavaDoc textnullpublic java.lang.String getJavaDoc()
IClassItemgetJavaDoc in interface IClassItemgetJavaDoc in class ClassItemWrappernull if not available)public java.lang.String getReturnJavaDoc()
IClassItemgetReturnJavaDoc in interface IClassItemgetReturnJavaDoc in class ClassItemWrappernull if not available)public java.lang.String getParameterJavaDoc(int index)
IClassItemgetParameterJavaDoc in interface IClassItemgetParameterJavaDoc in class ClassItemWrapperindex - parameter numbernull if not available)public java.lang.String getParameterName(int index)
IClassItemgetParameterName in interface IClassItemgetParameterName in class ClassItemWrapperindex - parameter numbernull if not available)public java.lang.String getExceptionJavaDoc(int index)
IClassItemgetExceptionJavaDoc in interface IClassItemgetExceptionJavaDoc in class ClassItemWrapperindex - exception index (into array returned by
IClassItem.getExceptions()null if not available)