Klasse CompilerOptions

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions
Bekannte direkte Unterklassen:
AjCompilerOptions

public class CompilerOptions extends Object
  • Felddetails

    • OPTION_LocalVariableAttribute

      public static final String OPTION_LocalVariableAttribute
      Option IDs
      Siehe auch:
    • OPTION_LineNumberAttribute

      public static final String OPTION_LineNumberAttribute
      Siehe auch:
    • OPTION_SourceFileAttribute

      public static final String OPTION_SourceFileAttribute
      Siehe auch:
    • OPTION_PreserveUnusedLocal

      public static final String OPTION_PreserveUnusedLocal
      Siehe auch:
    • OPTION_MethodParametersAttribute

      public static final String OPTION_MethodParametersAttribute
      Siehe auch:
    • OPTION_LambdaGenericSignature

      public static final String OPTION_LambdaGenericSignature
      Siehe auch:
    • OPTION_DocCommentSupport

      public static final String OPTION_DocCommentSupport
      Siehe auch:
    • OPTION_ReportMethodWithConstructorName

      public static final String OPTION_ReportMethodWithConstructorName
      Siehe auch:
    • OPTION_ReportOverridingPackageDefaultMethod

      public static final String OPTION_ReportOverridingPackageDefaultMethod
      Siehe auch:
    • OPTION_ReportDeprecation

      public static final String OPTION_ReportDeprecation
      Siehe auch:
    • OPTION_ReportTerminalDeprecation

      public static final String OPTION_ReportTerminalDeprecation
      Siehe auch:
    • OPTION_ReportDeprecationInDeprecatedCode

      public static final String OPTION_ReportDeprecationInDeprecatedCode
      Siehe auch:
    • OPTION_ReportDeprecationWhenOverridingDeprecatedMethod

      public static final String OPTION_ReportDeprecationWhenOverridingDeprecatedMethod
      Siehe auch:
    • OPTION_ReportHiddenCatchBlock

      public static final String OPTION_ReportHiddenCatchBlock
      Siehe auch:
    • OPTION_ReportUnusedLocal

      public static final String OPTION_ReportUnusedLocal
      Siehe auch:
    • OPTION_ReportUnusedParameter

      public static final String OPTION_ReportUnusedParameter
      Siehe auch:
    • OPTION_ReportUnusedExceptionParameter

      public static final String OPTION_ReportUnusedExceptionParameter
      Siehe auch:
    • OPTION_ReportUnusedParameterWhenImplementingAbstract

      public static final String OPTION_ReportUnusedParameterWhenImplementingAbstract
      Siehe auch:
    • OPTION_ReportUnusedParameterWhenOverridingConcrete

      public static final String OPTION_ReportUnusedParameterWhenOverridingConcrete
      Siehe auch:
    • OPTION_ReportUnusedParameterIncludeDocCommentReference

      public static final String OPTION_ReportUnusedParameterIncludeDocCommentReference
      Siehe auch:
    • OPTION_ReportUnusedImport

      public static final String OPTION_ReportUnusedImport
      Siehe auch:
    • OPTION_ReportSyntheticAccessEmulation

      public static final String OPTION_ReportSyntheticAccessEmulation
      Siehe auch:
    • OPTION_ReportNoEffectAssignment

      public static final String OPTION_ReportNoEffectAssignment
      Siehe auch:
    • OPTION_ReportLocalVariableHiding

      public static final String OPTION_ReportLocalVariableHiding
      Siehe auch:
    • OPTION_ReportSpecialParameterHidingField

      public static final String OPTION_ReportSpecialParameterHidingField
      Siehe auch:
    • OPTION_ReportFieldHiding

      public static final String OPTION_ReportFieldHiding
      Siehe auch:
    • OPTION_ReportTypeParameterHiding

      public static final String OPTION_ReportTypeParameterHiding
      Siehe auch:
    • OPTION_ReportPossibleAccidentalBooleanAssignment

      public static final String OPTION_ReportPossibleAccidentalBooleanAssignment
      Siehe auch:
    • OPTION_ReportNonExternalizedStringLiteral

      public static final String OPTION_ReportNonExternalizedStringLiteral
      Siehe auch:
    • OPTION_ReportIncompatibleNonInheritedInterfaceMethod

      public static final String OPTION_ReportIncompatibleNonInheritedInterfaceMethod
      Siehe auch:
    • OPTION_ReportUnusedPrivateMember

      public static final String OPTION_ReportUnusedPrivateMember
      Siehe auch:
    • OPTION_ReportNoImplicitStringConversion

      public static final String OPTION_ReportNoImplicitStringConversion
      Siehe auch:
    • OPTION_ReportAssertIdentifier

      public static final String OPTION_ReportAssertIdentifier
      Siehe auch:
    • OPTION_ReportEnumIdentifier

      public static final String OPTION_ReportEnumIdentifier
      Siehe auch:
    • OPTION_ReportNonStaticAccessToStatic

      public static final String OPTION_ReportNonStaticAccessToStatic
      Siehe auch:
    • OPTION_ReportIndirectStaticAccess

      public static final String OPTION_ReportIndirectStaticAccess
      Siehe auch:
    • OPTION_ReportEmptyStatement

      public static final String OPTION_ReportEmptyStatement
      Siehe auch:
    • OPTION_ReportUnnecessaryTypeCheck

      public static final String OPTION_ReportUnnecessaryTypeCheck
      Siehe auch:
    • OPTION_ReportUnnecessaryElse

      public static final String OPTION_ReportUnnecessaryElse
      Siehe auch:
    • OPTION_ReportUndocumentedEmptyBlock

      public static final String OPTION_ReportUndocumentedEmptyBlock
      Siehe auch:
    • OPTION_ReportInvalidJavadoc

      public static final String OPTION_ReportInvalidJavadoc
      Siehe auch:
    • OPTION_ReportInvalidJavadocTags

      public static final String OPTION_ReportInvalidJavadocTags
      Siehe auch:
    • OPTION_ReportInvalidJavadocTagsDeprecatedRef

      public static final String OPTION_ReportInvalidJavadocTagsDeprecatedRef
      Siehe auch:
    • OPTION_ReportInvalidJavadocTagsNotVisibleRef

      public static final String OPTION_ReportInvalidJavadocTagsNotVisibleRef
      Siehe auch:
    • OPTION_ReportInvalidJavadocTagsVisibility

      public static final String OPTION_ReportInvalidJavadocTagsVisibility
      Siehe auch:
    • OPTION_ReportMissingJavadocTags

      public static final String OPTION_ReportMissingJavadocTags
      Siehe auch:
    • OPTION_ReportMissingJavadocTagsVisibility

      public static final String OPTION_ReportMissingJavadocTagsVisibility
      Siehe auch:
    • OPTION_ReportMissingJavadocTagsOverriding

      public static final String OPTION_ReportMissingJavadocTagsOverriding
      Siehe auch:
    • OPTION_ReportMissingJavadocTagsMethodTypeParameters

      public static final String OPTION_ReportMissingJavadocTagsMethodTypeParameters
      Siehe auch:
    • OPTION_ReportMissingJavadocComments

      public static final String OPTION_ReportMissingJavadocComments
      Siehe auch:
    • OPTION_ReportMissingJavadocTagDescription

      public static final String OPTION_ReportMissingJavadocTagDescription
      Siehe auch:
    • OPTION_ReportMissingJavadocCommentsVisibility

      public static final String OPTION_ReportMissingJavadocCommentsVisibility
      Siehe auch:
    • OPTION_ReportMissingJavadocCommentsOverriding

      public static final String OPTION_ReportMissingJavadocCommentsOverriding
      Siehe auch:
    • OPTION_ReportFinallyBlockNotCompletingNormally

      public static final String OPTION_ReportFinallyBlockNotCompletingNormally
      Siehe auch:
    • OPTION_ReportUnusedDeclaredThrownException

      public static final String OPTION_ReportUnusedDeclaredThrownException
      Siehe auch:
    • OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding

      public static final String OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding
      Siehe auch:
    • OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference

      public static final String OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference
      Siehe auch:
    • OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable

      public static final String OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable
      Siehe auch:
    • OPTION_ReportUnqualifiedFieldAccess

      public static final String OPTION_ReportUnqualifiedFieldAccess
      Siehe auch:
    • OPTION_ReportUnavoidableGenericTypeProblems

      public static final String OPTION_ReportUnavoidableGenericTypeProblems
      Siehe auch:
    • OPTION_ReportUncheckedTypeOperation

      public static final String OPTION_ReportUncheckedTypeOperation
      Siehe auch:
    • OPTION_ReportRawTypeReference

      public static final String OPTION_ReportRawTypeReference
      Siehe auch:
    • OPTION_ReportFinalParameterBound

      public static final String OPTION_ReportFinalParameterBound
      Siehe auch:
    • OPTION_ReportMissingSerialVersion

      public static final String OPTION_ReportMissingSerialVersion
      Siehe auch:
    • OPTION_ReportVarargsArgumentNeedCast

      public static final String OPTION_ReportVarargsArgumentNeedCast
      Siehe auch:
    • OPTION_ReportUnusedTypeArgumentsForMethodInvocation

      public static final String OPTION_ReportUnusedTypeArgumentsForMethodInvocation
      Siehe auch:
    • OPTION_Source

      public static final String OPTION_Source
      Siehe auch:
    • OPTION_TargetPlatform

      public static final String OPTION_TargetPlatform
      Siehe auch:
    • OPTION_Compliance

      public static final String OPTION_Compliance
      Siehe auch:
    • OPTION_Release

      public static final String OPTION_Release
      Siehe auch:
    • OPTION_Encoding

      public static final String OPTION_Encoding
      Siehe auch:
    • OPTION_MaxProblemPerUnit

      public static final String OPTION_MaxProblemPerUnit
      Siehe auch:
    • OPTION_TaskTags

      public static final String OPTION_TaskTags
      Siehe auch:
    • OPTION_TaskPriorities

      public static final String OPTION_TaskPriorities
      Siehe auch:
    • OPTION_TaskCaseSensitive

      public static final String OPTION_TaskCaseSensitive
      Siehe auch:
    • OPTION_InlineJsr

      public static final String OPTION_InlineJsr
      Siehe auch:
    • OPTION_ShareCommonFinallyBlocks

      public static final String OPTION_ShareCommonFinallyBlocks
      Siehe auch:
    • OPTION_ReportNullReference

      public static final String OPTION_ReportNullReference
      Siehe auch:
    • OPTION_ReportPotentialNullReference

      public static final String OPTION_ReportPotentialNullReference
      Siehe auch:
    • OPTION_ReportRedundantNullCheck

      public static final String OPTION_ReportRedundantNullCheck
      Siehe auch:
    • OPTION_ReportAutoboxing

      public static final String OPTION_ReportAutoboxing
      Siehe auch:
    • OPTION_ReportAnnotationSuperInterface

      public static final String OPTION_ReportAnnotationSuperInterface
      Siehe auch:
    • OPTION_ReportMissingOverrideAnnotation

      public static final String OPTION_ReportMissingOverrideAnnotation
      Siehe auch:
    • OPTION_ReportMissingOverrideAnnotationForInterfaceMethodImplementation

      public static final String OPTION_ReportMissingOverrideAnnotationForInterfaceMethodImplementation
      Siehe auch:
    • OPTION_ReportMissingDeprecatedAnnotation

      public static final String OPTION_ReportMissingDeprecatedAnnotation
      Siehe auch:
    • OPTION_ReportIncompleteEnumSwitch

      public static final String OPTION_ReportIncompleteEnumSwitch
      Siehe auch:
    • OPTION_ReportMissingEnumCaseDespiteDefault

      public static final String OPTION_ReportMissingEnumCaseDespiteDefault
      Siehe auch:
    • OPTION_ReportMissingDefaultCase

      public static final String OPTION_ReportMissingDefaultCase
      Siehe auch:
    • OPTION_ReportForbiddenReference

      public static final String OPTION_ReportForbiddenReference
      Siehe auch:
    • OPTION_ReportDiscouragedReference

      public static final String OPTION_ReportDiscouragedReference
      Siehe auch:
    • OPTION_SuppressWarnings

      public static final String OPTION_SuppressWarnings
      Siehe auch:
    • OPTION_SuppressOptionalErrors

      public static final String OPTION_SuppressOptionalErrors
      Siehe auch:
    • OPTION_ReportUnhandledWarningToken

      public static final String OPTION_ReportUnhandledWarningToken
      Siehe auch:
    • OPTION_ReportUnusedTypeParameter

      public static final String OPTION_ReportUnusedTypeParameter
      Siehe auch:
    • OPTION_ReportUnusedWarningToken

      public static final String OPTION_ReportUnusedWarningToken
      Siehe auch:
    • OPTION_ReportUnusedLabel

      public static final String OPTION_ReportUnusedLabel
      Siehe auch:
    • OPTION_FatalOptionalError

      public static final String OPTION_FatalOptionalError
      Siehe auch:
    • OPTION_ReportParameterAssignment

      public static final String OPTION_ReportParameterAssignment
      Siehe auch:
    • OPTION_ReportFallthroughCase

      public static final String OPTION_ReportFallthroughCase
      Siehe auch:
    • OPTION_ReportOverridingMethodWithoutSuperInvocation

      public static final String OPTION_ReportOverridingMethodWithoutSuperInvocation
      Siehe auch:
    • OPTION_GenerateClassFiles

      public static final String OPTION_GenerateClassFiles
      Siehe auch:
    • OPTION_Process_Annotations

      public static final String OPTION_Process_Annotations
      Siehe auch:
    • OPTION_Store_Annotations

      public static final String OPTION_Store_Annotations
      Siehe auch:
    • OPTION_EmulateJavacBug8031744

      public static final String OPTION_EmulateJavacBug8031744
      Siehe auch:
    • OPTION_ReportRedundantSuperinterface

      public static final String OPTION_ReportRedundantSuperinterface
      Siehe auch:
    • OPTION_ReportComparingIdentical

      public static final String OPTION_ReportComparingIdentical
      Siehe auch:
    • OPTION_ReportMissingSynchronizedOnInheritedMethod

      public static final String OPTION_ReportMissingSynchronizedOnInheritedMethod
      Siehe auch:
    • OPTION_ReportMissingHashCodeMethod

      public static final String OPTION_ReportMissingHashCodeMethod
      Siehe auch:
    • OPTION_ReportDeadCode

      public static final String OPTION_ReportDeadCode
      Siehe auch:
    • OPTION_ReportDeadCodeInTrivialIfStatement

      public static final String OPTION_ReportDeadCodeInTrivialIfStatement
      Siehe auch:
    • OPTION_ReportTasks

      public static final String OPTION_ReportTasks
      Siehe auch:
    • OPTION_ReportUnusedObjectAllocation

      public static final String OPTION_ReportUnusedObjectAllocation
      Siehe auch:
    • OPTION_IncludeNullInfoFromAsserts

      public static final String OPTION_IncludeNullInfoFromAsserts
      Siehe auch:
    • OPTION_ReportMethodCanBeStatic

      public static final String OPTION_ReportMethodCanBeStatic
      Siehe auch:
    • OPTION_ReportMethodCanBePotentiallyStatic

      public static final String OPTION_ReportMethodCanBePotentiallyStatic
      Siehe auch:
    • OPTION_ReportRedundantSpecificationOfTypeArguments

      public static final String OPTION_ReportRedundantSpecificationOfTypeArguments
      Siehe auch:
    • OPTION_ReportUnclosedCloseable

      public static final String OPTION_ReportUnclosedCloseable
      Siehe auch:
    • OPTION_ReportPotentiallyUnclosedCloseable

      public static final String OPTION_ReportPotentiallyUnclosedCloseable
      Siehe auch:
    • OPTION_ReportExplicitlyClosedAutoCloseable

      public static final String OPTION_ReportExplicitlyClosedAutoCloseable
      Siehe auch:
    • OPTION_ReportNullSpecViolation

      public static final String OPTION_ReportNullSpecViolation
      Siehe auch:
    • OPTION_ReportNullAnnotationInferenceConflict

      public static final String OPTION_ReportNullAnnotationInferenceConflict
      Siehe auch:
    • OPTION_ReportNullUncheckedConversion

      public static final String OPTION_ReportNullUncheckedConversion
      Siehe auch:
    • OPTION_ReportRedundantNullAnnotation

      public static final String OPTION_ReportRedundantNullAnnotation
      Siehe auch:
    • OPTION_AnnotationBasedNullAnalysis

      public static final String OPTION_AnnotationBasedNullAnalysis
      Siehe auch:
    • OPTION_NullableAnnotationName

      public static final String OPTION_NullableAnnotationName
      Siehe auch:
    • OPTION_NonNullAnnotationName

      public static final String OPTION_NonNullAnnotationName
      Siehe auch:
    • OPTION_NonNullByDefaultAnnotationName

      public static final String OPTION_NonNullByDefaultAnnotationName
      Siehe auch:
    • OPTION_NullableAnnotationSecondaryNames

      public static final String OPTION_NullableAnnotationSecondaryNames
      Siehe auch:
    • OPTION_NonNullAnnotationSecondaryNames

      public static final String OPTION_NonNullAnnotationSecondaryNames
      Siehe auch:
    • OPTION_NonNullByDefaultAnnotationSecondaryNames

      public static final String OPTION_NonNullByDefaultAnnotationSecondaryNames
      Siehe auch:
    • OPTION_ReportUninternedIdentityComparison

      public static final String OPTION_ReportUninternedIdentityComparison
      Siehe auch:
    • OPTION_ReportMissingNonNullByDefaultAnnotation

      public static final String OPTION_ReportMissingNonNullByDefaultAnnotation
      Siehe auch:
    • OPTION_SyntacticNullAnalysisForFields

      public static final String OPTION_SyntacticNullAnalysisForFields
      Siehe auch:
    • OPTION_InheritNullAnnotations

      public static final String OPTION_InheritNullAnnotations
      Siehe auch:
    • OPTION_ReportNonnullParameterAnnotationDropped

      public static final String OPTION_ReportNonnullParameterAnnotationDropped
      Siehe auch:
    • OPTION_PessimisticNullAnalysisForFreeTypeVariables

      public static final String OPTION_PessimisticNullAnalysisForFreeTypeVariables
      Siehe auch:
    • OPTION_ReportNonNullTypeVariableFromLegacyInvocation

      public static final String OPTION_ReportNonNullTypeVariableFromLegacyInvocation
      Siehe auch:
    • OPTION_ReportAnnotatedTypeArgumentToUnannotated

      public static final String OPTION_ReportAnnotatedTypeArgumentToUnannotated
      Siehe auch:
    • OPTION_ReportUnlikelyCollectionMethodArgumentType

      public static final String OPTION_ReportUnlikelyCollectionMethodArgumentType
      Siehe auch:
    • OPTION_ReportUnlikelyCollectionMethodArgumentTypeStrict

      public static final String OPTION_ReportUnlikelyCollectionMethodArgumentTypeStrict
      Siehe auch:
    • OPTION_ReportUnlikelyEqualsArgumentType

      public static final String OPTION_ReportUnlikelyEqualsArgumentType
      Siehe auch:
    • OPTION_ReportAPILeak

      public static final String OPTION_ReportAPILeak
      Siehe auch:
    • OPTION_ReportUnstableAutoModuleName

      public static final String OPTION_ReportUnstableAutoModuleName
      Siehe auch:
    • OPTION_EnablePreviews

      public static final String OPTION_EnablePreviews
      Siehe auch:
    • OPTION_ReportPreviewFeatures

      public static final String OPTION_ReportPreviewFeatures
      Siehe auch:
    • OPTION_ReportSuppressWarningNotFullyAnalysed

      public static final String OPTION_ReportSuppressWarningNotFullyAnalysed
      Siehe auch:
    • OPTION_JdtDebugCompileMode

      public static final String OPTION_JdtDebugCompileMode
      Siehe auch:
    • OPTION_IgnoreUnnamedModuleForSplitPackage

      public static final String OPTION_IgnoreUnnamedModuleForSplitPackage
      Siehe auch:
    • OPTION_UseStringConcatFactory

      public static final String OPTION_UseStringConcatFactory
      Siehe auch:
    • GENERATE

      public static final String GENERATE
      Possible values for configurable options
      Siehe auch:
    • DO_NOT_GENERATE

      public static final String DO_NOT_GENERATE
      Siehe auch:
    • PRESERVE

      public static final String PRESERVE
      Siehe auch:
    • OPTIMIZE_OUT

      public static final String OPTIMIZE_OUT
      Siehe auch:
    • VERSION_1_1

      public static final String VERSION_1_1
      Siehe auch:
    • VERSION_1_2

      public static final String VERSION_1_2
      Siehe auch:
    • VERSION_1_3

      public static final String VERSION_1_3
      Siehe auch:
    • VERSION_1_4

      public static final String VERSION_1_4
      Siehe auch:
    • VERSION_JSR14

      public static final String VERSION_JSR14
      Siehe auch:
    • VERSION_CLDC1_1

      public static final String VERSION_CLDC1_1
      Siehe auch:
    • VERSION_1_5

      public static final String VERSION_1_5
      Siehe auch:
    • VERSION_1_6

      public static final String VERSION_1_6
      Siehe auch:
    • VERSION_1_7

      public static final String VERSION_1_7
      Siehe auch:
    • VERSION_1_8

      public static final String VERSION_1_8
      Siehe auch:
    • VERSION_9

      public static final String VERSION_9
      Siehe auch:
    • VERSION_10

      public static final String VERSION_10
      Siehe auch:
    • VERSION_11

      public static final String VERSION_11
      Siehe auch:
    • VERSION_12

      public static final String VERSION_12
      Siehe auch:
    • VERSION_13

      public static final String VERSION_13
      Siehe auch:
    • VERSION_14

      public static final String VERSION_14
      Siehe auch:
    • VERSION_15

      public static final String VERSION_15
      Siehe auch:
    • VERSION_16

      public static final String VERSION_16
      Siehe auch:
    • VERSION_17

      public static final String VERSION_17
      Siehe auch:
    • VERSION_18

      public static final String VERSION_18
      Siehe auch:
    • VERSION_19

      public static final String VERSION_19
      Siehe auch:
    • VERSION_20

      public static final String VERSION_20
      Siehe auch:
    • VERSION_21

      public static final String VERSION_21
      Siehe auch:
    • ERROR

      public static final String ERROR
      Siehe auch:
    • WARNING

      public static final String WARNING
      Siehe auch:
    • INFO

      public static final String INFO
      Siehe auch:
    • IGNORE

      public static final String IGNORE
      Siehe auch:
    • ENABLED

      public static final String ENABLED
      Siehe auch:
    • DISABLED

      public static final String DISABLED
      Siehe auch:
    • PUBLIC

      public static final String PUBLIC
      Siehe auch:
    • PROTECTED

      public static final String PROTECTED
      Siehe auch:
    • DEFAULT

      public static final String DEFAULT
      Siehe auch:
    • PRIVATE

      public static final String PRIVATE
      Siehe auch:
    • RETURN_TAG

      public static final String RETURN_TAG
      Siehe auch:
    • NO_TAG

      public static final String NO_TAG
      Siehe auch:
    • ALL_STANDARD_TAGS

      public static final String ALL_STANDARD_TAGS
      Siehe auch:
    • MethodWithConstructorName

      public static final int MethodWithConstructorName
      Bit mask for configurable problems (error/warning threshold) Note: bitmask assumes 3 highest bits to denote irritant group (to allow storing 8 groups of 29 bits each
      Siehe auch:
    • OverriddenPackageDefaultMethod

      public static final int OverriddenPackageDefaultMethod
      Siehe auch:
    • UsingDeprecatedAPI

      public static final int UsingDeprecatedAPI
      Siehe auch:
    • MaskedCatchBlock

      public static final int MaskedCatchBlock
      Siehe auch:
    • UnusedLocalVariable

      public static final int UnusedLocalVariable
      Siehe auch:
    • UnusedArgument

      public static final int UnusedArgument
      Siehe auch:
    • NoImplicitStringConversion

      public static final int NoImplicitStringConversion
      Siehe auch:
    • AccessEmulation

      public static final int AccessEmulation
      Siehe auch:
    • NonExternalizedString

      public static final int NonExternalizedString
      Siehe auch:
    • AssertUsedAsAnIdentifier

      public static final int AssertUsedAsAnIdentifier
      Siehe auch:
    • UnusedImport

      public static final int UnusedImport
      Siehe auch:
    • NonStaticAccessToStatic

      public static final int NonStaticAccessToStatic
      Siehe auch:
    • Task

      public static final int Task
      Siehe auch:
    • NoEffectAssignment

      public static final int NoEffectAssignment
      Siehe auch:
    • IncompatibleNonInheritedInterfaceMethod

      public static final int IncompatibleNonInheritedInterfaceMethod
      Siehe auch:
    • UnusedPrivateMember

      public static final int UnusedPrivateMember
      Siehe auch:
    • LocalVariableHiding

      public static final int LocalVariableHiding
      Siehe auch:
    • FieldHiding

      public static final int FieldHiding
      Siehe auch:
    • AccidentalBooleanAssign

      public static final int AccidentalBooleanAssign
      Siehe auch:
    • EmptyStatement

      public static final int EmptyStatement
      Siehe auch:
    • MissingJavadocComments

      public static final int MissingJavadocComments
      Siehe auch:
    • MissingJavadocTags

      public static final int MissingJavadocTags
      Siehe auch:
    • UnqualifiedFieldAccess

      public static final int UnqualifiedFieldAccess
      Siehe auch:
    • UnusedDeclaredThrownException

      public static final int UnusedDeclaredThrownException
      Siehe auch:
    • FinallyBlockNotCompleting

      public static final int FinallyBlockNotCompleting
      Siehe auch:
    • InvalidJavadoc

      public static final int InvalidJavadoc
      Siehe auch:
    • UnnecessaryTypeCheck

      public static final int UnnecessaryTypeCheck
      Siehe auch:
    • UndocumentedEmptyBlock

      public static final int UndocumentedEmptyBlock
      Siehe auch:
    • IndirectStaticAccess

      public static final int IndirectStaticAccess
      Siehe auch:
    • UnnecessaryElse

      public static final int UnnecessaryElse
      Siehe auch:
    • UncheckedTypeOperation

      public static final int UncheckedTypeOperation
      Siehe auch:
    • FinalParameterBound

      public static final int FinalParameterBound
      Siehe auch:
    • MissingSerialVersion

      public static final int MissingSerialVersion
      Siehe auch:
    • EnumUsedAsAnIdentifier

      public static final int EnumUsedAsAnIdentifier
      Siehe auch:
    • ForbiddenReference

      public static final int ForbiddenReference
      Siehe auch:
    • VarargsArgumentNeedCast

      public static final int VarargsArgumentNeedCast
      Siehe auch:
    • NullReference

      public static final int NullReference
      Siehe auch:
    • AutoBoxing

      public static final int AutoBoxing
      Siehe auch:
    • AnnotationSuperInterface

      public static final int AnnotationSuperInterface
      Siehe auch:
    • TypeHiding

      public static final int TypeHiding
      Siehe auch:
    • MissingOverrideAnnotation

      public static final int MissingOverrideAnnotation
      Siehe auch:
    • MissingEnumConstantCase

      public static final int MissingEnumConstantCase
      Siehe auch:
    • MissingDeprecatedAnnotation

      public static final int MissingDeprecatedAnnotation
      Siehe auch:
    • DiscouragedReference

      public static final int DiscouragedReference
      Siehe auch:
    • UnhandledWarningToken

      public static final int UnhandledWarningToken
      Siehe auch:
    • RawTypeReference

      public static final int RawTypeReference
      Siehe auch:
    • UnusedLabel

      public static final int UnusedLabel
      Siehe auch:
    • ParameterAssignment

      public static final int ParameterAssignment
      Siehe auch:
    • FallthroughCase

      public static final int FallthroughCase
      Siehe auch:
    • OverridingMethodWithoutSuperInvocation

      public static final int OverridingMethodWithoutSuperInvocation
      Siehe auch:
    • PotentialNullReference

      public static final int PotentialNullReference
      Siehe auch:
    • RedundantNullCheck

      public static final int RedundantNullCheck
      Siehe auch:
    • MissingJavadocTagDescription

      public static final int MissingJavadocTagDescription
      Siehe auch:
    • UnusedTypeArguments

      public static final int UnusedTypeArguments
      Siehe auch:
    • UnusedWarningToken

      public static final int UnusedWarningToken
      Siehe auch:
    • RedundantSuperinterface

      public static final int RedundantSuperinterface
      Siehe auch:
    • ComparingIdentical

      public static final int ComparingIdentical
      Siehe auch:
    • MissingSynchronizedModifierInInheritedMethod

      public static final int MissingSynchronizedModifierInInheritedMethod
      Siehe auch:
    • ShouldImplementHashcode

      public static final int ShouldImplementHashcode
      Siehe auch:
    • DeadCode

      public static final int DeadCode
      Siehe auch:
    • Tasks

      public static final int Tasks
      Siehe auch:
    • UnusedObjectAllocation

      public static final int UnusedObjectAllocation
      Siehe auch:
    • MethodCanBeStatic

      public static final int MethodCanBeStatic
      Siehe auch:
    • MethodCanBePotentiallyStatic

      public static final int MethodCanBePotentiallyStatic
      Siehe auch:
    • RedundantSpecificationOfTypeArguments

      public static final int RedundantSpecificationOfTypeArguments
      Siehe auch:
    • UnclosedCloseable

      public static final int UnclosedCloseable
      Siehe auch:
    • PotentiallyUnclosedCloseable

      public static final int PotentiallyUnclosedCloseable
      Siehe auch:
    • ExplicitlyClosedAutoCloseable

      public static final int ExplicitlyClosedAutoCloseable
      Siehe auch:
    • NullSpecViolation

      public static final int NullSpecViolation
      Siehe auch:
    • NullAnnotationInferenceConflict

      public static final int NullAnnotationInferenceConflict
      Siehe auch:
    • NullUncheckedConversion

      public static final int NullUncheckedConversion
      Siehe auch:
    • RedundantNullAnnotation

      public static final int RedundantNullAnnotation
      Siehe auch:
    • MissingNonNullByDefaultAnnotation

      public static final int MissingNonNullByDefaultAnnotation
      Siehe auch:
    • MissingDefaultCase

      public static final int MissingDefaultCase
      Siehe auch:
    • UnusedTypeParameter

      public static final int UnusedTypeParameter
      Siehe auch:
    • NonnullParameterAnnotationDropped

      public static final int NonnullParameterAnnotationDropped
      Siehe auch:
    • UnusedExceptionParameter

      public static final int UnusedExceptionParameter
      Siehe auch:
    • PessimisticNullAnalysisForFreeTypeVariables

      public static final int PessimisticNullAnalysisForFreeTypeVariables
      Siehe auch:
    • NonNullTypeVariableFromLegacyInvocation

      public static final int NonNullTypeVariableFromLegacyInvocation
      Siehe auch:
    • UnlikelyCollectionMethodArgumentType

      public static final int UnlikelyCollectionMethodArgumentType
      Siehe auch:
    • UnlikelyEqualsArgumentType

      public static final int UnlikelyEqualsArgumentType
      Siehe auch:
    • UsingTerminallyDeprecatedAPI

      public static final int UsingTerminallyDeprecatedAPI
      Siehe auch:
    • APILeak

      public static final int APILeak
      Siehe auch:
    • UnstableAutoModuleName

      public static final int UnstableAutoModuleName
      Siehe auch:
    • PreviewFeatureUsed

      public static final int PreviewFeatureUsed
      Siehe auch:
    • SuppressWarningsNotAnalysed

      public static final int SuppressWarningsNotAnalysed
      Siehe auch:
    • AnnotatedTypeArgumentToUnannotated

      public static final int AnnotatedTypeArgumentToUnannotated
      Siehe auch:
    • OPTION_ReportSwallowedExceptionInCatchBlock

      public static final String OPTION_ReportSwallowedExceptionInCatchBlock
      Siehe auch:
    • SwallowedExceptionInCatchBlock

      public static final int SwallowedExceptionInCatchBlock
      Siehe auch:
    • errorThreshold

      public IrritantSet errorThreshold
      Siehe auch:
    • warningThreshold

      public IrritantSet warningThreshold
      Siehe auch:
    • infoThreshold

      protected IrritantSet infoThreshold
      Siehe auch:
    • produceDebugAttributes

      public int produceDebugAttributes
      Classfile debug information, may contain source file name, line numbers, local variable tables, etc...
    • produceMethodParameters

      public boolean produceMethodParameters
      Classfile method parameters information as per JEP 118...
    • generateGenericSignatureForLambdaExpressions

      public boolean generateGenericSignatureForLambdaExpressions
      Indicates whether generic signature should be generated for lambda expressions
    • complianceLevel

      public long complianceLevel
      Compliance level for the compiler, refers to a JDK version, e.g. ClassFileConstants.JDK1_4
    • originalComplianceLevel

      public long originalComplianceLevel
      Original compliance level for the compiler, refers to a JDK version, e.g. ClassFileConstants.JDK1_4, Usually same as the field complianceLevel, though the latter could deviate to create temporary sandbox modes during reconcile operations. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633
    • sourceLevel

      public long sourceLevel
      Java source level, refers to a JDK version, e.g. ClassFileConstants.JDK1_4
    • originalSourceLevel

      public long originalSourceLevel
      Original Java source level, refers to a JDK version, e.g. ClassFileConstants.JDK1_4 Usually same as the field sourceLevel, though the latter could deviate to create temporary sandbox modes during reconcile operations. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633
    • targetJDK

      public long targetJDK
      VM target level, refers to a JDK version, e.g. ClassFileConstants.JDK1_4
    • defaultEncoding

      public String defaultEncoding
      Source encoding format
    • verbose

      public boolean verbose
      Compiler trace verbosity
    • produceReferenceInfo

      public boolean produceReferenceInfo
      Indicates whether reference info is desired
    • preserveAllLocalVariables

      public boolean preserveAllLocalVariables
      Indicates if unused/optimizable local variables need to be preserved (debugging purpose)
    • parseLiteralExpressionsAsConstants

      public boolean parseLiteralExpressionsAsConstants
      Indicates whether literal expressions are inlined at parse-time or not
    • maxProblemsPerUnit

      public int maxProblemsPerUnit
      Max problems per compilation unit
    • taskTags

      public char[][] taskTags
      Tags used to recognize tasks in comments
    • taskPriorities

      public char[][] taskPriorities
      Respective priorities of recognized task tags
    • isTaskCaseSensitive

      public boolean isTaskCaseSensitive
      Indicate whether tag detection is case sensitive or not
    • reportDeprecationInsideDeprecatedCode

      public boolean reportDeprecationInsideDeprecatedCode
      Specify whether deprecation inside deprecated code is to be reported
    • reportDeprecationWhenOverridingDeprecatedMethod

      public boolean reportDeprecationWhenOverridingDeprecatedMethod
      Specify whether override of deprecated method is to be reported
    • reportUnusedParameterWhenImplementingAbstract

      public boolean reportUnusedParameterWhenImplementingAbstract
      Specify if should report unused parameter when implementing abstract method
    • reportUnusedParameterWhenOverridingConcrete

      public boolean reportUnusedParameterWhenOverridingConcrete
      Specify if should report unused parameter when overriding concrete method
    • reportUnusedParameterIncludeDocCommentReference

      public boolean reportUnusedParameterIncludeDocCommentReference
      Specify if should report documented unused parameter (in javadoc)
    • reportUnusedDeclaredThrownExceptionWhenOverriding

      public boolean reportUnusedDeclaredThrownExceptionWhenOverriding
      Specify if should reported unused declared thrown exception when overriding method
    • reportUnusedDeclaredThrownExceptionIncludeDocCommentReference

      public boolean reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
      Specify if should reported unused declared thrown exception when documented in javadoc
    • reportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable

      public boolean reportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable
      Specify if should reported unused declared thrown exception when Exception or Throwable
    • reportSpecialParameterHidingField

      public boolean reportSpecialParameterHidingField
      Specify whether should report constructor/setter method parameter hiding
    • reportDeadCodeInTrivialIfStatement

      public boolean reportDeadCodeInTrivialIfStatement
      Specify whether trivial deadcode pattern is to be reported (e.g. if (DEBUG) ...)
    • docCommentSupport

      public boolean docCommentSupport
      Master flag controlling whether doc comment should be processed
    • reportInvalidJavadocTags

      public boolean reportInvalidJavadocTags
      Specify if invalid javadoc shall be reported
    • reportInvalidJavadocTagsVisibility

      public int reportInvalidJavadocTagsVisibility
      Only report invalid javadoc above a given level of visibility of associated construct
    • reportInvalidJavadocTagsDeprecatedRef

      public boolean reportInvalidJavadocTagsDeprecatedRef
      Specify if deprecated javadoc ref is allowed
    • reportInvalidJavadocTagsNotVisibleRef

      public boolean reportInvalidJavadocTagsNotVisibleRef
      Specify if non visible javadoc ref is allowed
    • reportMissingJavadocTagDescription

      public String reportMissingJavadocTagDescription
      Specify when to report missing javadoc tag description
    • reportMissingJavadocTagsVisibility

      public int reportMissingJavadocTagsVisibility
      Only report missing javadoc tags above a given level of visibility of associated construct
    • reportMissingJavadocTagsOverriding

      public boolean reportMissingJavadocTagsOverriding
      Specify if need to flag missing javadoc tags for overriding method
    • reportMissingJavadocTagsMethodTypeParameters

      public boolean reportMissingJavadocTagsMethodTypeParameters
      Specify if need to flag missing javadoc tags for method type parameters (java 1.5 and above)
    • reportMissingJavadocCommentsVisibility

      public int reportMissingJavadocCommentsVisibility
      Only report missing javadoc comment above a given level of visibility of associated construct
    • reportMissingJavadocCommentsOverriding

      public boolean reportMissingJavadocCommentsOverriding
      Specify if need to flag missing javadoc comment for overriding method
    • inlineJsrBytecode

      public boolean inlineJsrBytecode
      Indicate whether the JSR bytecode should be inlined to avoid its presence in classfile
    • shareCommonFinallyBlocks

      public boolean shareCommonFinallyBlocks
      Indicate whether common escaping finally blocks should be shared
    • suppressWarnings

      public boolean suppressWarnings
      Indicate if @SuppressWarning annotations are activated
    • suppressOptionalErrors

      public boolean suppressOptionalErrors
      Indicate if @SuppressWarning annotations should also suppress optional errors
    • treatOptionalErrorAsFatal

      public boolean treatOptionalErrorAsFatal
      Specify if should treat optional error as fatal or just like warning
    • performMethodsFullRecovery

      public boolean performMethodsFullRecovery
      Specify if parser should perform structural recovery in methods
    • performStatementsRecovery

      public boolean performStatementsRecovery
      Specify if parser perform statements recovery
    • processAnnotations

      public boolean processAnnotations
      Control whether annotation processing is enabled
    • storeAnnotations

      public boolean storeAnnotations
      Store annotations
    • reportMissingOverrideAnnotationForInterfaceMethodImplementation

      public boolean reportMissingOverrideAnnotationForInterfaceMethodImplementation
      Specify if need to report missing override annotation for a method implementing an interface method (java 1.6 and above)
    • generateClassFiles

      public boolean generateClassFiles
      Indicate if annotation processing generates classfiles
    • ignoreMethodBodies

      public boolean ignoreMethodBodies
      Indicate if method bodies should be ignored
    • includeNullInfoFromAsserts

      public boolean includeNullInfoFromAsserts
      Raise null related warnings for variables tainted inside an assert statement (java 1.4 and above)
    • reportUnavoidableGenericTypeProblems

      public boolean reportUnavoidableGenericTypeProblems
      Controls whether forced generic type problems get reported
    • ignoreSourceFolderWarningOption

      public boolean ignoreSourceFolderWarningOption
      Indicates that the 'ignore optional problems from source folder' option need to be ignored See https://bugs.eclipse.org/bugs/show_bug.cgi?id=372377
    • isAnnotationBasedNullAnalysisEnabled

      public boolean isAnnotationBasedNullAnalysisEnabled
      Master switch for null analysis based on annotations:
    • nullableAnnotationName

      public char[][] nullableAnnotationName
      Fully qualified name of annotation to use as marker for nullable types.
    • nonNullAnnotationName

      public char[][] nonNullAnnotationName
      Fully qualified name of annotation to use as marker for nonnull types.
    • nonNullByDefaultAnnotationName

      public char[][] nonNullByDefaultAnnotationName
      Fully qualified name of annotation to use as marker for default nonnull.
    • nullableAnnotationSecondaryNames

      public String[] nullableAnnotationSecondaryNames
      Fully qualified names of secondary annotations to use as marker for nullable types.
    • nonNullAnnotationSecondaryNames

      public String[] nonNullAnnotationSecondaryNames
      Fully qualified names of secondary annotations to use as marker for nonnull types.
    • nonNullByDefaultAnnotationSecondaryNames

      public String[] nonNullByDefaultAnnotationSecondaryNames
      Fully qualified names of secondary annotations to use as marker for default nonnull.
    • intendedDefaultNonNullness

      public long intendedDefaultNonNullness
      TagBits-encoded default for non-annotated types.
    • analyseResourceLeaks

      public boolean analyseResourceLeaks
      Should resources (objects of type Closeable) be analysed for matching calls to close()?
    • reportMissingEnumCaseDespiteDefault

      public boolean reportMissingEnumCaseDespiteDefault
      Should missing enum cases be reported even if a default case exists in the same switch?
    • reportUnlikelyCollectionMethodArgumentTypeStrict

      public boolean reportUnlikelyCollectionMethodArgumentTypeStrict
      When checking for unlikely argument types of of Map.get() et al, perform strict analysis against the expected type
    • tolerateIllegalAmbiguousVarargsInvocation

      public static boolean tolerateIllegalAmbiguousVarargsInvocation
      Should the compiler tolerate illegal ambiguous varargs invocation in compliance Ungültige Eingabe: "<" 1.7 to be bug compatible with javac? (bug 383780)
    • inheritNullAnnotations

      public boolean inheritNullAnnotations
      Should null annotations of overridden methods be inherited?
    • enableSyntacticNullAnalysisForFields

      public boolean enableSyntacticNullAnalysisForFields
      Should immediate null-check for fields be considered during null analysis (syntactical match)?
    • pessimisticNullAnalysisForFreeTypeVariablesEnabled

      public boolean pessimisticNullAnalysisForFreeTypeVariablesEnabled
      Is the error level for pessimistic null analysis for free type variables different from "ignore"?
    • complainOnUninternedIdentityComparison

      public boolean complainOnUninternedIdentityComparison
    • emulateJavacBug8031744

      public boolean emulateJavacBug8031744
    • useNullTypeAnnotations

      public Boolean useNullTypeAnnotations
      Not directly configurable, derived from other options by LookupEnvironment.usesNullTypeAnnotations()
    • enablePreviewFeatures

      public boolean enablePreviewFeatures
      Master flag to enabled/disable all preview features
    • enableJdtDebugCompileMode

      public boolean enableJdtDebugCompileMode
      Enable a less restrictive compile mode for JDT debug.
    • ignoreUnnamedModuleForSplitPackage

      public boolean ignoreUnnamedModuleForSplitPackage
      Should the compiler ignore the unnamed module when a package is defined in both a named module and the unnamed module?
    • useStringConcatFactory

      public boolean useStringConcatFactory
      Should the compiler use the StringConcatFactory for String concatenation expressions in the produced binary
    • warningTokens

      public static final String[] warningTokens
  • Konstruktordetails

    • CompilerOptions

      public CompilerOptions()
      Initializing the compiler options with defaults
    • CompilerOptions

      public CompilerOptions(Map<String,String> settings)
      Initializing the compiler options with external settings
      Parameter:
      settings -
    • CompilerOptions

      public CompilerOptions(Map settings, boolean parseLiteralExpressionsAsConstants)
      Veraltet.
      used to preserve 3.1 and 3.2M4 compatibility of some Compiler constructors
  • Methodendetails

    • getLatestVersion

      public static String getLatestVersion()
      Return the latest Java language version supported by the Eclipse compiler
    • optionKeyFromIrritant

      public static String optionKeyFromIrritant(int irritant)
      Return the most specific option key controlling this irritant. Note that in some case, some irritant is controlled by other master options (e.g. javadoc, deprecation, etc.). This information is intended for grouping purpose (several problems governed by a rule)
    • versionFromJdkLevel

      public static String versionFromJdkLevel(long jdkLevel)
    • releaseToJDKLevel

      public static long releaseToJDKLevel(String release)
    • versionToJdkLevel

      public static long versionToJdkLevel(String versionID)
    • versionToJdkLevel

      public static long versionToJdkLevel(String versionID, boolean supportUnreleased)
    • warningOptionNames

      public static String[] warningOptionNames()
      Return all warning option names for use as keys in compiler options maps.
      Gibt zurück:
      all warning option names
    • warningTokenFromIrritant

      public static String warningTokenFromIrritant(int irritant)
      For suppressable warnings
    • warningTokenToIrritants

      public static IrritantSet warningTokenToIrritants(String warningToken)
    • getMap

      public Map<String,String> getMap()
    • getSeverity

      public int getSeverity(int irritant)
    • getSeverityString

      public String getSeverityString(int irritant)
    • getVisibilityString

      public String getVisibilityString(int level)
    • isAnyEnabled

      public boolean isAnyEnabled(IrritantSet irritants)
    • getIgnoredIrritant

      public int getIgnoredIrritant(IrritantSet irritants)
    • resetDefaults

      protected void resetDefaults()
    • set

      public void set(Map<String,String> optionsMap)
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • updateSeverity

      protected void updateSeverity(int irritant, Object severityString)
    • usesNullTypeAnnotations

      public boolean usesNullTypeAnnotations()
      Note, if you have a LookupEnvironment you should instead ask LookupEnvironment.usesNullTypeAnnotations().