Class Analyser

java.lang.Object
org.inferred.freebuilder.processor.Analyser

class Analyser extends Object
Analyses a FreeBuilder datatype type, returning a GeneratedType for a Builder superclass derived from its API.

Any deviations from the FreeBuilder spec in the user's class will result in errors being issued, but unless code generation is totally impossible, a type will still be returned. This allows the user to extend an existing type without worrying that a mistake will cause compiler errors in all dependent code—which would make it very hard to find the real error.