Package com.tonic.builder
Fluent builders for classes, fields, methods, code and annotations.
-
Class Summary Class Description AnnotationBuilder<P> Fluent builder for a single annotation.ClassBuilder Fluent builder that assembles aClassFilefrom scratch - version, access, hierarchy, fields, methods, annotations, and bootstrap methods.CodeBuilder A fluent assembler for a method body that records instructions as sized ops and resolves named labels to branch offsets when the body is built or assembled.FieldBuilder Fluent builder for a single field of a class under construction, returning to itsClassBuilderfromFieldBuilder.end().MethodBuilder Fluent builder for one method of a ClassBuilder, holding its code, thrown types, frame sizes, and annotations until the enclosing class is built.