public void defineMethod ( String methodName , int modifiers , String signature , CodeBlock methodBody ) { this . methods . add ( new MethodDefinition ( methodName , modifiers , signature , methodBody ) ) ; }
Defines a new method on the target class