Class LoggingFileManagerProxy

java.lang.Object
io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy
All Implemented Interfaces:
InvocationHandler

@API(since="0.0.1", status=STABLE) public final class LoggingFileManagerProxy extends Object implements InvocationHandler
A proxy that wraps a JctFileManager in a proxy that can log all interactions with the JavaFileManager, along with a corresponding stacktrace.

This is useful for diagnosing difficult-to-find errors being produced by javac during testing, however, it may produce a hefty performance overhead when in use.

All logs are emitted with the DEBUG logging level.

Since:
0.0.1
Author:
Ashley Scopes