Package org.agrona.generation
Utilities to support code generation and compilation in-memory.
-
Interface Summary Interface Description DynamicPackageOutputManager Extended version of theOutputManager
allowing the specification of packages for selected outputs.OutputManager Abstraction that manages the destination of generated output.ResourceConsumer<T> Consumer of a resource which can throwIOException
s. -
Class Summary Class Description CharSequenceJavaFileObject An implementation of aSimpleJavaFileObject
which stores the content in aCharSequence
.ClassFileManager<M extends javax.tools.JavaFileManager> ForwardingJavaFileManager
for storing class files which can be looked up by name.CompilerUtil Utilities for compiling Java source files at runtime.JavaClassObject ASimpleJavaFileObject
that is used to store the bytes for a java class in memory.PackageOutputManager OutputManager
for managing the creation of Java source files as the target of code generation.SpecialisationGenerator Specialise classes written for primitive type int for other primitive types by substitution.SpecialisationGenerator.Substitution Substitution to be performed on each code line.StringWriterOutputManager AnOutputManager
which can store source files asStringWriter
buy source file name. -
Annotation Types Summary Annotation Type Description DoNotSub A marker annotation to tell the primitive expander not to substitute the line in question.