public final class CompilerOptionsPreprocessor
extends java.lang.Object
This is run by Compiler#compileInternal, which is not run during unit tests. The catch is that it's run after Compiler#initOptions, so if for example you want to change the warningsGuard, you can't do it here.
Also, turns off options if the provided options don't make sense together.
Modifier and Type | Class and Description |
---|---|
static class |
CompilerOptionsPreprocessor.InvalidOptionsException
Exception to indicate incompatible options in the CompilerOptions.
|
Copyright © 2009-2020 Google. All Rights Reserved.