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, isMethod
private 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 textnull
public java.lang.String getJavaDoc()
IClassItem
getJavaDoc
in interface IClassItem
getJavaDoc
in class ClassItemWrapper
null
if not available)public java.lang.String getReturnJavaDoc()
IClassItem
getReturnJavaDoc
in interface IClassItem
getReturnJavaDoc
in class ClassItemWrapper
null
if not available)public java.lang.String getParameterJavaDoc(int index)
IClassItem
getParameterJavaDoc
in interface IClassItem
getParameterJavaDoc
in class ClassItemWrapper
index
- parameter numbernull
if not available)public java.lang.String getParameterName(int index)
IClassItem
getParameterName
in interface IClassItem
getParameterName
in class ClassItemWrapper
index
- parameter numbernull
if not available)public java.lang.String getExceptionJavaDoc(int index)
IClassItem
getExceptionJavaDoc
in interface IClassItem
getExceptionJavaDoc
in class ClassItemWrapper
index
- exception index (into array returned by
IClassItem.getExceptions()
null
if not available)