private static Flags getDefaultFlags ( ) { if ( defaultFlags != null ) { return defaultFlags ; } defaultFlags = new Flags ( ) ; defaultFlags . angularPass = false ; defaultFlags . applyInputSourceMaps = true ; defaultFlags . assumeFunctionWrapper = false ; defaultFlags . checksOnly = false ; defaultFlags . chunk = null ; defaultFlags . chunkWrapper = null ; defaultFlags . chunkOutputPathPrefix = "./" ; defaultFlags . compilationLevel = "SIMPLE" ; defaultFlags . createSourceMap = true ; defaultFlags . dartPass = false ; defaultFlags . debug = false ; defaultFlags . define = null ; defaultFlags . defines = null ; defaultFlags . dependencyMode = null ; defaultFlags . entryPoint = null ; defaultFlags . env = "BROWSER" ; defaultFlags . exportLocalPropertyDefinitions = false ; defaultFlags . extraAnnotationName = null ; defaultFlags . externs = null ; defaultFlags . forceInjectLibraries = null ; defaultFlags . formatting = null ; defaultFlags . generateExports = false ; defaultFlags . hideWarningsFor = null ; defaultFlags . injectLibraries = true ; defaultFlags . js = null ; defaultFlags . jsCode = null ; defaultFlags . jscompError = null ; defaultFlags . jscompOff = null ; defaultFlags . jscompWarning = null ; defaultFlags . jsModuleRoot = null ; defaultFlags . jsOutputFile = "compiled.js" ; defaultFlags . languageIn = "ECMASCRIPT_2017" ; defaultFlags . languageOut = "ECMASCRIPT5" ; defaultFlags . moduleResolution = "BROWSER" ; defaultFlags . newTypeInf = false ; defaultFlags . isolationMode = "NONE" ; defaultFlags . outputWrapper = null ; defaultFlags . packageJsonEntryNames = null ; defaultFlags . parseInlineSourceMaps = true ; defaultFlags . polymerPass = false ; defaultFlags . polymerVersion = null ; defaultFlags . preserveTypeAnnotations = false ; defaultFlags . processClosurePrimitives = true ; defaultFlags . processCommonJsModules = false ; defaultFlags . renamePrefixNamespace = null ; defaultFlags . renameVariablePrefix = null ; defaultFlags . renaming = true ; defaultFlags . rewritePolyfills = true ; defaultFlags . sourceMapIncludeContent = false ; defaultFlags . strictModeInput = true ; defaultFlags . tracerMode = "OFF" ; defaultFlags . warningLevel = "DEFAULT" ; defaultFlags . useTypesForOptimization = true ; return defaultFlags ; }
Lazy initialize due to GWT . If things are exported then Object is not available when the static initialization runs .