public void writeMethod ( SourceWriter writer , String signature , String body ) { writer . println ( signature + " {" ) ; writer . indent ( ) ; writer . println ( body ) ; writer . outdent ( ) ; writer . println ( "}" ) ; writer . println ( ) ; }
Writes a method with the given signature and body to the source writer .