org.apache.tapestry5.ioc.util
Class BodyBuilder

Utility class for assembling the body used with Javassist when defining a method or constructor. Basically,
assists with formatting and with indentation. This makes the code that assembles a method body much simpler ... and
it makes the result neater, which will be easier to debug (debugging dynamically generated code is hard enough that
it should be easy to read the input code before worrying about why it doesn't compile or execute properly).

This class is not threadsafe.

Most of the methods return the BodyBuilder, to form a fluent interface.