}
OptimisationPhaseManager.register(new JavacBrutaliser(), AFTER_ANNOTATION_PROCESSING);
OptimisationPhaseManager.register(new TreeConverter(), AFTER_DESUGAR);
OptimisationPhaseManager.register(new ProxyDetector(), AFTER_DESUGAR);
// As it happens, almost all our phases operate in the AFTER_DESUGAR phase (as this turns out to be
// very much more convenient than working on the actual tree if you don't care about the desugared things.)
// Don't optimise in library annotation mode - we just need one pass of the SideEffectVisitor (via TreeConverter)