private String getMethodCommentText ( ) { String text = null ; // Check the read method first if ( mReadMethod != null ) { text = mReadMethod . getCommentText ( ) ; } if ( text == null && mWriteMethod != null ) { // Try the write method text = mWriteMethod . getCommentText ( ) ; } if ( text == null || text . trim ( ) . length ( ) == 0 ) { // Try the "@return" tag text = getTagValue ( "return" ) ; } return text ; }
Checks both the read and write MethodDocs for a comment