Skip to content

Guide to Generated Classes

Ben Fagin edited this page Oct 19, 2013 · 8 revisions

The process of rendering Descriptors to source code creates a few different types of classes...

*Generator -> contains the static method used to get a new instance of your builder (one per descriptor) *Helper -> these are the Helper interfaces which need to be implemented for your builder to function (one per block) *Builder -> convenience 'Wrapper' class extending the starting state, which is the block with all of its methods before any of them have been called (one per block) *Builder... -> interfaces which define the skeleton of your API, containing the useful information like methods, documentation, and the reflective information Flapi needs to execute your builder at runtime (one or more per block)

Clone this wiki locally