final GeneratorContext context = this.getGeneratorContext();
context.branch();
context.info("Overriding " + Constants.CREATE_ROOT_LOGGER_METHOD);
final List createDefaultLoggerMethodArguments = Collections.nCopies(1, context.getString());
final Method method = loggerFactory.findMostDerivedMethod(Constants.CREATE_ROOT_LOGGER_METHOD,
createDefaultLoggerMethodArguments);
final NewMethod newMethod = method.copy(loggerFactory);
newMethod.setAbstract(false);
newMethod.setFinal(true);
newMethod.setNative(false);
final String category = LoggingConstants.ROOT_LOGGER_NAME;