public class AjCompilerOptions extends CompilerOptions
AccessEmulation, AccidentalBooleanAssign, ALL_STANDARD_TAGS, analyseResourceLeaks, AnnotatedTypeArgumentToUnannotated, AnnotationSuperInterface, APILeak, AssertUsedAsAnIdentifier, AutoBoxing, ComparingIdentical, complainOnUninternedIdentityComparison, complianceLevel, DeadCode, DEFAULT, defaultEncoding, DISABLED, DiscouragedReference, DO_NOT_GENERATE, docCommentSupport, EmptyStatement, emulateJavacBug8031744, ENABLED, enableJdtDebugCompileMode, enablePreviewFeatures, enableSyntacticNullAnalysisForFields, EnumUsedAsAnIdentifier, ERROR, errorThreshold, ExplicitlyClosedAutoCloseable, FallthroughCase, FieldHiding, FinallyBlockNotCompleting, FinalParameterBound, ForbiddenReference, GENERATE, generateClassFiles, generateGenericSignatureForLambdaExpressions, IGNORE, ignoreMethodBodies, ignoreSourceFolderWarningOption, includeNullInfoFromAsserts, IncompatibleNonInheritedInterfaceMethod, IndirectStaticAccess, INFO, infoThreshold, inheritNullAnnotations, inlineJsrBytecode, intendedDefaultNonNullness, InvalidJavadoc, isAnnotationBasedNullAnalysisEnabled, isTaskCaseSensitive, LocalVariableHiding, MaskedCatchBlock, maxProblemsPerUnit, MethodCanBePotentiallyStatic, MethodCanBeStatic, MethodWithConstructorName, MissingDefaultCase, MissingDeprecatedAnnotation, MissingEnumConstantCase, MissingJavadocComments, MissingJavadocTagDescription, MissingJavadocTags, MissingNonNullByDefaultAnnotation, MissingOverrideAnnotation, MissingSerialVersion, MissingSynchronizedModifierInInheritedMethod, NO_TAG, NoEffectAssignment, NoImplicitStringConversion, NonExternalizedString, nonNullAnnotationName, nonNullAnnotationSecondaryNames, nonNullByDefaultAnnotationName, nonNullByDefaultAnnotationSecondaryNames, NonnullParameterAnnotationDropped, NonNullTypeVariableFromLegacyInvocation, NonStaticAccessToStatic, nullableAnnotationName, nullableAnnotationSecondaryNames, NullAnnotationInferenceConflict, NullReference, NullSpecViolation, NullUncheckedConversion, OPTIMIZE_OUT, OPTION_AnnotationBasedNullAnalysis, OPTION_Compliance, OPTION_DocCommentSupport, OPTION_EmulateJavacBug8031744, OPTION_EnablePreviews, OPTION_Encoding, OPTION_FatalOptionalError, OPTION_GenerateClassFiles, OPTION_IncludeNullInfoFromAsserts, OPTION_InheritNullAnnotations, OPTION_InlineJsr, OPTION_JdtDebugCompileMode, OPTION_LambdaGenericSignature, OPTION_LineNumberAttribute, OPTION_LocalVariableAttribute, OPTION_MaxProblemPerUnit, OPTION_MethodParametersAttribute, OPTION_NonNullAnnotationName, OPTION_NonNullAnnotationSecondaryNames, OPTION_NonNullByDefaultAnnotationName, OPTION_NonNullByDefaultAnnotationSecondaryNames, OPTION_NullableAnnotationName, OPTION_NullableAnnotationSecondaryNames, OPTION_PessimisticNullAnalysisForFreeTypeVariables, OPTION_PreserveUnusedLocal, OPTION_Process_Annotations, OPTION_Release, OPTION_ReportAnnotatedTypeArgumentToUnannotated, OPTION_ReportAnnotationSuperInterface, OPTION_ReportAPILeak, OPTION_ReportAssertIdentifier, OPTION_ReportAutoboxing, OPTION_ReportComparingIdentical, OPTION_ReportDeadCode, OPTION_ReportDeadCodeInTrivialIfStatement, OPTION_ReportDeprecation, OPTION_ReportDeprecationInDeprecatedCode, OPTION_ReportDeprecationWhenOverridingDeprecatedMethod, OPTION_ReportDiscouragedReference, OPTION_ReportEmptyStatement, OPTION_ReportEnumIdentifier, OPTION_ReportExplicitlyClosedAutoCloseable, OPTION_ReportFallthroughCase, OPTION_ReportFieldHiding, OPTION_ReportFinallyBlockNotCompletingNormally, OPTION_ReportFinalParameterBound, OPTION_ReportForbiddenReference, OPTION_ReportHiddenCatchBlock, OPTION_ReportIncompatibleNonInheritedInterfaceMethod, OPTION_ReportIncompleteEnumSwitch, OPTION_ReportIndirectStaticAccess, OPTION_ReportInvalidJavadoc, OPTION_ReportInvalidJavadocTags, OPTION_ReportInvalidJavadocTagsDeprecatedRef, OPTION_ReportInvalidJavadocTagsNotVisibleRef, OPTION_ReportInvalidJavadocTagsVisibility, OPTION_ReportLocalVariableHiding, OPTION_ReportMethodCanBePotentiallyStatic, OPTION_ReportMethodCanBeStatic, OPTION_ReportMethodWithConstructorName, OPTION_ReportMissingDefaultCase, OPTION_ReportMissingDeprecatedAnnotation, OPTION_ReportMissingEnumCaseDespiteDefault, OPTION_ReportMissingHashCodeMethod, OPTION_ReportMissingJavadocComments, OPTION_ReportMissingJavadocCommentsOverriding, OPTION_ReportMissingJavadocCommentsVisibility, OPTION_ReportMissingJavadocTagDescription, OPTION_ReportMissingJavadocTags, OPTION_ReportMissingJavadocTagsMethodTypeParameters, OPTION_ReportMissingJavadocTagsOverriding, OPTION_ReportMissingJavadocTagsVisibility, OPTION_ReportMissingNonNullByDefaultAnnotation, OPTION_ReportMissingOverrideAnnotation, OPTION_ReportMissingOverrideAnnotationForInterfaceMethodImplementation, OPTION_ReportMissingSerialVersion, OPTION_ReportMissingSynchronizedOnInheritedMethod, OPTION_ReportNoEffectAssignment, OPTION_ReportNoImplicitStringConversion, OPTION_ReportNonExternalizedStringLiteral, OPTION_ReportNonnullParameterAnnotationDropped, OPTION_ReportNonNullTypeVariableFromLegacyInvocation, OPTION_ReportNonStaticAccessToStatic, OPTION_ReportNullAnnotationInferenceConflict, OPTION_ReportNullReference, OPTION_ReportNullSpecViolation, OPTION_ReportNullUncheckedConversion, OPTION_ReportOverridingMethodWithoutSuperInvocation, OPTION_ReportOverridingPackageDefaultMethod, OPTION_ReportParameterAssignment, OPTION_ReportPossibleAccidentalBooleanAssignment, OPTION_ReportPotentiallyUnclosedCloseable, OPTION_ReportPotentialNullReference, OPTION_ReportPreviewFeatures, OPTION_ReportRawTypeReference, OPTION_ReportRedundantNullAnnotation, OPTION_ReportRedundantNullCheck, OPTION_ReportRedundantSpecificationOfTypeArguments, OPTION_ReportRedundantSuperinterface, OPTION_ReportSpecialParameterHidingField, OPTION_ReportSuppressWarningNotFullyAnalysed, OPTION_ReportSwallowedExceptionInCatchBlock, OPTION_ReportSyntheticAccessEmulation, OPTION_ReportTasks, OPTION_ReportTerminalDeprecation, OPTION_ReportTypeParameterHiding, OPTION_ReportUnavoidableGenericTypeProblems, OPTION_ReportUncheckedTypeOperation, OPTION_ReportUnclosedCloseable, OPTION_ReportUndocumentedEmptyBlock, OPTION_ReportUnhandledWarningToken, OPTION_ReportUninternedIdentityComparison, OPTION_ReportUnlikelyCollectionMethodArgumentType, OPTION_ReportUnlikelyCollectionMethodArgumentTypeStrict, OPTION_ReportUnlikelyEqualsArgumentType, OPTION_ReportUnnecessaryElse, OPTION_ReportUnnecessaryTypeCheck, OPTION_ReportUnqualifiedFieldAccess, OPTION_ReportUnstableAutoModuleName, OPTION_ReportUnusedDeclaredThrownException, OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable, OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference, OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding, OPTION_ReportUnusedExceptionParameter, OPTION_ReportUnusedImport, OPTION_ReportUnusedLabel, OPTION_ReportUnusedLocal, OPTION_ReportUnusedObjectAllocation, OPTION_ReportUnusedParameter, OPTION_ReportUnusedParameterIncludeDocCommentReference, OPTION_ReportUnusedParameterWhenImplementingAbstract, OPTION_ReportUnusedParameterWhenOverridingConcrete, OPTION_ReportUnusedPrivateMember, OPTION_ReportUnusedTypeArgumentsForMethodInvocation, OPTION_ReportUnusedTypeParameter, OPTION_ReportUnusedWarningToken, OPTION_ReportVarargsArgumentNeedCast, OPTION_ShareCommonFinallyBlocks, OPTION_Source, OPTION_SourceFileAttribute, OPTION_Store_Annotations, OPTION_SuppressOptionalErrors, OPTION_SuppressWarnings, OPTION_SyntacticNullAnalysisForFields, OPTION_TargetPlatform, OPTION_TaskCaseSensitive, OPTION_TaskPriorities, OPTION_TaskTags, originalComplianceLevel, originalSourceLevel, OverriddenPackageDefaultMethod, OverridingMethodWithoutSuperInvocation, ParameterAssignment, parseLiteralExpressionsAsConstants, performMethodsFullRecovery, performStatementsRecovery, PessimisticNullAnalysisForFreeTypeVariables, pessimisticNullAnalysisForFreeTypeVariablesEnabled, PotentiallyUnclosedCloseable, PotentialNullReference, PRESERVE, preserveAllLocalVariables, PreviewFeatureUsed, PRIVATE, processAnnotations, produceDebugAttributes, produceMethodParameters, produceReferenceInfo, PROTECTED, PUBLIC, RawTypeReference, RedundantNullAnnotation, RedundantNullCheck, RedundantSpecificationOfTypeArguments, RedundantSuperinterface, reportDeadCodeInTrivialIfStatement, reportDeprecationInsideDeprecatedCode, reportDeprecationWhenOverridingDeprecatedMethod, reportInvalidJavadocTags, reportInvalidJavadocTagsDeprecatedRef, reportInvalidJavadocTagsNotVisibleRef, reportInvalidJavadocTagsVisibility, reportMissingEnumCaseDespiteDefault, reportMissingJavadocCommentsOverriding, reportMissingJavadocCommentsVisibility, reportMissingJavadocTagDescription, reportMissingJavadocTagsMethodTypeParameters, reportMissingJavadocTagsOverriding, reportMissingJavadocTagsVisibility, reportMissingOverrideAnnotationForInterfaceMethodImplementation, reportSpecialParameterHidingField, reportUnavoidableGenericTypeProblems, reportUnlikelyCollectionMethodArgumentTypeStrict, reportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable, reportUnusedDeclaredThrownExceptionIncludeDocCommentReference, reportUnusedDeclaredThrownExceptionWhenOverriding, reportUnusedParameterIncludeDocCommentReference, reportUnusedParameterWhenImplementingAbstract, reportUnusedParameterWhenOverridingConcrete, RETURN_TAG, shareCommonFinallyBlocks, ShouldImplementHashcode, sourceLevel, storeAnnotations, suppressOptionalErrors, suppressWarnings, SuppressWarningsNotAnalysed, SwallowedExceptionInCatchBlock, targetJDK, Task, taskPriorities, Tasks, taskTags, tolerateIllegalAmbiguousVarargsInvocation, treatOptionalErrorAsFatal, TypeHiding, UncheckedTypeOperation, UnclosedCloseable, UndocumentedEmptyBlock, UnhandledWarningToken, UnlikelyCollectionMethodArgumentType, UnlikelyEqualsArgumentType, UnnecessaryElse, UnnecessaryTypeCheck, UnqualifiedFieldAccess, UnstableAutoModuleName, UnusedArgument, UnusedDeclaredThrownException, UnusedExceptionParameter, UnusedImport, UnusedLabel, UnusedLocalVariable, UnusedObjectAllocation, UnusedPrivateMember, UnusedTypeArguments, UnusedTypeParameter, UnusedWarningToken, useNullTypeAnnotations, UsingDeprecatedAPI, UsingTerminallyDeprecatedAPI, VarargsArgumentNeedCast, verbose, VERSION_1_1, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7, VERSION_1_8, VERSION_10, VERSION_11, VERSION_12, VERSION_13, VERSION_14, VERSION_9, VERSION_CLDC1_1, VERSION_JSR14, WARNING, warningThreshold, warningTokens| Constructor and Description |
|---|
AjCompilerOptions()
Initializing the compiler options with defaults
|
AjCompilerOptions(java.util.Map<java.lang.String,java.lang.String> settings) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getMap() |
void |
set(java.util.Map<java.lang.String,java.lang.String> optionsMap) |
java.lang.String |
toString() |
getIgnoredIrritant, getLatestVersion, getSeverity, getSeverityString, getVisibilityString, isAnyEnabled, optionKeyFromIrritant, releaseToJDKLevel, resetDefaults, updateSeverity, usesNullTypeAnnotations, versionFromJdkLevel, versionToJdkLevel, versionToJdkLevel, warningOptionNames, warningTokenFromIrritant, warningTokenToIrritantspublic static final java.lang.String OPTION_ReportInvalidAbsoluteTypeName
public static final java.lang.String OPTION_ReportInvalidWildcardTypeName
public static final java.lang.String OPTION_ReportUnresolvableMember
public static final java.lang.String OPTION_ReportTypeNotExposedToWeaver
public static final java.lang.String OPTION_ReportShadowNotInStructure
public static final java.lang.String OPTION_ReportUnmatchedSuperTypeInCall
public static final java.lang.String OPTION_ReportCannotImplementLazyTJP
public static final java.lang.String OPTION_ReportNeedSerialVersionUIDField
public static final java.lang.String OPTION_ReportIncompatibleSerialVersion
public static final java.lang.String OPTION_TerminateAfterCompilation
public static final java.lang.String OPTION_XSerializableAspects
public static final java.lang.String OPTION_XLazyThisJoinPoint
public static final java.lang.String OPTION_XNoInline
public static final java.lang.String OPTION_XNotReweavable
public static final java.lang.String OPTION_XHasMember
public static final java.lang.String OPTION_XdevPinpoint
public static final java.lang.String OPTION_XDevNoAtAspectJProcessing
public static final java.lang.String OPTION_GenerateModel
public static final java.lang.String OPTION_GenerateJavaDocsInModel
public static final java.lang.String OPTION_Emacssym
public static final int InvalidAbsoluteTypeName
public static final int InvalidWildCardTypeName
public static final int UnresolvableMember
public static final int TypeNotExposedToWeaver
public static final int ShadowNotInStructure
public static final int UnmatchedSuperTypeInCall
public static final int CannotImplementLazyTJP
public static final int NeedSerialVersionUIDField
public static final int IncompatibleSerialVersion
public boolean terminateAfterCompilation
public boolean xSerializableAspects
public boolean xLazyThisJoinPoint
public boolean xNoInline
public boolean xNotReweavable
public boolean xHasMember
public boolean xdevPinpoint
public boolean showWeavingInformation
public java.lang.String xOptionalJoinpoints
public boolean behaveInJava5Way
public boolean timing
public java.lang.String targetAspectjRuntimeLevel
public java.lang.String xConfigurationInfo
public boolean addSerialVerUID
public boolean xmlConfigured
public boolean makeReflectable
public boolean generateModel
public boolean generateJavaDocsInModel
public boolean generateEmacsSymFiles
public boolean noAtAspectJProcessing
public boolean generateCrossRefs
public boolean checkRuntimeVersion
public boolean proceedOnError
public AjCompilerOptions()
public AjCompilerOptions(java.util.Map<java.lang.String,java.lang.String> settings)
public java.util.Map<java.lang.String,java.lang.String> getMap()
getMap in class CompilerOptionspublic void set(java.util.Map<java.lang.String,java.lang.String> optionsMap)
set in class CompilerOptionspublic java.lang.String toString()
toString in class CompilerOptions