@ Override public String getText ( ) { String retType = AstToTextHelper . getClassText ( returnType ) ; String exceptionTypes = AstToTextHelper . getThrowsClauseText ( exceptions ) ; String parms = AstToTextHelper . getParametersText ( parameters ) ; return AstToTextHelper . getModifiersText ( modifiers ) + " " + retType + " " + name + "(" + parms + ") " + exceptionTypes + " { ... }" ; }
Provides a nicely formatted string of the method definition . For simplicity generic types on some of the elements are not displayed .