Package io.github.connellite.constexpr.processor.intercept
package io.github.connellite.constexpr.processor.intercept
Stream interception for
@ConstExpr transformation during compilation.
This package implements the primary integration strategy, modeled after Project Lombok:
it replaces javac's JavaFileManager with a delegating wrapper that
buffers .class bytes on write and runs constexpr transformation before the bytes
reach disk.
Used when the annotation processor runs inside a real javac instance (IntelliJ JPS,
JavaCompiler.getTask(), command-line javac). ConstExprProcessor
tries to install this interceptor first in init().
-
ClassesClassDescriptionInstalls an intercepting
JavaFileManagerinto javac'sContext, mirroringLombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook().