Methods
Modifier and Type |
Method and Description |
boolean |
accessible()
Generate accessible SWFs.
|
void |
addDefaultsCssFiles(Collection<VirtualFile> files) |
void |
addExtern(String extern) |
void |
addThemeCssFiles(List<VirtualFile> files) |
boolean |
adjustOpDebugLine() |
boolean |
allowSourcePathOverlap() |
boolean |
archiveClassesAndAssets() |
void |
cfgAccessible(ConfigurationValue cv,
boolean accessible) |
void |
cfgActionscriptFileEncoding(ConfigurationValue cv,
String encoding) |
void |
cfgAdjustOpdebugline(ConfigurationValue cv,
boolean b) |
void |
cfgAdvancedTelemetry(ConfigurationValue cv,
boolean advancedTelemetry) |
void |
cfgAllowDuplicateDefaultStyleDeclarations(ConfigurationValue cv,
boolean allowDuplicateDefaultStyleDeclarations) |
void |
cfgAllowSourcePathOverlap(ConfigurationValue cv,
boolean b) |
void |
cfgArchiveClassesAndAssets(ConfigurationValue cv,
boolean b) |
void |
cfgAs3(ConfigurationValue cv,
boolean b) |
void |
cfgCompress(ConfigurationValue cv,
boolean useCompression) |
void |
cfgConservative(ConfigurationValue cv,
boolean c) |
void |
cfgContextRoot(ConfigurationValue cv,
String contextRoot) |
void |
cfgDebug(ConfigurationValue cv,
boolean debug) |
void |
cfgDefaultsCssFiles(ConfigurationValue cv,
List paths) |
void |
cfgDefaultsCssUrl(ConfigurationValue cv,
String defaultsCssUrlPath) |
void |
cfgDefine(ConfigurationValue _cv,
String _name,
String _value) |
void |
cfgDisableIncrementalOptimizations(ConfigurationValue cv,
boolean disable) |
void |
cfgDoc(ConfigurationValue cv,
boolean doc) |
void |
cfgEnableRuntimeDesignLayers(ConfigurationValue cv,
boolean enable) |
void |
cfgEnableSwcVersionFiltering(ConfigurationValue cv,
boolean enable) |
void |
cfgEs(ConfigurationValue cv,
boolean b) |
void |
cfgExternalLibraryPath(ConfigurationValue cv,
String[] pathlist) |
void |
cfgGenerateAbstractSyntaxTree(ConfigurationValue cv,
boolean b) |
void |
cfgHeadlessServer(ConfigurationValue cv,
boolean headlessServer) |
void |
cfgIncludeLibraries(ConfigurationValue cv,
String[] pathlist) |
void |
cfgIncremental(ConfigurationValue cv,
boolean b) |
void |
cfgIsolateStyles(ConfigurationValue cv,
boolean isolateStyles) |
void |
cfgJavaProfilerClass(ConfigurationValue cv,
String profilerClass) |
void |
cfgKeepAllTypeSelectors(ConfigurationValue cv,
boolean keepAllTypeSelectors) |
void |
cfgKeepAs3Metadata(ConfigurationValue cv,
String[] md) |
void |
cfgKeepGeneratedActionscript(ConfigurationValue cv,
boolean keep) |
void |
cfgKeepGeneratedSignatures(ConfigurationValue cv,
boolean keep) |
void |
cfgLibraryPath(ConfigurationValue cv,
String[] pathlist) |
void |
cfgLocale(ConfigurationValue cv,
String[] newLocales) |
void |
cfgMemoryUsageFactor(ConfigurationValue cv,
int f) |
void |
cfgMinimumSupportedVersion(ConfigurationValue cv,
String version) |
void |
cfgMobile(ConfigurationValue cv,
boolean b) |
void |
cfgOmitTraceStatements(ConfigurationValue cv,
boolean b) |
void |
cfgOptimize(ConfigurationValue cv,
boolean b) |
void |
cfgPreloader(ConfigurationValue cv,
String value) |
void |
cfgReportInvalidStylesAsWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgReportMissingRequiredSkinPartsAsWarnings(ConfigurationValue cv,
boolean b) |
void |
cfgResourceHack(ConfigurationValue cv,
boolean b) |
void |
cfgServices(ConfigurationValue cv,
String servicesPath) |
void |
cfgShowActionscriptWarnings(ConfigurationValue cv,
boolean ascWarnings) |
void |
cfgShowBindingWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgShowDependencyWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgShowDeprecationWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgShowInvalidCssPropertyWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgShowShadowedDeviceFontWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgShowUnusedTypeSelectorWarnings(ConfigurationValue cv,
boolean show) |
void |
cfgSignatureDirectory(ConfigurationValue cv,
String path) |
void |
cfgSourcePath(ConfigurationValue cv,
String[] pathlist) |
void |
cfgStrict(ConfigurationValue cv,
boolean strict) |
void |
cfgTheme(ConfigurationValue cv,
List paths) |
void |
cfgTranslationFormat(ConfigurationValue cv,
String t) |
void |
cfgUseResourceBundleMetadata(ConfigurationValue cv,
boolean b) |
void |
cfgVerboseStacktraces(ConfigurationValue cv,
boolean verboseStacktraces) |
void |
cfgWarnArrayTostringChanges(ConfigurationValue cv,
boolean b) |
void |
cfgWarnAssignmentWithinConditional(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadArrayCast(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadBoolAssignment(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadDateCast(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadEs3TypeMethod(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadEs3TypeProp(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadNanComparison(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadNullAssignment(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadNullComparison(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBadUndefinedComparison(ConfigurationValue cv,
boolean b) |
void |
cfgWarnBooleanConstructorWithNoArgs(ConfigurationValue cv,
boolean b) |
void |
cfgWarnChangesInResolve(ConfigurationValue cv,
boolean b) |
void |
cfgWarnClassIsSealed(ConfigurationValue cv,
boolean b) |
void |
cfgWarnConstNotInitialized(ConfigurationValue cv,
boolean b) |
void |
cfgWarnConstructorReturnsValue(ConfigurationValue cv,
boolean b) |
void |
cfgWarnDeprecatedEventHandlerError(ConfigurationValue cv,
boolean b) |
void |
cfgWarnDeprecatedFunctionError(ConfigurationValue cv,
boolean b) |
void |
cfgWarnDeprecatedPropertyError(ConfigurationValue cv,
boolean b) |
void |
cfgWarnDuplicateArgumentNames(ConfigurationValue cv,
boolean b) |
void |
cfgWarnDuplicateVariableDef(ConfigurationValue cv,
boolean b) |
void |
cfgWarnForVarInChanges(ConfigurationValue cv,
boolean b) |
void |
cfgWarnImportHidesClass(ConfigurationValue cv,
boolean b) |
void |
cfgWarnInstanceOfChanges(ConfigurationValue cv,
boolean b) |
void |
cfgWarnInternalError(ConfigurationValue cv,
boolean b) |
void |
cfgWarnLevelNotSupported(ConfigurationValue cv,
boolean b) |
void |
cfgWarnMissingNamespaceDecl(ConfigurationValue cv,
boolean b) |
void |
cfgWarnNegativeUintLiteral(ConfigurationValue cv,
boolean b) |
void |
cfgWarnNoConstructor(ConfigurationValue cv,
boolean b) |
void |
cfgWarnNoExplicitSuperCallInConstructor(ConfigurationValue cv,
boolean b) |
void |
cfgWarnNoTypeDecl(ConfigurationValue cv,
boolean b) |
void |
cfgWarnNumberFromStringChanges(ConfigurationValue cv,
boolean b) |
void |
cfgWarnScopingChangeInThis(ConfigurationValue cv,
boolean b) |
void |
cfgWarnSlowTextFieldAddition(ConfigurationValue cv,
boolean b) |
void |
cfgWarnUnlikelyFunctionValue(ConfigurationValue cv,
boolean b) |
void |
cfgWarnXmlClassHasChanged(ConfigurationValue cv,
boolean b) |
Object |
clone() |
boolean |
debug()
Generate SWFs for debugging
|
int |
dialect() |
boolean |
doc()
Generate asdoc
|
boolean |
enableRuntimeDesignLayers()
Enable runtime DesignLayer support.
|
boolean |
enableSwcVersionFiltering()
Enable swc version filtering (filer out swcs with
minimumSupportedVersion > compatibility-version)
|
VirtualFile[] |
expandTokens(String[] pathlist,
String[] locales,
ConfigurationValue cv)
All path-tokens get expanded from this method, e.g.
|
int |
factor() |
String |
getActionscriptFileEncoding() |
static ConfigurationInfo |
getAdjustOpdebuglineInfo() |
boolean |
getAdvancedTelemetry() |
boolean |
getAllowDuplicateDefaultStyleDeclarations()
Allow a style manager to have the same style declarations as
their parent.
|
static ConfigurationInfo |
getAllowDuplicateDefaultStyleDeclarationsInfo() |
static ConfigurationInfo |
getAllowSourcePathOverlapInfo() |
static ConfigurationInfo |
getArchiveClassesAndAssetsInfo() |
static ConfigurationInfo |
getAs3Info() |
int |
getCompatibilityVersion()
The compatibility version as a uint.
|
String |
getCompatibilityVersionString()
The compatibility version as a String.
|
boolean |
getCompilingForAIR()
True if we are compiling against airglobal.swc.
|
static ConfigurationInfo |
getConservativeInfo() |
String |
getContextRoot()
Context path used to resolve {context.root} tokens in flex-enterprise-services.xml config file
|
static ConfigurationInfo |
getContextRootInfo() |
List<VirtualFile> |
getDefaultsCssFiles()
Location of SWC defaults.css stylesheets.
|
static ConfigurationInfo |
getDefaultsCssFilesInfo() |
VirtualFile |
getDefaultsCssUrl()
Location of defaults.css stylesheet.
|
static ConfigurationInfo |
getDefaultsCssUrlInfo() |
ObjectList<ConfigVar> |
getDefine()
Configuration settings (ConfigVars) from --compiler.define
are retrieved using this getter.
|
static ConfigurationInfo |
getDefineInfo() |
boolean |
getDisableIncrementalOptimizations() |
static ConfigurationInfo |
getDisableIncrementalOptimizationsInfo() |
static ConfigurationInfo |
getDocInfo() |
static ConfigurationInfo |
getEnableSwcVersionFilteringInfo() |
String |
getEncoding()
user-defined AS3 file encoding
|
static ConfigurationInfo |
getEsInfo() |
ExtensionsConfiguration |
getExtensionsConfiguration() |
VirtualFile[] |
getExternalLibraryPath() |
static ConfigurationInfo |
getExternalLibraryPathInfo() |
FontsConfiguration |
getFontsConfiguration()
Provides settings for the Font Managers, their caches, and aliases for character
ranges to embed for font face.
|
boolean |
getGenerateAbstractSyntaxTree() |
static ConfigurationInfo |
getGenerateAbstractSyntaxTreeInfo() |
String |
getGeneratedDirectory() |
static ConfigurationInfo |
getHeadlessServerInfo() |
VirtualFile[] |
getIncludeLibraries() |
static ConfigurationInfo |
getIncludeLibrariesInfo() |
boolean |
getIncremental() |
boolean |
getIsolateStyles() |
static ConfigurationInfo |
getIsolateStylesInfo() |
String |
getJavaProfilerClass() |
static ConfigurationInfo |
getJavaProfilerClassInfo() |
static ConfigurationInfo |
getKeepAllTypeSelectorsInfo() |
String[] |
getKeepAs3Metadata() |
static ConfigurationInfo |
getKeepAs3MetadataInfo() |
static ConfigurationInfo |
getKeepGeneratedActionscriptInfo() |
boolean |
getKeepGeneratedSignatures() |
static ConfigurationInfo |
getKeepGeneratedSignaturesInfo() |
VirtualFile[] |
getLibraryPath()
Path locations of component libraries, including swcs, mxml, and as components.
|
static ConfigurationInfo |
getLibraryPathInfo() |
static ConfigurationInfo |
getLocaleInfo() |
String[] |
getLocales() |
static ConfigurationInfo |
getMemoryUsageFactorInfo() |
int |
getMinimumSupportedVersion() |
String |
getMinimumSupportedVersionString() |
boolean |
getMobile() |
MxmlConfiguration |
getMxmlConfiguration() |
NamespacesConfiguration |
getNamespacesConfiguration() |
boolean |
getOptimize() |
String |
getPreloader() |
boolean |
getQualifiedTypeSelectors()
Determines whether CSS type selectors need to be qualified.
|
static ConfigurationInfo |
getReportMissingRequiredSkinPartsAsWarningsInfo() |
VirtualFile[] |
getResourceBundlePathForLocale(String locale) |
boolean |
getResourceHack() |
static ConfigurationInfo |
getResourceHackInfo() |
VirtualFile |
getServices() |
ServicesDependenciesWrapper |
getServicesDependencies()
Used by the compiler to record the client dependencies
from the Flex Data Services configuration file.
|
static ConfigurationInfo |
getServicesInfo() |
static ConfigurationInfo |
getShowDependencyWarningsInfo() |
static ConfigurationInfo |
getShowDeprecationWarningsInfo() |
String |
getSignatureDirectory() |
static ConfigurationInfo |
getSignatureDirectoryInfo() |
VirtualFile[] |
getSourcePath()
Path locations of source files.
|
static ConfigurationInfo |
getSourcePathInfo() |
List<VirtualFile> |
getThemeCssFiles()
Location of theme stylesheets.
|
VirtualFile[] |
getThemeFiles() |
static ConfigurationInfo |
getThemeInfo() |
Set<String> |
getThemeNames() |
String |
getTranslationFormat() |
static ConfigurationInfo |
getTranslationFormatInfo() |
File[] |
getUnexpandedSourcePath() |
static ConfigurationInfo |
getuseResourceBundleMetadataInfo() |
static ConfigurationInfo |
getWarnArrayTostringChangesInfo() |
static ConfigurationInfo |
getWarnAssignmentWithinConditionalInfo() |
static ConfigurationInfo |
getWarnBadArrayCastInfo() |
static ConfigurationInfo |
getWarnBadBoolAssignmentInfo() |
static ConfigurationInfo |
getWarnBadDateCastInfo() |
static ConfigurationInfo |
getWarnBadEs3TypeMethodInfo() |
static ConfigurationInfo |
getWarnBadEs3TypePropInfo() |
static ConfigurationInfo |
getWarnBadNanComparisonInfo() |
static ConfigurationInfo |
getWarnBadNullAssignmentInfo() |
static ConfigurationInfo |
getWarnBadNullComparisonInfo() |
static ConfigurationInfo |
getWarnBadUndefinedComparisonInfo() |
static ConfigurationInfo |
getWarnBooleanConstructorWithNoArgsInfo() |
static ConfigurationInfo |
getWarnChangesInResolveInfo() |
static ConfigurationInfo |
getWarnClassIsSealedInfo() |
static ConfigurationInfo |
getWarnConstNotInitializedInfo() |
static ConfigurationInfo |
getWarnConstructorReturnsValueInfo() |
static ConfigurationInfo |
getWarnDeprecatedEventHandlerErrorInfo() |
static ConfigurationInfo |
getWarnDeprecatedFunctionErrorInfo() |
static ConfigurationInfo |
getWarnDeprecatedPropertyErrorInfo() |
static ConfigurationInfo |
getWarnDuplicateArgumentNamesInfo() |
static ConfigurationInfo |
getWarnDuplicateVariableDefInfo() |
static ConfigurationInfo |
getWarnForVarInChangesInfo() |
static ConfigurationInfo |
getWarnImportHidesClassInfo() |
static ConfigurationInfo |
getWarnInstanceOfChangesInfo() |
static ConfigurationInfo |
getWarnInternalErrorInfo() |
static ConfigurationInfo |
getWarnLevelNotSupportedInfo() |
static ConfigurationInfo |
getWarnMissingNamespaceDeclInfo() |
static ConfigurationInfo |
getWarnNegativeUintLiteralInfo() |
static ConfigurationInfo |
getWarnNoConstructorInfo() |
static ConfigurationInfo |
getWarnNoExplicitSuperCallInConstructorInfo() |
static ConfigurationInfo |
getWarnNoTypeDeclInfo() |
static ConfigurationInfo |
getWarnNumberFromStringChangesInfo() |
static ConfigurationInfo |
getWarnScopingChangeInThisInfo() |
static ConfigurationInfo |
getWarnSlowTextFieldAdditionInfo() |
static ConfigurationInfo |
getWarnUnlikelyFunctionValueInfo() |
static ConfigurationInfo |
getWarnXmlClassHasChangedInfo() |
boolean |
headlessServer() |
boolean |
keepAllTypeSelectors()
Controls whether unused type selectors are processed.
|
boolean |
keepEmbedMetadata() |
boolean |
keepGeneratedActionScript()
Write xxx-generated.as to disk.
|
String |
locale() |
static <T> Object[] |
merge(Object[] a,
Object[] b,
Class<T> klass)
Fast utility method to merge arrays.
|
boolean |
metadataExport()
Whether to export metadata into ABCs
|
boolean |
omitTraceStatements() |
boolean |
optimize()
Omit method arg names.
|
boolean |
reportInvalidStylesAsWarnings()
Controls whether invalid styles are report as errors or
warnings.
|
boolean |
reportMissingRequiredSkinPartsAsWarnings()
Allow the user to configure whether it should be considered an error to
not create a required skin part or if it should just be a warning.
|
void |
setAccessible(boolean accessible) |
void |
setAdvancedTelemetry(boolean advancedTelemetry) |
void |
setConfigPathResolver(ConfigurationPathResolver resolver) |
void |
setContextRoot(String contextRoot) |
void |
setDebug(boolean debug) |
void |
setDisableIncrementalOptimizations(boolean disable) |
void |
setEnableRuntimeDesignLayers(boolean enableDesignLayers) |
void |
setEnableSwcVersionFiltering(boolean enableSwcFiltering) |
void |
setFontsConfiguration(FontsConfiguration fc) |
void |
setGeneratedDirectory(String gd) |
void |
setKeepAllTypeSelectors(boolean keepAllTypeSelectors) |
void |
setKeepGeneratedActionScript(boolean keepGeneratedActionScript) |
void |
setKeepGeneratedSignatures(boolean keepGeneratedSignatures) |
void |
setMetadataExport(boolean metadataExport) |
void |
setMobile(boolean value) |
void |
setOptimize(boolean optimize) |
void |
setReportInvalidStylesAsWarnings(boolean reportInvalidStylesAsWarnings) |
void |
setServicesDependencies(ServicesDependenciesWrapper deps) |
void |
setShowDeprecationWarnings(boolean showDeprecationWarnings) |
void |
setShowInvalidCssPropertyWarnings(boolean showInvalidCssPropertyWarnings) |
void |
setShowShadowedDeviceFontWarnings(boolean showShadowedDeviceFontWarnings) |
void |
setShowUnusedTypeSelectorWarnings(boolean showUnusedTypeSelectorWarnings) |
void |
setSignatureDirectory(String signatureDirectory) |
void |
setSourcePath(VirtualFile[] sourcePath) |
void |
setSuppressWarningsInIncremental(boolean b) |
void |
setVerboseStacktraces(boolean verboseStacktraces) |
boolean |
showBindingWarnings()
Controls whether warnings are displayed when a deprecated API is used.
|
boolean |
showDependencyWarnings() |
boolean |
showDeprecationWarnings()
Controls whether warnings are displayed when a deprecated API is used.
|
boolean |
showInvalidCssPropertyWarnings()
Controls whether warnings are displayed when styles, which
don't apply to the current theme(s), are used in CSS.
|
boolean |
showShadowedDeviceFontWarnings()
Controls whether warnings are displayed when an embedded font name
shadows a device font name.
|
boolean |
showUnusedTypeSelectorWarnings()
Toggles whether warnings generated from unused type selectors are displayed.
|
boolean |
strict()
Run the AS3 compiler in strict mode
|
boolean |
suppressWarningsInIncremental() |
boolean |
useCompression()
Setting -compiler.compress=false will force compiler not to compress the output SWF.
|
boolean |
useConservativeAlgorithm() |
boolean |
useResourceBundleMetadata() |
boolean |
verboseStacktraces()
Emit system paths with debug info.
|
boolean |
warn_array_tostring_changes() |
boolean |
warn_assignment_within_conditional() |
boolean |
warn_bad_array_cast() |
boolean |
warn_bad_bool_assignment() |
boolean |
warn_bad_date_cast() |
boolean |
warn_bad_es3_type_method() |
boolean |
warn_bad_es3_type_prop() |
boolean |
warn_bad_nan_comparison() |
boolean |
warn_bad_null_assignment() |
boolean |
warn_bad_null_comparison() |
boolean |
warn_bad_undefined_comparison() |
boolean |
warn_boolean_constructor_with_no_args() |
boolean |
warn_changes_in_resolve() |
boolean |
warn_class_is_sealed() |
boolean |
warn_const_not_initialized() |
boolean |
warn_constructor_returns_value() |
boolean |
warn_deprecated_event_handler_error() |
boolean |
warn_deprecated_function_error() |
boolean |
warn_deprecated_property_error() |
boolean |
warn_duplicate_argument_names() |
boolean |
warn_duplicate_variable_def() |
boolean |
warn_for_var_in_changes() |
boolean |
warn_import_hides_class() |
boolean |
warn_instance_of_changes() |
boolean |
warn_internal_error() |
boolean |
warn_level_not_supported() |
boolean |
warn_missing_namespace_decl() |
boolean |
warn_negative_uint_literal() |
boolean |
warn_no_constructor() |
boolean |
warn_no_explicit_super_call_in_constructor() |
boolean |
warn_no_type_decl() |
boolean |
warn_number_from_string_changes() |
boolean |
warn_scoping_change_in_this() |
boolean |
warn_slow_text_field_addition() |
boolean |
warn_unlikely_function_value() |
boolean |
warn_xml_class_has_changed() |
boolean |
warnings()
Enable asc -warnings
|