Package org.aspectj.ajde.core
Class JavaOptions
java.lang.Object
org.aspectj.ajde.core.JavaOptions
Class containing the current custom java options
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisGenerateOrNot(String option)static booleanisIgnoreOrWarning(String option)static booleanisValidJvmVersion(String value)static booleanisValidPreserveAllLocalsOption(String option)
-
Field Details
-
COMPLIANCE_LEVEL
- See Also:
- Constant Field Values
-
SOURCE_COMPATIBILITY_LEVEL
- See Also:
- Constant Field Values
-
TARGET_COMPATIBILITY_LEVEL
- See Also:
- Constant Field Values
-
VERSION_13
- See Also:
- Constant Field Values
-
VERSION_14
- See Also:
- Constant Field Values
-
VERSION_15
- See Also:
- Constant Field Values
-
VERSION_16
- See Also:
- Constant Field Values
-
CHARACTER_ENCODING
- See Also:
- Constant Field Values
-
PRESERVE_ALL_LOCALS
- See Also:
- Constant Field Values
-
PRESERVE
- See Also:
- Constant Field Values
-
OPTIMIZE
- See Also:
- Constant Field Values
-
WARN_METHOD_WITH_CONSTRUCTOR_NAME
- See Also:
- Constant Field Values
-
WARN_OVERRIDING_PACKAGE_DEFAULT_METHOD
- See Also:
- Constant Field Values
-
WARN_DEPRECATION
- See Also:
- Constant Field Values
-
WARN_HIDDEN_CATCH_BLOCKS
- See Also:
- Constant Field Values
-
WARN_UNUSED_LOCALS
- See Also:
- Constant Field Values
-
WARN_UNUSED_PARAMETER
- See Also:
- Constant Field Values
-
WARN_UNUSED_IMPORTS
- See Also:
- Constant Field Values
-
WARN_SYNTHETIC_ACCESS
- See Also:
- Constant Field Values
-
WARN_ASSERT_IDENITIFIER
- See Also:
- Constant Field Values
-
WARN_NON_NLS
- See Also:
- Constant Field Values
-
IGNORE
- See Also:
- Constant Field Values
-
WARNING
- See Also:
- Constant Field Values
-
DEBUG_SOURCE
- See Also:
- Constant Field Values
-
DEBUG_LINES
- See Also:
- Constant Field Values
-
DEBUG_VARS
- See Also:
- Constant Field Values
-
GENERATE
- See Also:
- Constant Field Values
-
DO_NOT_GENERATE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
JavaOptions
public JavaOptions()
-
-
Method Details
-
getDefaultJavaOptions
- Returns:
- the java options map with the default settings
-
isValidJvmVersion
- Returns:
- true if the given value is a valid JVM version (JavaOptions.VERSION_13, JavaOptions.VERSION_134, JavaOptions.VERSION_15, JavaOptions.VERSION_16) and false otherwise
-
isValidPreserveAllLocalsOption
- Returns:
- true if the given option is JavaOptions.PRESERVE or JavaOptions.OPTIMIZE and false otherwise
-
isIgnoreOrWarning
- Returns:
- true if the given option is JavaOptions.IGNORE or JavaOptions.WARNING and false otherwise
-
isGenerateOrNot
- Returns:
- true if the given option is JavaOptions.GENERATE or JavaOptions.DO_NOT_GENERATE and false otherwise
-