/** * The change event class for generated binding code */ @Config(advanced = true) public void setCompilerBindingValueChangeEvent(ConfigurationValue cv, String b) { bindingValueChangeEvent = b; }
/** * The class for state-dependent instances */ @Config(advanced = true) public void setCompilerStatesInstanceOverrideClass(ConfigurationValue cv, String b) { statesInstanceOverrideClass = b; }
/** * The class for proxy code generation */ @Config(advanced = true) public void setCompilerProxyBaseClass(ConfigurationValue cv, String b) { proxyBaseClass = b; }
@Config(advanced = true, removed = true) @Mapping({ "compiler", "mxml", "qualified-type-selectors" }) public void setCompilerMxmlQualifiedTypeSelectors(ConfigurationValue cv, boolean b) { }
@Config(removed = true) @Mapping({ "compiler", "use-resource-bundle-metadata" }) public void setCompilerUseResourceBundleMetadata(ConfigurationValue cv, boolean b) { }
@Config(advanced = true) @Mapping({ "compiler", "warn-bad-null-assignment" }) public void setCompilerWarnBadNullAssignment(ConfigurationValue cv, boolean b) { warn_bad_null_assignment = b; }
@Config(advanced = true) @Mapping({ "compiler", "warn-const-not-initialized" }) public void setCompilerWarnConstNotInitialized(ConfigurationValue cv, boolean b) { warn_const_not_initialized = b; }
@Config() @Mapping({ "compiler", "mobile" }) public void setMobile(ConfigurationValue cv, boolean b) { mobile = b; }
/** * Option to remove the Native JS libraries from external-library-path and library-path as they shouldn't be any * when compiling SWFs / SWCs. */ @Config() @Mapping("exclude-native-js-libraries") public void setExcludeNativeJSLibraries(ConfigurationValue cv, boolean value) throws ConfigurationException { isExcludeNativeJSLibraries = value; }
@Config @Mapping({"dependency", "show-dependency-list"}) public void setShowDependencyList(ConfigurationValue cv, boolean showSwcDependencies) throws ConfigurationException { this.showDependencyList = showSwcDependencies; }
@Config(advanced = true) @Mapping({ "compiler", "warn-array-tostring-changes" }) public void setCompilerWarnArrayTostringChanges(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_array_tostring_changes) addRemovedConfigurationOptionProblem(cv); }
@Config(advanced = true) @Mapping({ "compiler", "warn-bad-null-comparison" }) public void setCompilerWarnBadNullComparison(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_bad_null_comparison) addRemovedConfigurationOptionProblem(cv); }
@Config(advanced = true) @Mapping({ "compiler", "warn-changes-in-resolve" }) public void setCompilerWarnChangesInResolve(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_changes_in_resolve) addRemovedConfigurationOptionProblem(cv); }
@Config(advanced = true) @Mapping({ "compiler", "warn-deprecated-function-error" }) public void setCompilerWarnDeprecatedFunctionError(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_deprecated_function_error) addRemovedConfigurationOptionProblem(cv); }
@Config(advanced = true) @Mapping({ "compiler", "warn-import-hides-class" }) public void setCompilerWarnImportHidesClass(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_import_hides_class) addRemovedConfigurationOptionProblem(cv); }
@Config(advanced = true) @Mapping({ "compiler", "warn-no-explicit-super-call-in-constructor" }) public void setCompilerWarnNoExplicitSuperCallInConstructor(ConfigurationValue cv, boolean b) { // This option is set in royale-config.xml so only warn // if the user sets a non-default value. if (b != warn_no_explicit_super_call_in_constructor) addRemovedConfigurationOptionProblem(cv); }
@Config @Mapping({ "compiler", "fonts", "advanced-anti-aliasing" }) @RoyaleOnly public void setCompilerFontsAdvancedAntiAliasing(ConfigurationValue cv, boolean val) { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }
/** * Specifies a file name that a graphml version of the dependency graph should be written to. * */ @Config(advanced = true) @Mapping("dependency-graph") @Arguments("filename") public void setDependencyGraphOutput(ConfigurationValue cv, String fileName) { dependencyGraphOutput = new File(getOutputPath(cv, fileName)); }
@Config(advanced = true) @Mapping("size-report") @Arguments("filename") public void setSizeReport(ConfigurationValue cv, String filename) { this.sizeReportFileName = getOutputPath(cv, filename); }
@Config(advanced = true) @Mapping({ "compiler", "fonts", "managers" }) @Arguments("manager-class") @InfiniteArguments @RoyaleOnly public void setCompilerFontsManagers(ConfigurationValue cv, List<String> list) { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }