/** Returns true if the compilation is targeting Android. */ public boolean isAndroidCompatible() { return Options.instance(context).getBoolean("androidCompatible"); } }
/** * Get the boolean value for an option, patterned after Boolean.getBoolean, * essentially will return true, iff the value exists and is set to "true". */ public boolean getBoolean(String name) { return getBoolean(name, false); }
/** * Get the boolean value for an option, patterned after Boolean.getBoolean, * essentially will return true, iff the value exists and is set to "true". */ public boolean getBoolean(String name) { return getBoolean(name, false); }
/** Returns true if the compilation is targeting Android. */ public boolean isAndroidCompatible() { return Options.instance(context).getBoolean("androidCompatible"); } }
/** * Set the context for JavacFileManager. */ @Override public void setContext(Context context) { super.setContext(context); fsInfo = FSInfo.instance(context); contextUseOptimizedZip = options.getBoolean("useOptimizedZip", true); if (contextUseOptimizedZip) zipFileIndexCache = ZipFileIndexCache.getSharedInstance(); mmappedIO = options.isSet("mmappedIO"); symbolFileEnabled = !options.isSet("ignore.symbol.file"); String sf = options.get("sortFiles"); if (sf != null) { sortFiles = (sf.equals("reverse") ? SortFiles.REVERSE : SortFiles.FORWARD); } }
/** * Set the context for JavacFileManager. */ @Override public void setContext(Context context) { super.setContext(context); fsInfo = FSInfo.instance(context); contextUseOptimizedZip = options.getBoolean("useOptimizedZip", true); if (contextUseOptimizedZip) zipFileIndexCache = ZipFileIndexCache.getSharedInstance(); mmappedIO = options.isSet("mmappedIO"); symbolFileEnabled = !options.isSet("ignore.symbol.file"); String sf = options.get("sortFiles"); if (sf != null) { sortFiles = (sf.equals("reverse") ? SortFiles.REVERSE : SortFiles.FORWARD); } }
this.allowDiamond = source.allowDiamond(); this.allowMulticatch = source.allowMulticatch(); this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true); this.allowLambda = source.allowLambda(); this.allowMethodReferences = source.allowMethodReferences();
this.allowDiamond = source.allowDiamond(); this.allowMulticatch = source.allowMulticatch(); this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true); this.allowLambda = source.allowLambda(); this.allowMethodReferences = source.allowMethodReferences();
source.allowDiamond(); useBeforeDeclarationWarning = options.isSet("useBeforeDeclarationWarning"); identifyLambdaCandidate = options.getBoolean("identifyLambdaCandidate", false);
source.allowDiamond(); useBeforeDeclarationWarning = options.isSet("useBeforeDeclarationWarning"); identifyLambdaCandidate = options.getBoolean("identifyLambdaCandidate", false);