Compile-time processing¶
Compile-time processing refers to the execution of specific operations or tasks during the compilation phase of a software build lifecycle, rather than at runtime.^[600-developer__java__black-technology__AbstractProcessor.md]
In the context of Java, this mechanism is often utilized to inspect, process, and generate source code based on annotations before the final bytecode is produced.^[600-developer__java__black-technology__AbstractProcessor.md]
Implementation¶
A common implementation of compile-time processing in Java involves the AbstractProcessor class.^[600-developer__java__black-technology__AbstractProcessor.md]
Related Concepts¶
- [[Annotation]]
- [[Metaprogramming]]
- Java
- [[Code generation]]
Sources¶
600-developer__java__black-technology__AbstractProcessor.md