org.eclipse.jdt.core.compiler
接口 IProblem
- 所有已知实现类:
- AptProblem, CategorizedProblem, DefaultProblem
public interface IProblem
Description of a Java problem, as detected by the compiler or some of the underlying
technology reusing the compiler.
A problem provides access to:
- its location (originating source file name, source position, line number),
- its message description and a predicate to check its severity (warning or error).
- its ID : a number identifying the very nature of this problem. All possible IDs are listed
as constants on this interface.
Note: the compiler produces IProblems internally, which are turned into markers by the JavaBuilder
so as to persist problem descriptions. This explains why there is no API allowing to reach IProblem detected
when compiling. However, the Java problem markers carry equivalent information to IProblem, in particular
their ID (attribute "id") is set to one of the IDs defined on this interface.
- 从以下版本开始:
- 2.0
|
字段摘要 |
static int |
AbstractMethodCannotBeOverridden
|
static int |
AbstractMethodInAbstractClass
|
static int |
AbstractMethodInEnum
|
static int |
AbstractMethodMustBeImplemented
|
static int |
AbstractMethodMustBeImplementedOverConcreteMethod
|
static int |
AbstractMethodsInConcreteClass
|
static int |
AmbiguousConstructor
|
static int |
AmbiguousConstructorInDefaultConstructor
|
static int |
AmbiguousConstructorInImplicitConstructorCall
|
static int |
AmbiguousField
|
static int |
AmbiguousMethod
|
static int |
AmbiguousType
|
static int |
AnnotationCannotOverrideMethod
|
static int |
AnnotationCircularity
|
static int |
AnnotationCircularitySelfReference
|
static int |
AnnotationFieldNeedConstantInitialization
已过时。 - problem is no longer generated (code is legite) |
static int |
AnnotationMembersCannotHaveParameters
|
static int |
AnnotationMembersCannotHaveTypeParameters
|
static int |
AnnotationTypeDeclarationCannotHaveConstructor
|
static int |
AnnotationTypeDeclarationCannotHaveSuperclass
|
static int |
AnnotationTypeDeclarationCannotHaveSuperinterfaces
|
static int |
AnnotationTypeUsedAsSuperInterface
|
static int |
AnnotationValueMustBeAnEnumConstant
|
static int |
AnnotationValueMustBeAnnotation
|
static int |
AnnotationValueMustBeArrayInitializer
|
static int |
AnnotationValueMustBeClassLiteral
|
static int |
AnnotationValueMustBeConstant
|
static int |
AnonymousClassCannotExtendFinalClass
|
static int |
ArgumentHidingField
|
static int |
ArgumentHidingLocalVariable
|
static int |
ArgumentIsNeverUsed
|
static int |
ArgumentTypeAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
ArgumentTypeCannotBeVoid
|
static int |
ArgumentTypeCannotBeVoidArray
已过时。 - problem is no longer generated, use CannotAllocateVoidArray instead |
static int |
ArgumentTypeInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
ArgumentTypeInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
ArgumentTypeNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
ArgumentTypeNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
ArrayConstantsOnlyInArrayInitializers
|
static int |
ArrayReferenceRequired
|
static int |
AssignmentHasNoEffect
|
static int |
AssignmentToMultiCatchParameter
|
static int |
AssignmentToResource
|
static int |
AutoManagedResourceNotBelow17
|
static int |
BinaryLiteralNotBelow17
|
static int |
BodyForAbstractMethod
|
static int |
BodyForNativeMethod
|
static int |
BoundCannotBeArray
|
static int |
BoundHasConflictingArguments
|
static int |
BoundMustBeAnInterface
|
static int |
BoxingConversion
|
static int |
BytecodeExceeds64KLimit
|
static int |
BytecodeExceeds64KLimitForClinit
|
static int |
BytecodeExceeds64KLimitForConstructor
|
static int |
CannotAllocateVoidArray
|
static int |
CannotDeclareEnumSpecialMethod
|
static int |
CannotDefineAnnotationInLocalType
|
static int |
CannotDefineDimensionExpressionsWithInit
|
static int |
CannotDefineEnumInLocalType
|
static int |
CannotDefineInterfaceInLocalType
|
static int |
CannotDefineStaticInitializerInLocalType
|
static int |
CannotExtendEnum
|
static int |
CannotHideAnInstanceMethodWithAStaticMethod
|
static int |
CannotImportPackage
|
static int |
CannotInferElidedTypes
|
static int |
CannotInvokeSuperConstructorInEnum
|
static int |
CannotOverrideAStaticMethodWithAnInstanceMethod
|
static int |
CannotReadSource
|
static int |
CannotReturnInInitializer
|
static int |
CannotThrowNull
|
static int |
CannotThrowType
|
static int |
CannotUseDiamondWithAnonymousClasses
|
static int |
CannotUseDiamondWithExplicitTypeArguments
|
static int |
CannotUseSuperInCodeSnippet
|
static int |
ClassExtendFinalClass
|
static int |
CodeCannotBeReached
|
static int |
CodeSnippetMissingClass
|
static int |
CodeSnippetMissingMethod
|
static int |
ComparingIdentical
|
static int |
ConflictingImport
|
static int |
ConstructorRelated
|
static int |
ConstructorVarargsArgumentNeedCast
|
static int |
CorruptedSignature
|
static int |
DeadCode
|
static int |
DiamondNotBelow17
|
static int |
DirectInvocationOfAbstractMethod
|
static int |
DisallowedTargetForAnnotation
|
static int |
DiscouragedReference
|
static int |
DuplicateAnnotation
|
static int |
DuplicateAnnotationMember
|
static int |
DuplicateBlankFinalFieldInitialization
|
static int |
DuplicateBounds
|
static int |
DuplicateCase
|
static int |
DuplicateDefaultCase
|
static int |
DuplicateField
|
static int |
DuplicateFinalLocalInitialization
|
static int |
DuplicateImport
|
static int |
DuplicateInheritedMethods
|
static int |
DuplicateLabel
|
static int |
DuplicateMethod
|
static int |
DuplicateMethodErasure
|
static int |
DuplicateModifierForArgument
|
static int |
DuplicateModifierForField
|
static int |
DuplicateModifierForMethod
|
static int |
DuplicateModifierForType
|
static int |
DuplicateModifierForVariable
|
static int |
DuplicateNestedType
|
static int |
DuplicateParameterizedMethods
|
static int |
DuplicateSuperInterface
|
static int |
DuplicateTargetInTargetAnnotation
|
static int |
DuplicateTypes
|
static int |
DuplicateTypeVariable
|
static int |
EmptyControlFlowStatement
|
static int |
EnclosingInstanceInConstructorCall
|
static int |
EndOfSource
|
static int |
EnumAbstractMethodMustBeImplemented
|
static int |
EnumConstantCannotDefineAbstractMethod
|
static int |
EnumConstantMustImplementAbstractMethod
|
static int |
EnumConstantsCannotBeSurroundedByParenthesis
|
static int |
EnumStaticFieldInInInitializerContext
|
static int |
EnumSwitchCannotTargetField
|
static int |
ExceptionTypeAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
ExceptionTypeInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
ExceptionTypeInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
ExceptionTypeNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
ExceptionTypeNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
ExpressionShouldBeAVariable
|
static int |
ExternalProblemFixable
|
static int |
ExternalProblemNotFixable
|
static int |
FallthroughCase
|
static int |
FieldHidingField
|
static int |
FieldHidingLocalVariable
|
static int |
FieldMissingDeprecatedAnnotation
|
static int |
FieldRelated
|
static int |
FieldTypeAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
FieldTypeInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
FieldTypeInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
FieldTypeNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
FieldTypeNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
FinalBoundForTypeVariable
|
static int |
FinalFieldAssignment
|
static int |
FinallyMustCompleteNormally
|
static int |
FinalMethodCannotBeOverridden
|
static int |
FinalOuterLocalAssignment
|
static int |
ForbiddenReference
|
static int |
GenericConstructorTypeArgumentMismatch
|
static int |
GenericMethodTypeArgumentMismatch
|
static int |
GenericTypeCannotExtendThrowable
|
static int |
HidingEnclosingType
|
static int |
HierarchyCircularity
|
static int |
HierarchyCircularitySelfReference
|
static int |
HierarchyHasProblems
|
static int |
IgnoreCategoriesMask
Mask to use in order to filter out the category portion of the problem ID. |
static int |
IllegalAbstractModifierCombinationForMethod
|
static int |
IllegalAccessFromTypeVariable
|
static int |
IllegalCast
|
static int |
IllegalClassLiteralForTypeVariable
|
static int |
IllegalDimension
|
static int |
IllegalEnclosingInstanceSpecification
|
static int |
IllegalExtendedDimensions
|
static int |
IllegalExtendedDimensionsForVarArgs
|
static int |
IllegalGenericArray
|
static int |
IllegalHexaLiteral
|
static int |
IllegalInstanceofParameterizedType
|
static int |
IllegalInstanceofTypeParameter
|
static int |
IllegalModifierCombinationFinalAbstractForClass
|
static int |
IllegalModifierCombinationFinalVolatileForField
|
static int |
IllegalModifierForAnnotationField
|
static int |
IllegalModifierForAnnotationMemberType
|
static int |
IllegalModifierForAnnotationMethod
|
static int |
IllegalModifierForAnnotationType
|
static int |
IllegalModifierForArgument
|
static int |
IllegalModifierForClass
|
static int |
IllegalModifierForConstructor
|
static int |
IllegalModifierForEnum
|
static int |
IllegalModifierForEnumConstant
|
static int |
IllegalModifierForEnumConstructor
|
static int |
IllegalModifierForField
|
static int |
IllegalModifierForInterface
|
static int |
IllegalModifierForInterfaceField
|
static int |
IllegalModifierForInterfaceMethod
|
static int |
IllegalModifierForLocalClass
|
static int |
IllegalModifierForLocalEnum
已过时。 - problem could not be reported, enums cannot be local takes precedence |
static int |
IllegalModifierForMemberClass
|
static int |
IllegalModifierForMemberEnum
|
static int |
IllegalModifierForMemberInterface
|
static int |
IllegalModifierForMethod
|
static int |
IllegalModifierForVariable
|
static int |
IllegalPrimitiveOrArrayTypeForEnclosingInstance
|
static int |
IllegalQualifiedEnumConstantLabel
|
static int |
IllegalQualifiedParameterizedTypeAllocation
|
static int |
IllegalStaticModifierForMemberType
|
static int |
IllegalTypeVariableSuperReference
|
static int |
IllegalUnderscorePosition
|
static int |
IllegalUsageOfQualifiedTypeReference
|
static int |
IllegalVararg
|
static int |
IllegalVisibilityModifierCombinationForField
|
static int |
IllegalVisibilityModifierCombinationForMemberType
|
static int |
IllegalVisibilityModifierCombinationForMethod
|
static int |
IllegalVisibilityModifierForInterfaceMemberType
|
static int |
ImportAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
ImportInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
ImportInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
ImportNotFound
|
static int |
ImportNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
ImportRelated
|
static int |
IncompatibleExceptionInInheritedMethodThrowsClause
|
static int |
IncompatibleExceptionInThrowsClause
|
static int |
IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod
|
static int |
IncompatibleReturnType
|
static int |
IncompatibleReturnTypeForNonInheritedInterfaceMethod
|
static int |
IncompatibleTypesInConditionalOperator
|
static int |
IncompatibleTypesInEqualityOperator
|
static int |
IncompatibleTypesInForeach
|
static int |
IncorrectArityForParameterizedConstructor
|
static int |
IncorrectArityForParameterizedMethod
|
static int |
IncorrectArityForParameterizedType
|
static int |
IncorrectEnclosingInstanceReference
|
static int |
IncorrectSwitchType
|
static int |
IncorrectSwitchType17
|
static int |
IndirectAccessToStaticField
|
static int |
IndirectAccessToStaticMethod
|
static int |
IndirectAccessToStaticType
|
static int |
InheritedFieldHidesEnclosingName
|
static int |
InheritedIncompatibleReturnType
|
static int |
InheritedMethodHidesEnclosingName
|
static int |
InheritedMethodReducesVisibility
|
static int |
InheritedTypeHidesEnclosingName
|
static int |
InitializerMustCompleteNormally
|
static int |
InstanceFieldDuringConstructorInvocation
|
static int |
InstanceMethodDuringConstructorInvocation
|
static int |
InterfaceAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
InterfaceCannotHaveConstructors
|
static int |
InterfaceCannotHaveInitializers
|
static int |
InterfaceInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
InterfaceInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
InterfaceNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
InterfaceNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
Internal
|
static int |
InternalTypeNameProvided
|
static int |
InvalidAnnotationMemberType
|
static int |
InvalidBinary
|
static int |
InvalidBreak
|
static int |
InvalidCatchBlockSequence
|
static int |
InvalidCharacterConstant
|
static int |
InvalidClassInstantiation
|
static int |
InvalidContinue
|
static int |
InvalidDigit
|
static int |
InvalidEncoding
|
static int |
InvalidEscape
|
static int |
InvalidExplicitConstructorCall
|
static int |
InvalidExpressionAsStatement
|
static int |
InvalidFileNameForPackageAnnotations
|
static int |
InvalidFloat
|
static int |
InvalidHexa
|
static int |
InvalidHighSurrogate
|
static int |
InvalidInput
|
static int |
InvalidLowSurrogate
|
static int |
InvalidNullToSynchronized
|
static int |
InvalidOctal
|
static int |
InvalidOperator
|
static int |
InvalidParameterizedExceptionType
|
static int |
InvalidParenthesizedExpression
|
static int |
InvalidTypeExpression
已过时。 - problem is no longer generated |
static int |
InvalidTypeForCollection
|
static int |
InvalidTypeForCollectionTarget14
|
static int |
InvalidTypeForStaticImport
|
static int |
InvalidTypeToSynchronized
|
static int |
InvalidTypeVariableExceptionType
|
static int |
InvalidUnaryExpression
|
static int |
InvalidUnicodeEscape
|
static int |
InvalidUnionTypeReferenceSequence
|
static int |
InvalidUsageOfAnnotationDeclarations
|
static int |
InvalidUsageOfAnnotations
|
static int |
InvalidUsageOfEnumDeclarations
|
static int |
InvalidUsageOfForeachStatements
|
static int |
InvalidUsageOfStaticImports
|
static int |
InvalidUsageOfTypeArguments
|
static int |
InvalidUsageOfTypeParameters
|
static int |
InvalidUsageOfTypeParametersForAnnotationDeclaration
|
static int |
InvalidUsageOfTypeParametersForEnumDeclaration
|
static int |
InvalidUsageOfVarargs
|
static int |
InvalidUsageOfWildcard
|
static int |
InvalidVoidExpression
|
static int |
IsClassPathCorrect
|
static int |
Javadoc
|
static int |
JavadocAmbiguousConstructor
|
static int |
JavadocAmbiguousField
|
static int |
JavadocAmbiguousMethod
|
static int |
JavadocAmbiguousMethodReference
|
static int |
JavadocAmbiguousType
|
static int |
JavadocDuplicateParamName
|
static int |
JavadocDuplicateReturnTag
|
static int |
JavadocDuplicateTag
Problem warned on duplicated tag. |
static int |
JavadocDuplicateThrowsClassName
|
static int |
JavadocEmptyReturnTag
|
static int |
JavadocGenericConstructorTypeArgumentMismatch
|
static int |
JavadocGenericMethodTypeArgumentMismatch
|
static int |
JavadocHiddenReference
Problem signaled on an hidden reference due to a too low visibility level. |
static int |
JavadocIncorrectArityForParameterizedConstructor
|
static int |
JavadocIncorrectArityForParameterizedMethod
|
static int |
JavadocInheritedFieldHidesEnclosingName
|
static int |
JavadocInheritedMethodHidesEnclosingName
|
static int |
JavadocInheritedNameHidesEnclosingTypeName
|
static int |
JavadocInternalTypeNameProvided
|
static int |
JavadocInvalidMemberTypeQualification
Problem signaled on an invalid qualification for member type reference. |
static int |
JavadocInvalidParamName
|
static int |
JavadocInvalidParamTagName
|
static int |
JavadocInvalidParamTagTypeParameter
|
static int |
JavadocInvalidSeeArgs
|
static int |
JavadocInvalidSeeHref
Problem signaled on an invalid URL reference that does not conform to the href syntax. |
static int |
JavadocInvalidSeeReference
|
static int |
JavadocInvalidSeeUrlReference
Problem signaled on an invalid URL reference. |
static int |
JavadocInvalidTag
|
static int |
JavadocInvalidThrowsClass
|
static int |
JavadocInvalidThrowsClassName
|
static int |
JavadocInvalidValueReference
|
static int |
JavadocMalformedSeeReference
|
static int |
JavadocMessagePrefix
|
static int |
JavadocMissing
|
static int |
JavadocMissingHashCharacter
|
static int |
JavadocMissingIdentifier
|
static int |
JavadocMissingParamName
|
static int |
JavadocMissingParamTag
|
static int |
JavadocMissingReturnTag
|
static int |
JavadocMissingSeeReference
|
static int |
JavadocMissingTagDescription
Problem warned on missing tag description. |
static int |
JavadocMissingThrowsClassName
|
static int |
JavadocMissingThrowsTag
|
static int |
JavadocNoMessageSendOnArrayType
|
static int |
JavadocNoMessageSendOnBaseType
|
static int |
JavadocNonGenericConstructor
|
static int |
JavadocNonGenericMethod
|
static int |
JavadocNonStaticTypeFromStaticInvocation
|
static int |
JavadocNotVisibleConstructor
|
static int |
JavadocNotVisibleField
|
static int |
JavadocNotVisibleMethod
|
static int |
JavadocNotVisibleType
|
static int |
JavadocParameterizedConstructorArgumentTypeMismatch
|
static int |
JavadocParameterizedMethodArgumentTypeMismatch
|
static int |
JavadocParameterMismatch
|
static int |
JavadocTypeArgumentsForRawGenericConstructor
|
static int |
JavadocTypeArgumentsForRawGenericMethod
|
static int |
JavadocUndefinedConstructor
|
static int |
JavadocUndefinedField
|
static int |
JavadocUndefinedMethod
|
static int |
JavadocUndefinedType
|
static int |
JavadocUnexpectedTag
|
static int |
JavadocUnexpectedText
|
static int |
JavadocUnterminatedInlineTag
|
static int |
JavadocUsingDeprecatedConstructor
|
static int |
JavadocUsingDeprecatedField
|
static int |
JavadocUsingDeprecatedMethod
|
static int |
JavadocUsingDeprecatedType
|
static int |
LocalVariableCannotBeNull
已过时。 - problem is no longer generated, use RedundantNullCheckOnNonNullLocalVariable instead |
static int |
LocalVariableCanOnlyBeNull
已过时。 - problem is no longer generated, use NullLocalVariableReference, RedundantNullCheckOnNullLocalVariable or RedundantLocalVariableNullAssignment instead |
static int |
LocalVariableHidingField
|
static int |
LocalVariableHidingLocalVariable
|
static int |
LocalVariableIsNeverUsed
|
static int |
LocalVariableMayBeNull
已过时。 - problem is no longer generated, use PotentialNullLocalVariableReference instead |
static int |
MaskedCatch
|
static int |
MethodButWithConstructorName
|
static int |
MethodCanBePotentiallyStatic
|
static int |
MethodCanBeStatic
|
static int |
MethodMissingDeprecatedAnnotation
|
static int |
MethodMustOverride
|
static int |
MethodMustOverrideOrImplement
|
static int |
MethodNameClash
|
static int |
MethodReducesVisibility
|
static int |
MethodRelated
|
static int |
MethodRequiresBody
|
static int |
MethodReturnsVoid
|
static int |
MethodVarargsArgumentNeedCast
|
static int |
MissingArgumentsForParameterizedMemberType
|
static int |
MissingEnclosingInstance
|
static int |
MissingEnclosingInstanceForConstructorCall
Inner types related problems |
static int |
MissingEnumConstantCase
|
static int |
MissingOverrideAnnotation
|
static int |
MissingOverrideAnnotationForInterfaceMethodImplementation
|
static int |
MissingReturnType
|
static int |
MissingSemiColon
|
static int |
MissingSerialVersion
|
static int |
MissingSynchronizedModifierInInheritedMethod
|
static int |
MissingTypeInConstructor
|
static int |
MissingTypeInMethod
|
static int |
MissingValueForAnnotationMember
|
static int |
MultiCatchNotBelow17
|
static int |
MustDefineEitherDimensionExpressionsOrInitializer
|
static int |
MustSpecifyPackage
已过时。 - problem is no longer generated |
static int |
NativeMethodsCannotBeStrictfp
|
static int |
NeedToEmulateConstructorAccess
|
static int |
NeedToEmulateFieldReadAccess
|
static int |
NeedToEmulateFieldWriteAccess
|
static int |
NeedToEmulateMethodAccess
|
static int |
NoAdditionalBoundAfterTypeVariable
|
static int |
NoFieldOnBaseType
|
static int |
NoImplicitStringConversionForCharArrayExpression
|
static int |
NoMessageSendOnArrayType
|
static int |
NoMessageSendOnBaseType
|
static int |
NonBlankFinalLocalAssignment
|
static int |
NonConstantExpression
|
static int |
NonExternalizedStringLiteral
|
static int |
NonGenericConstructor
|
static int |
NonGenericMethod
|
static int |
NonGenericType
|
static int |
NonNullLocalVariableComparisonYieldsFalse
|
static int |
NonStaticAccessToStaticField
|
static int |
NonStaticAccessToStaticMethod
|
static int |
NonStaticContextForEnumMemberType
|
static int |
NonStaticFieldFromStaticInvocation
|
static int |
NonStaticTypeFromStaticInvocation
|
static int |
NotVisibleConstructor
|
static int |
NotVisibleConstructorInDefaultConstructor
|
static int |
NotVisibleConstructorInImplicitConstructorCall
|
static int |
NotVisibleField
|
static int |
NotVisibleMethod
|
static int |
NotVisibleType
|
static int |
NullLocalVariableComparisonYieldsFalse
|
static int |
NullLocalVariableInstanceofYieldsFalse
|
static int |
NullLocalVariableReference
|
static int |
NullSourceString
|
static int |
NumericValueOutOfRange
|
static int |
ObjectCannotBeGeneric
|
static int |
ObjectCannotHaveSuperTypes
|
static int |
ObjectHasNoSuperclass
General type related problems |
static int |
ObjectMustBeClass
|
static int |
OuterLocalMustBeFinal
|
static int |
OverridingDeprecatedMethod
|
static int |
OverridingMethodWithoutSuperInvocation
|
static int |
OverridingNonVisibleMethod
|
static int |
PackageCollidesWithType
|
static int |
PackageIsNotExpectedPackage
|
static int |
ParameterAssignment
|
static int |
ParameterizedConstructorArgumentTypeMismatch
|
static int |
ParameterizedMethodArgumentTypeMismatch
|
static int |
ParameterMismatch
|
static int |
ParsingError
|
static int |
ParsingErrorDeleteToken
|
static int |
ParsingErrorDeleteTokens
|
static int |
ParsingErrorInsertToComplete
|
static int |
ParsingErrorInsertToCompletePhrase
|
static int |
ParsingErrorInsertToCompleteScope
|
static int |
ParsingErrorInsertTokenAfter
|
static int |
ParsingErrorInsertTokenBefore
|
static int |
ParsingErrorInvalidToken
|
static int |
ParsingErrorMergeTokens
|
static int |
ParsingErrorMisplacedConstruct
|
static int |
ParsingErrorNoSuggestion
|
static int |
ParsingErrorNoSuggestionForTokens
|
static int |
ParsingErrorOnKeyword
|
static int |
ParsingErrorOnKeywordNoSuggestion
|
static int |
ParsingErrorReplaceTokens
|
static int |
ParsingErrorUnexpectedEOF
|
static int |
PolymorphicMethodNotBelow17
|
static int |
PossibleAccidentalBooleanAssignment
|
static int |
PotentialHeapPollutionFromVararg
|
static int |
PotentialNullLocalVariableReference
|
static int |
PublicClassMustMatchFileName
|
static int |
RawMemberTypeCannotBeParameterized
|
static int |
RawTypeReference
|
static int |
RecursiveConstructorInvocation
|
static int |
RedefinedArgument
|
static int |
RedefinedLocal
|
static int |
RedundantLocalVariableNullAssignment
|
static int |
RedundantNullCheckOnNonNullLocalVariable
|
static int |
RedundantNullCheckOnNullLocalVariable
|
static int |
RedundantSpecificationOfTypeArguments
|
static int |
RedundantSuperinterface
|
static int |
ReferenceToForwardField
|
static int |
ReferenceToForwardTypeVariable
|
static int |
ResourceHasToImplementAutoCloseable
|
static int |
ReturnTypeAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
ReturnTypeCannotBeVoidArray
已过时。 - problem is no longer generated, use CannotAllocateVoidArray instead |
static int |
ReturnTypeInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
ReturnTypeInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
ReturnTypeNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
ReturnTypeNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
SafeVarargsOnFixedArityMethod
|
static int |
SafeVarargsOnNonFinalInstanceMethod
|
static int |
ShouldImplementHashcode
|
static int |
ShouldReturnValue
|
static int |
StaticInheritedMethodConflicts
|
static int |
StaticMemberOfParameterizedType
|
static int |
StaticMethodRequested
|
static int |
StringConstantIsExceedingUtf8Limit
|
static int |
SuperclassAmbiguous
已过时。 - problem is no longer generated, use AmbiguousType instead |
static int |
SuperclassInheritedNameHidesEnclosingName
已过时。 - problem is no longer generated, use InheritedTypeHidesEnclosingName instead |
static int |
SuperclassInternalNameProvided
已过时。 - problem is no longer generated, use InternalTypeNameProvided instead |
static int |
SuperclassMustBeAClass
|
static int |
SuperclassNotFound
已过时。 - problem is no longer generated, use UndefinedType instead |
static int |
SuperclassNotVisible
已过时。 - problem is no longer generated, use NotVisibleType instead |
static int |
SuperfluousSemicolon
|
static int |
SuperInterfaceMustBeAnInterface
|
static int |
SuperInterfacesCollide
|
static int |
SuperTypeUsingWildcard
|
static int |
SwitchOnStringsNotBelow17
|
static int |
Syntax
|
static int |
Task
|
static int |
ThisInStaticContext
|
static int |
ThisSuperDuringConstructorInvocation
|
static int |
TooManyArgumentSlots
|
static int |
TooManyArrayDimensions
|
static int |
TooManyBytesForStringConstant
|
static int |
TooManyConstantsInConstantPool
|
static int |
TooManyFields
|
static int |
TooManyLocalVariableSlots
|
static int |
TooManyMethods
|
static int |
TooManyParametersForSyntheticMethod
|
static int |
TooManySyntheticArgumentSlots
|
static int |
TypeArgumentMismatch
|
static int |
TypeArgumentsForRawGenericConstructor
|
static int |
TypeArgumentsForRawGenericMethod
|
static int |
TypeCollidesWithPackage
|
static int |
TypeHidingType
|
static int |
TypeHidingTypeParameterFromMethod
|
static int |
TypeHidingTypeParameterFromType
|
static int |
TypeMismatch
|
static int |
TypeMissingDeprecatedAnnotation
|
static int |
TypeParameterHidingType
|
static int |
TypeRelated
Problem Categories
The high bits of a problem ID contains information about the category of a problem. |
static int |
UnboxingConversion
|
static int |
Unclassified
ID reserved for referencing an internal error inside the JavaCore implementation which
may be surfaced as a problem associated with the compilation unit which caused it to occur. |
static int |
UndefinedAnnotationMember
|
static int |
UndefinedConstructor
|
static int |
UndefinedConstructorInDefaultConstructor
|
static int |
UndefinedConstructorInImplicitConstructorCall
|
static int |
UndefinedField
|
static int |
UndefinedLabel
|
static int |
UndefinedMethod
|
static int |
UndefinedName
|
static int |
UndefinedType
|
static int |
UndefinedTypeVariable
|
static int |
UnderscoresInLiteralsNotBelow17
|
static int |
UndocumentedEmptyBlock
|
static int |
UnexpectedStaticModifierForField
|
static int |
UnexpectedStaticModifierForMethod
|
static int |
UnhandledException
|
static int |
UnhandledExceptionInDefaultConstructor
|
static int |
UnhandledExceptionInImplicitConstructorCall
|
static int |
UnhandledExceptionOnAutoClose
|
static int |
UnhandledWarningToken
|
static int |
UninitializedBlankFinalField
|
static int |
UninitializedLocalVariable
|
static int |
UnmatchedBracket
|
static int |
UnnecessaryArgumentCast
已过时。 - no longer generated, use UnnecessaryCast instead |
static int |
UnnecessaryCast
|
static int |
UnnecessaryElse
|
static int |
UnnecessaryInstanceof
|
static int |
UnnecessaryNLSTag
|
static int |
UnqualifiedFieldAccess
|
static int |
UnreachableCatch
|
static int |
UnresolvedVariable
|
static int |
UnsafeGenericArrayForVarargs
|
static int |
UnsafeGenericCast
|
static int |
UnsafeRawConstructorInvocation
|
static int |
UnsafeRawFieldAssignment
|
static int |
UnsafeRawGenericConstructorInvocation
|
static int |
UnsafeRawGenericMethodInvocation
|
static int |
UnsafeRawMethodInvocation
|
static int |
UnsafeReturnTypeOverride
|
static int |
UnsafeTypeConversion
|
static int |
UnterminatedComment
|
static int |
UnterminatedString
|
static int |
UnusedConstructorDeclaredThrownException
|
static int |
UnusedImport
|
static int |
UnusedLabel
|
static int |
UnusedMethodDeclaredThrownException
|
static int |
UnusedObjectAllocation
|
static int |
UnusedPrivateConstructor
|
static int |
UnusedPrivateField
|
static int |
UnusedPrivateMethod
|
static int |
UnusedPrivateType
|
static int |
UnusedTypeArgumentsForConstructorInvocation
|
static int |
UnusedTypeArgumentsForMethodInvocation
|
static int |
UnusedWarningToken
|
static int |
UseAssertAsAnIdentifier
|
static int |
UseEnumAsAnIdentifier
|
static int |
UsingDeprecatedConstructor
|
static int |
UsingDeprecatedField
|
static int |
UsingDeprecatedMethod
|
static int |
UsingDeprecatedType
|
static int |
VarargsConflict
|
static int |
VariableTypeCannotBeVoid
|
static int |
VariableTypeCannotBeVoidArray
已过时。 - problem is no longer generated, use CannotAllocateVoidArray instead |
static int |
VoidMethodReturnsValue
|
static int |
WildcardConstructorInvocation
|
static int |
WildcardFieldAssignment
|
static int |
WildcardMethodInvocation
|
|
方法摘要 |
String[] |
getArguments()
Answer back the original arguments recorded into the problem. |
int |
getID()
Returns the problem id |
String |
getMessage()
Answer a localized, human-readable message string which describes the problem. |
char[] |
getOriginatingFileName()
Answer the file name in which the problem was found. |
int |
getSourceEnd()
Answer the end position of the problem (inclusive), or -1 if unknown. |
int |
getSourceLineNumber()
Answer the line number in source where the problem begins. |
int |
getSourceStart()
Answer the start position of the problem (inclusive), or -1 if unknown. |
boolean |
isError()
Checks the severity to see if the Error bit is set. |
boolean |
isWarning()
Checks the severity to see if the Error bit is not set. |
void |
setSourceEnd(int sourceEnd)
Set the end position of the problem (inclusive), or -1 if unknown. |
void |
setSourceLineNumber(int lineNumber)
Set the line number in source where the problem begins. |
void |
setSourceStart(int sourceStart)
Set the start position of the problem (inclusive), or -1 if unknown. |
TypeRelated
static final int TypeRelated
- Problem Categories
The high bits of a problem ID contains information about the category of a problem.
For example, (problemID & TypeRelated) != 0, indicates that this problem is type related.
A problem category can help to implement custom problem filters. Indeed, when numerous problems
are listed, focusing on import related problems first might be relevant.
When a problem is tagged as Internal, it means that no change other than a local source code change
can fix the corresponding problem. A type related problem could be addressed by changing the type
involved in it.
- 另请参见:
- 常量字段值
FieldRelated
static final int FieldRelated
- 另请参见:
- 常量字段值
MethodRelated
static final int MethodRelated
- 另请参见:
- 常量字段值
ConstructorRelated
static final int ConstructorRelated
- 另请参见:
- 常量字段值
ImportRelated
static final int ImportRelated
- 另请参见:
- 常量字段值
Internal
static final int Internal
- 另请参见:
- 常量字段值
Syntax
static final int Syntax
- 另请参见:
- 常量字段值
Javadoc
static final int Javadoc
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
IgnoreCategoriesMask
static final int IgnoreCategoriesMask
- Mask to use in order to filter out the category portion of the problem ID.
- 另请参见:
- 常量字段值
Unclassified
static final int Unclassified
- ID reserved for referencing an internal error inside the JavaCore implementation which
may be surfaced as a problem associated with the compilation unit which caused it to occur.
- 另请参见:
- 常量字段值
ObjectHasNoSuperclass
static final int ObjectHasNoSuperclass
- General type related problems
- 另请参见:
- 常量字段值
UndefinedType
static final int UndefinedType
- 另请参见:
- 常量字段值
NotVisibleType
static final int NotVisibleType
- 另请参见:
- 常量字段值
AmbiguousType
static final int AmbiguousType
- 另请参见:
- 常量字段值
UsingDeprecatedType
static final int UsingDeprecatedType
- 另请参见:
- 常量字段值
InternalTypeNameProvided
static final int InternalTypeNameProvided
- 另请参见:
- 常量字段值
UnusedPrivateType
static final int UnusedPrivateType
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
IncompatibleTypesInEqualityOperator
static final int IncompatibleTypesInEqualityOperator
- 另请参见:
- 常量字段值
IncompatibleTypesInConditionalOperator
static final int IncompatibleTypesInConditionalOperator
- 另请参见:
- 常量字段值
TypeMismatch
static final int TypeMismatch
- 另请参见:
- 常量字段值
IndirectAccessToStaticType
static final int IndirectAccessToStaticType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
MissingEnclosingInstanceForConstructorCall
static final int MissingEnclosingInstanceForConstructorCall
- Inner types related problems
- 另请参见:
- 常量字段值
MissingEnclosingInstance
static final int MissingEnclosingInstance
- 另请参见:
- 常量字段值
IncorrectEnclosingInstanceReference
static final int IncorrectEnclosingInstanceReference
- 另请参见:
- 常量字段值
IllegalEnclosingInstanceSpecification
static final int IllegalEnclosingInstanceSpecification
- 另请参见:
- 常量字段值
CannotDefineStaticInitializerInLocalType
static final int CannotDefineStaticInitializerInLocalType
- 另请参见:
- 常量字段值
OuterLocalMustBeFinal
static final int OuterLocalMustBeFinal
- 另请参见:
- 常量字段值
CannotDefineInterfaceInLocalType
static final int CannotDefineInterfaceInLocalType
- 另请参见:
- 常量字段值
IllegalPrimitiveOrArrayTypeForEnclosingInstance
static final int IllegalPrimitiveOrArrayTypeForEnclosingInstance
- 另请参见:
- 常量字段值
EnclosingInstanceInConstructorCall
static final int EnclosingInstanceInConstructorCall
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
AnonymousClassCannotExtendFinalClass
static final int AnonymousClassCannotExtendFinalClass
- 另请参见:
- 常量字段值
CannotDefineAnnotationInLocalType
static final int CannotDefineAnnotationInLocalType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
CannotDefineEnumInLocalType
static final int CannotDefineEnumInLocalType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
NonStaticContextForEnumMemberType
static final int NonStaticContextForEnumMemberType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeHidingType
static final int TypeHidingType
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
UndefinedName
static final int UndefinedName
- 另请参见:
- 常量字段值
UninitializedLocalVariable
static final int UninitializedLocalVariable
- 另请参见:
- 常量字段值
VariableTypeCannotBeVoid
static final int VariableTypeCannotBeVoid
- 另请参见:
- 常量字段值
VariableTypeCannotBeVoidArray
static final int VariableTypeCannotBeVoidArray
- 已过时。 - problem is no longer generated, use
CannotAllocateVoidArray instead
- 另请参见:
- 常量字段值
CannotAllocateVoidArray
static final int CannotAllocateVoidArray
- 另请参见:
- 常量字段值
RedefinedLocal
static final int RedefinedLocal
- 另请参见:
- 常量字段值
RedefinedArgument
static final int RedefinedArgument
- 另请参见:
- 常量字段值
DuplicateFinalLocalInitialization
static final int DuplicateFinalLocalInitialization
- 另请参见:
- 常量字段值
NonBlankFinalLocalAssignment
static final int NonBlankFinalLocalAssignment
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
ParameterAssignment
static final int ParameterAssignment
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
FinalOuterLocalAssignment
static final int FinalOuterLocalAssignment
- 另请参见:
- 常量字段值
LocalVariableIsNeverUsed
static final int LocalVariableIsNeverUsed
- 另请参见:
- 常量字段值
ArgumentIsNeverUsed
static final int ArgumentIsNeverUsed
- 另请参见:
- 常量字段值
BytecodeExceeds64KLimit
static final int BytecodeExceeds64KLimit
- 另请参见:
- 常量字段值
BytecodeExceeds64KLimitForClinit
static final int BytecodeExceeds64KLimitForClinit
- 另请参见:
- 常量字段值
TooManyArgumentSlots
static final int TooManyArgumentSlots
- 另请参见:
- 常量字段值
TooManyLocalVariableSlots
static final int TooManyLocalVariableSlots
- 另请参见:
- 常量字段值
TooManySyntheticArgumentSlots
static final int TooManySyntheticArgumentSlots
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
TooManyArrayDimensions
static final int TooManyArrayDimensions
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
BytecodeExceeds64KLimitForConstructor
static final int BytecodeExceeds64KLimitForConstructor
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
UndefinedField
static final int UndefinedField
- 另请参见:
- 常量字段值
NotVisibleField
static final int NotVisibleField
- 另请参见:
- 常量字段值
AmbiguousField
static final int AmbiguousField
- 另请参见:
- 常量字段值
UsingDeprecatedField
static final int UsingDeprecatedField
- 另请参见:
- 常量字段值
NonStaticFieldFromStaticInvocation
static final int NonStaticFieldFromStaticInvocation
- 另请参见:
- 常量字段值
ReferenceToForwardField
static final int ReferenceToForwardField
- 另请参见:
- 常量字段值
NonStaticAccessToStaticField
static final int NonStaticAccessToStaticField
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
UnusedPrivateField
static final int UnusedPrivateField
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
IndirectAccessToStaticField
static final int IndirectAccessToStaticField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnqualifiedFieldAccess
static final int UnqualifiedFieldAccess
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
FinalFieldAssignment
static final int FinalFieldAssignment
- 另请参见:
- 常量字段值
UninitializedBlankFinalField
static final int UninitializedBlankFinalField
- 另请参见:
- 常量字段值
DuplicateBlankFinalFieldInitialization
static final int DuplicateBlankFinalFieldInitialization
- 另请参见:
- 常量字段值
UnresolvedVariable
static final int UnresolvedVariable
- 从以下版本开始:
- 3.6
- 另请参见:
- 常量字段值
LocalVariableHidingLocalVariable
static final int LocalVariableHidingLocalVariable
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
LocalVariableHidingField
static final int LocalVariableHidingField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
FieldHidingLocalVariable
static final int FieldHidingLocalVariable
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
FieldHidingField
static final int FieldHidingField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ArgumentHidingLocalVariable
static final int ArgumentHidingLocalVariable
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ArgumentHidingField
static final int ArgumentHidingField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
MissingSerialVersion
static final int MissingSerialVersion
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UndefinedMethod
static final int UndefinedMethod
- 另请参见:
- 常量字段值
NotVisibleMethod
static final int NotVisibleMethod
- 另请参见:
- 常量字段值
AmbiguousMethod
static final int AmbiguousMethod
- 另请参见:
- 常量字段值
UsingDeprecatedMethod
static final int UsingDeprecatedMethod
- 另请参见:
- 常量字段值
DirectInvocationOfAbstractMethod
static final int DirectInvocationOfAbstractMethod
- 另请参见:
- 常量字段值
VoidMethodReturnsValue
static final int VoidMethodReturnsValue
- 另请参见:
- 常量字段值
MethodReturnsVoid
static final int MethodReturnsVoid
- 另请参见:
- 常量字段值
MethodRequiresBody
static final int MethodRequiresBody
- 另请参见:
- 常量字段值
ShouldReturnValue
static final int ShouldReturnValue
- 另请参见:
- 常量字段值
MethodButWithConstructorName
static final int MethodButWithConstructorName
- 另请参见:
- 常量字段值
MissingReturnType
static final int MissingReturnType
- 另请参见:
- 常量字段值
BodyForNativeMethod
static final int BodyForNativeMethod
- 另请参见:
- 常量字段值
BodyForAbstractMethod
static final int BodyForAbstractMethod
- 另请参见:
- 常量字段值
NoMessageSendOnBaseType
static final int NoMessageSendOnBaseType
- 另请参见:
- 常量字段值
ParameterMismatch
static final int ParameterMismatch
- 另请参见:
- 常量字段值
NoMessageSendOnArrayType
static final int NoMessageSendOnArrayType
- 另请参见:
- 常量字段值
NonStaticAccessToStaticMethod
static final int NonStaticAccessToStaticMethod
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
UnusedPrivateMethod
static final int UnusedPrivateMethod
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
IndirectAccessToStaticMethod
static final int IndirectAccessToStaticMethod
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
MissingTypeInMethod
static final int MissingTypeInMethod
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
MethodCanBeStatic
static final int MethodCanBeStatic
- 从以下版本开始:
- 3.7
- 另请参见:
- 常量字段值
MethodCanBePotentiallyStatic
static final int MethodCanBePotentiallyStatic
- 从以下版本开始:
- 3.7
- 另请参见:
- 常量字段值
MissingTypeInConstructor
static final int MissingTypeInConstructor
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
UndefinedConstructor
static final int UndefinedConstructor
- 另请参见:
- 常量字段值
NotVisibleConstructor
static final int NotVisibleConstructor
- 另请参见:
- 常量字段值
AmbiguousConstructor
static final int AmbiguousConstructor
- 另请参见:
- 常量字段值
UsingDeprecatedConstructor
static final int UsingDeprecatedConstructor
- 另请参见:
- 常量字段值
UnusedPrivateConstructor
static final int UnusedPrivateConstructor
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
InstanceFieldDuringConstructorInvocation
static final int InstanceFieldDuringConstructorInvocation
- 另请参见:
- 常量字段值
InstanceMethodDuringConstructorInvocation
static final int InstanceMethodDuringConstructorInvocation
- 另请参见:
- 常量字段值
RecursiveConstructorInvocation
static final int RecursiveConstructorInvocation
- 另请参见:
- 常量字段值
ThisSuperDuringConstructorInvocation
static final int ThisSuperDuringConstructorInvocation
- 另请参见:
- 常量字段值
InvalidExplicitConstructorCall
static final int InvalidExplicitConstructorCall
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UndefinedConstructorInDefaultConstructor
static final int UndefinedConstructorInDefaultConstructor
- 另请参见:
- 常量字段值
NotVisibleConstructorInDefaultConstructor
static final int NotVisibleConstructorInDefaultConstructor
- 另请参见:
- 常量字段值
AmbiguousConstructorInDefaultConstructor
static final int AmbiguousConstructorInDefaultConstructor
- 另请参见:
- 常量字段值
UndefinedConstructorInImplicitConstructorCall
static final int UndefinedConstructorInImplicitConstructorCall
- 另请参见:
- 常量字段值
NotVisibleConstructorInImplicitConstructorCall
static final int NotVisibleConstructorInImplicitConstructorCall
- 另请参见:
- 常量字段值
AmbiguousConstructorInImplicitConstructorCall
static final int AmbiguousConstructorInImplicitConstructorCall
- 另请参见:
- 常量字段值
UnhandledExceptionInDefaultConstructor
static final int UnhandledExceptionInDefaultConstructor
- 另请参见:
- 常量字段值
UnhandledExceptionInImplicitConstructorCall
static final int UnhandledExceptionInImplicitConstructorCall
- 另请参见:
- 常量字段值
UnusedObjectAllocation
static final int UnusedObjectAllocation
- 从以下版本开始:
- 3.6
- 另请参见:
- 常量字段值
DeadCode
static final int DeadCode
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
ArrayReferenceRequired
static final int ArrayReferenceRequired
- 另请参见:
- 常量字段值
NoImplicitStringConversionForCharArrayExpression
static final int NoImplicitStringConversionForCharArrayExpression
- 另请参见:
- 常量字段值
StringConstantIsExceedingUtf8Limit
static final int StringConstantIsExceedingUtf8Limit
- 另请参见:
- 常量字段值
NonConstantExpression
static final int NonConstantExpression
- 另请参见:
- 常量字段值
NumericValueOutOfRange
static final int NumericValueOutOfRange
- 另请参见:
- 常量字段值
IllegalCast
static final int IllegalCast
- 另请参见:
- 常量字段值
InvalidClassInstantiation
static final int InvalidClassInstantiation
- 另请参见:
- 常量字段值
CannotDefineDimensionExpressionsWithInit
static final int CannotDefineDimensionExpressionsWithInit
- 另请参见:
- 常量字段值
MustDefineEitherDimensionExpressionsOrInitializer
static final int MustDefineEitherDimensionExpressionsOrInitializer
- 另请参见:
- 常量字段值
InvalidOperator
static final int InvalidOperator
- 另请参见:
- 常量字段值
CodeCannotBeReached
static final int CodeCannotBeReached
- 另请参见:
- 常量字段值
CannotReturnInInitializer
static final int CannotReturnInInitializer
- 另请参见:
- 常量字段值
InitializerMustCompleteNormally
static final int InitializerMustCompleteNormally
- 另请参见:
- 常量字段值
InvalidVoidExpression
static final int InvalidVoidExpression
- 另请参见:
- 常量字段值
MaskedCatch
static final int MaskedCatch
- 另请参见:
- 常量字段值
DuplicateDefaultCase
static final int DuplicateDefaultCase
- 另请参见:
- 常量字段值
UnreachableCatch
static final int UnreachableCatch
- 另请参见:
- 常量字段值
UnhandledException
static final int UnhandledException
- 另请参见:
- 常量字段值
IncorrectSwitchType
static final int IncorrectSwitchType
- 另请参见:
- 常量字段值
DuplicateCase
static final int DuplicateCase
- 另请参见:
- 常量字段值
DuplicateLabel
static final int DuplicateLabel
- 另请参见:
- 常量字段值
InvalidBreak
static final int InvalidBreak
- 另请参见:
- 常量字段值
InvalidContinue
static final int InvalidContinue
- 另请参见:
- 常量字段值
UndefinedLabel
static final int UndefinedLabel
- 另请参见:
- 常量字段值
InvalidTypeToSynchronized
static final int InvalidTypeToSynchronized
- 另请参见:
- 常量字段值
InvalidNullToSynchronized
static final int InvalidNullToSynchronized
- 另请参见:
- 常量字段值
CannotThrowNull
static final int CannotThrowNull
- 另请参见:
- 常量字段值
AssignmentHasNoEffect
static final int AssignmentHasNoEffect
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
PossibleAccidentalBooleanAssignment
static final int PossibleAccidentalBooleanAssignment
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
SuperfluousSemicolon
static final int SuperfluousSemicolon
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnnecessaryCast
static final int UnnecessaryCast
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnnecessaryArgumentCast
static final int UnnecessaryArgumentCast
- 已过时。 - no longer generated, use
UnnecessaryCast instead
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnnecessaryInstanceof
static final int UnnecessaryInstanceof
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
FinallyMustCompleteNormally
static final int FinallyMustCompleteNormally
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnusedMethodDeclaredThrownException
static final int UnusedMethodDeclaredThrownException
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnusedConstructorDeclaredThrownException
static final int UnusedConstructorDeclaredThrownException
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
InvalidCatchBlockSequence
static final int InvalidCatchBlockSequence
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
EmptyControlFlowStatement
static final int EmptyControlFlowStatement
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
UnnecessaryElse
static final int UnnecessaryElse
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
NeedToEmulateFieldReadAccess
static final int NeedToEmulateFieldReadAccess
- 另请参见:
- 常量字段值
NeedToEmulateFieldWriteAccess
static final int NeedToEmulateFieldWriteAccess
- 另请参见:
- 常量字段值
NeedToEmulateMethodAccess
static final int NeedToEmulateMethodAccess
- 另请参见:
- 常量字段值
NeedToEmulateConstructorAccess
static final int NeedToEmulateConstructorAccess
- 另请参见:
- 常量字段值
FallthroughCase
static final int FallthroughCase
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
InheritedMethodHidesEnclosingName
static final int InheritedMethodHidesEnclosingName
- 另请参见:
- 常量字段值
InheritedFieldHidesEnclosingName
static final int InheritedFieldHidesEnclosingName
- 另请参见:
- 常量字段值
InheritedTypeHidesEnclosingName
static final int InheritedTypeHidesEnclosingName
- 另请参见:
- 常量字段值
IllegalUsageOfQualifiedTypeReference
static final int IllegalUsageOfQualifiedTypeReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnusedLabel
static final int UnusedLabel
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
ThisInStaticContext
static final int ThisInStaticContext
- 另请参见:
- 常量字段值
StaticMethodRequested
static final int StaticMethodRequested
- 另请参见:
- 常量字段值
IllegalDimension
static final int IllegalDimension
- 另请参见:
- 常量字段值
InvalidTypeExpression
static final int InvalidTypeExpression
- 已过时。 - problem is no longer generated
- 另请参见:
- 常量字段值
ParsingError
static final int ParsingError
- 另请参见:
- 常量字段值
ParsingErrorNoSuggestion
static final int ParsingErrorNoSuggestion
- 另请参见:
- 常量字段值
InvalidUnaryExpression
static final int InvalidUnaryExpression
- 另请参见:
- 常量字段值
InterfaceCannotHaveConstructors
static final int InterfaceCannotHaveConstructors
- 另请参见:
- 常量字段值
ArrayConstantsOnlyInArrayInitializers
static final int ArrayConstantsOnlyInArrayInitializers
- 另请参见:
- 常量字段值
ParsingErrorOnKeyword
static final int ParsingErrorOnKeyword
- 另请参见:
- 常量字段值
ParsingErrorOnKeywordNoSuggestion
static final int ParsingErrorOnKeywordNoSuggestion
- 另请参见:
- 常量字段值
ComparingIdentical
static final int ComparingIdentical
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
UnmatchedBracket
static final int UnmatchedBracket
- 另请参见:
- 常量字段值
NoFieldOnBaseType
static final int NoFieldOnBaseType
- 另请参见:
- 常量字段值
InvalidExpressionAsStatement
static final int InvalidExpressionAsStatement
- 另请参见:
- 常量字段值
ExpressionShouldBeAVariable
static final int ExpressionShouldBeAVariable
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
MissingSemiColon
static final int MissingSemiColon
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
InvalidParenthesizedExpression
static final int InvalidParenthesizedExpression
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
ParsingErrorInsertTokenBefore
static final int ParsingErrorInsertTokenBefore
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorInsertTokenAfter
static final int ParsingErrorInsertTokenAfter
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorDeleteToken
static final int ParsingErrorDeleteToken
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorDeleteTokens
static final int ParsingErrorDeleteTokens
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorMergeTokens
static final int ParsingErrorMergeTokens
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorInvalidToken
static final int ParsingErrorInvalidToken
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorMisplacedConstruct
static final int ParsingErrorMisplacedConstruct
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorReplaceTokens
static final int ParsingErrorReplaceTokens
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorNoSuggestionForTokens
static final int ParsingErrorNoSuggestionForTokens
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorUnexpectedEOF
static final int ParsingErrorUnexpectedEOF
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorInsertToComplete
static final int ParsingErrorInsertToComplete
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorInsertToCompleteScope
static final int ParsingErrorInsertToCompleteScope
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
ParsingErrorInsertToCompletePhrase
static final int ParsingErrorInsertToCompletePhrase
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
EndOfSource
static final int EndOfSource
- 另请参见:
- 常量字段值
InvalidHexa
static final int InvalidHexa
- 另请参见:
- 常量字段值
InvalidOctal
static final int InvalidOctal
- 另请参见:
- 常量字段值
InvalidCharacterConstant
static final int InvalidCharacterConstant
- 另请参见:
- 常量字段值
InvalidEscape
static final int InvalidEscape
- 另请参见:
- 常量字段值
InvalidInput
static final int InvalidInput
- 另请参见:
- 常量字段值
InvalidUnicodeEscape
static final int InvalidUnicodeEscape
- 另请参见:
- 常量字段值
InvalidFloat
static final int InvalidFloat
- 另请参见:
- 常量字段值
NullSourceString
static final int NullSourceString
- 另请参见:
- 常量字段值
UnterminatedString
static final int UnterminatedString
- 另请参见:
- 常量字段值
UnterminatedComment
static final int UnterminatedComment
- 另请参见:
- 常量字段值
NonExternalizedStringLiteral
static final int NonExternalizedStringLiteral
- 另请参见:
- 常量字段值
InvalidDigit
static final int InvalidDigit
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidLowSurrogate
static final int InvalidLowSurrogate
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidHighSurrogate
static final int InvalidHighSurrogate
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnnecessaryNLSTag
static final int UnnecessaryNLSTag
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
InvalidBinary
static final int InvalidBinary
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
BinaryLiteralNotBelow17
static final int BinaryLiteralNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
IllegalUnderscorePosition
static final int IllegalUnderscorePosition
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
UnderscoresInLiteralsNotBelow17
static final int UnderscoresInLiteralsNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
IllegalHexaLiteral
static final int IllegalHexaLiteral
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
DiscouragedReference
static final int DiscouragedReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InterfaceCannotHaveInitializers
static final int InterfaceCannotHaveInitializers
- 另请参见:
- 常量字段值
DuplicateModifierForType
static final int DuplicateModifierForType
- 另请参见:
- 常量字段值
IllegalModifierForClass
static final int IllegalModifierForClass
- 另请参见:
- 常量字段值
IllegalModifierForInterface
static final int IllegalModifierForInterface
- 另请参见:
- 常量字段值
IllegalModifierForMemberClass
static final int IllegalModifierForMemberClass
- 另请参见:
- 常量字段值
IllegalModifierForMemberInterface
static final int IllegalModifierForMemberInterface
- 另请参见:
- 常量字段值
IllegalModifierForLocalClass
static final int IllegalModifierForLocalClass
- 另请参见:
- 常量字段值
ForbiddenReference
static final int ForbiddenReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierCombinationFinalAbstractForClass
static final int IllegalModifierCombinationFinalAbstractForClass
- 另请参见:
- 常量字段值
IllegalVisibilityModifierForInterfaceMemberType
static final int IllegalVisibilityModifierForInterfaceMemberType
- 另请参见:
- 常量字段值
IllegalVisibilityModifierCombinationForMemberType
static final int IllegalVisibilityModifierCombinationForMemberType
- 另请参见:
- 常量字段值
IllegalStaticModifierForMemberType
static final int IllegalStaticModifierForMemberType
- 另请参见:
- 常量字段值
SuperclassMustBeAClass
static final int SuperclassMustBeAClass
- 另请参见:
- 常量字段值
ClassExtendFinalClass
static final int ClassExtendFinalClass
- 另请参见:
- 常量字段值
DuplicateSuperInterface
static final int DuplicateSuperInterface
- 另请参见:
- 常量字段值
SuperInterfaceMustBeAnInterface
static final int SuperInterfaceMustBeAnInterface
- 另请参见:
- 常量字段值
HierarchyCircularitySelfReference
static final int HierarchyCircularitySelfReference
- 另请参见:
- 常量字段值
HierarchyCircularity
static final int HierarchyCircularity
- 另请参见:
- 常量字段值
HidingEnclosingType
static final int HidingEnclosingType
- 另请参见:
- 常量字段值
DuplicateNestedType
static final int DuplicateNestedType
- 另请参见:
- 常量字段值
CannotThrowType
static final int CannotThrowType
- 另请参见:
- 常量字段值
PackageCollidesWithType
static final int PackageCollidesWithType
- 另请参见:
- 常量字段值
TypeCollidesWithPackage
static final int TypeCollidesWithPackage
- 另请参见:
- 常量字段值
DuplicateTypes
static final int DuplicateTypes
- 另请参见:
- 常量字段值
IsClassPathCorrect
static final int IsClassPathCorrect
- 另请参见:
- 常量字段值
PublicClassMustMatchFileName
static final int PublicClassMustMatchFileName
- 另请参见:
- 常量字段值
MustSpecifyPackage
static final int MustSpecifyPackage
- 已过时。 - problem is no longer generated
- 另请参见:
- 常量字段值
HierarchyHasProblems
static final int HierarchyHasProblems
- 另请参见:
- 常量字段值
PackageIsNotExpectedPackage
static final int PackageIsNotExpectedPackage
- 另请参见:
- 常量字段值
ObjectCannotHaveSuperTypes
static final int ObjectCannotHaveSuperTypes
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
ObjectMustBeClass
static final int ObjectMustBeClass
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
RedundantSuperinterface
static final int RedundantSuperinterface
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
ShouldImplementHashcode
static final int ShouldImplementHashcode
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
AbstractMethodsInConcreteClass
static final int AbstractMethodsInConcreteClass
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
SuperclassNotFound
static final int SuperclassNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
SuperclassNotVisible
static final int SuperclassNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
SuperclassAmbiguous
static final int SuperclassAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
SuperclassInternalNameProvided
static final int SuperclassInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
SuperclassInheritedNameHidesEnclosingName
static final int SuperclassInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
InterfaceNotFound
static final int InterfaceNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
InterfaceNotVisible
static final int InterfaceNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
InterfaceAmbiguous
static final int InterfaceAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
InterfaceInternalNameProvided
static final int InterfaceInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
InterfaceInheritedNameHidesEnclosingName
static final int InterfaceInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
DuplicateField
static final int DuplicateField
- 另请参见:
- 常量字段值
DuplicateModifierForField
static final int DuplicateModifierForField
- 另请参见:
- 常量字段值
IllegalModifierForField
static final int IllegalModifierForField
- 另请参见:
- 常量字段值
IllegalModifierForInterfaceField
static final int IllegalModifierForInterfaceField
- 另请参见:
- 常量字段值
IllegalVisibilityModifierCombinationForField
static final int IllegalVisibilityModifierCombinationForField
- 另请参见:
- 常量字段值
IllegalModifierCombinationFinalVolatileForField
static final int IllegalModifierCombinationFinalVolatileForField
- 另请参见:
- 常量字段值
UnexpectedStaticModifierForField
static final int UnexpectedStaticModifierForField
- 另请参见:
- 常量字段值
FieldTypeNotFound
static final int FieldTypeNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
FieldTypeNotVisible
static final int FieldTypeNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
FieldTypeAmbiguous
static final int FieldTypeAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
FieldTypeInternalNameProvided
static final int FieldTypeInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
FieldTypeInheritedNameHidesEnclosingName
static final int FieldTypeInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
DuplicateMethod
static final int DuplicateMethod
- 另请参见:
- 常量字段值
IllegalModifierForArgument
static final int IllegalModifierForArgument
- 另请参见:
- 常量字段值
DuplicateModifierForMethod
static final int DuplicateModifierForMethod
- 另请参见:
- 常量字段值
IllegalModifierForMethod
static final int IllegalModifierForMethod
- 另请参见:
- 常量字段值
IllegalModifierForInterfaceMethod
static final int IllegalModifierForInterfaceMethod
- 另请参见:
- 常量字段值
IllegalVisibilityModifierCombinationForMethod
static final int IllegalVisibilityModifierCombinationForMethod
- 另请参见:
- 常量字段值
UnexpectedStaticModifierForMethod
static final int UnexpectedStaticModifierForMethod
- 另请参见:
- 常量字段值
IllegalAbstractModifierCombinationForMethod
static final int IllegalAbstractModifierCombinationForMethod
- 另请参见:
- 常量字段值
AbstractMethodInAbstractClass
static final int AbstractMethodInAbstractClass
- 另请参见:
- 常量字段值
ArgumentTypeCannotBeVoid
static final int ArgumentTypeCannotBeVoid
- 另请参见:
- 常量字段值
ArgumentTypeCannotBeVoidArray
static final int ArgumentTypeCannotBeVoidArray
- 已过时。 - problem is no longer generated, use
CannotAllocateVoidArray instead
- 另请参见:
- 常量字段值
ReturnTypeCannotBeVoidArray
static final int ReturnTypeCannotBeVoidArray
- 已过时。 - problem is no longer generated, use
CannotAllocateVoidArray instead
- 另请参见:
- 常量字段值
NativeMethodsCannotBeStrictfp
static final int NativeMethodsCannotBeStrictfp
- 另请参见:
- 常量字段值
DuplicateModifierForArgument
static final int DuplicateModifierForArgument
- 另请参见:
- 常量字段值
IllegalModifierForConstructor
static final int IllegalModifierForConstructor
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
ArgumentTypeNotFound
static final int ArgumentTypeNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
ArgumentTypeNotVisible
static final int ArgumentTypeNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
ArgumentTypeAmbiguous
static final int ArgumentTypeAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
ArgumentTypeInternalNameProvided
static final int ArgumentTypeInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
ArgumentTypeInheritedNameHidesEnclosingName
static final int ArgumentTypeInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
ExceptionTypeNotFound
static final int ExceptionTypeNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
ExceptionTypeNotVisible
static final int ExceptionTypeNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
ExceptionTypeAmbiguous
static final int ExceptionTypeAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
ExceptionTypeInternalNameProvided
static final int ExceptionTypeInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
ExceptionTypeInheritedNameHidesEnclosingName
static final int ExceptionTypeInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
ReturnTypeNotFound
static final int ReturnTypeNotFound
- 已过时。 - problem is no longer generated, use
UndefinedType instead
- 另请参见:
- 常量字段值
ReturnTypeNotVisible
static final int ReturnTypeNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
ReturnTypeAmbiguous
static final int ReturnTypeAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
ReturnTypeInternalNameProvided
static final int ReturnTypeInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
ReturnTypeInheritedNameHidesEnclosingName
static final int ReturnTypeInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
ConflictingImport
static final int ConflictingImport
- 另请参见:
- 常量字段值
DuplicateImport
static final int DuplicateImport
- 另请参见:
- 常量字段值
CannotImportPackage
static final int CannotImportPackage
- 另请参见:
- 常量字段值
UnusedImport
static final int UnusedImport
- 另请参见:
- 常量字段值
ImportNotFound
static final int ImportNotFound
- 另请参见:
- 常量字段值
ImportNotVisible
static final int ImportNotVisible
- 已过时。 - problem is no longer generated, use
NotVisibleType instead
- 另请参见:
- 常量字段值
ImportAmbiguous
static final int ImportAmbiguous
- 已过时。 - problem is no longer generated, use
AmbiguousType instead
- 另请参见:
- 常量字段值
ImportInternalNameProvided
static final int ImportInternalNameProvided
- 已过时。 - problem is no longer generated, use
InternalTypeNameProvided instead
- 另请参见:
- 常量字段值
ImportInheritedNameHidesEnclosingName
static final int ImportInheritedNameHidesEnclosingName
- 已过时。 - problem is no longer generated, use
InheritedTypeHidesEnclosingName instead
- 另请参见:
- 常量字段值
InvalidTypeForStaticImport
static final int InvalidTypeForStaticImport
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateModifierForVariable
static final int DuplicateModifierForVariable
- 另请参见:
- 常量字段值
IllegalModifierForVariable
static final int IllegalModifierForVariable
- 另请参见:
- 常量字段值
LocalVariableCannotBeNull
static final int LocalVariableCannotBeNull
- 已过时。 - problem is no longer generated, use
RedundantNullCheckOnNonNullLocalVariable instead
- 另请参见:
- 常量字段值
LocalVariableCanOnlyBeNull
static final int LocalVariableCanOnlyBeNull
- 已过时。 - problem is no longer generated, use
NullLocalVariableReference, RedundantNullCheckOnNullLocalVariable or RedundantLocalVariableNullAssignment instead
- 另请参见:
- 常量字段值
LocalVariableMayBeNull
static final int LocalVariableMayBeNull
- 已过时。 - problem is no longer generated, use
PotentialNullLocalVariableReference instead
- 另请参见:
- 常量字段值
AbstractMethodMustBeImplemented
static final int AbstractMethodMustBeImplemented
- 另请参见:
- 常量字段值
FinalMethodCannotBeOverridden
static final int FinalMethodCannotBeOverridden
- 另请参见:
- 常量字段值
IncompatibleExceptionInThrowsClause
static final int IncompatibleExceptionInThrowsClause
- 另请参见:
- 常量字段值
IncompatibleExceptionInInheritedMethodThrowsClause
static final int IncompatibleExceptionInInheritedMethodThrowsClause
- 另请参见:
- 常量字段值
IncompatibleReturnType
static final int IncompatibleReturnType
- 另请参见:
- 常量字段值
InheritedMethodReducesVisibility
static final int InheritedMethodReducesVisibility
- 另请参见:
- 常量字段值
CannotOverrideAStaticMethodWithAnInstanceMethod
static final int CannotOverrideAStaticMethodWithAnInstanceMethod
- 另请参见:
- 常量字段值
CannotHideAnInstanceMethodWithAStaticMethod
static final int CannotHideAnInstanceMethodWithAStaticMethod
- 另请参见:
- 常量字段值
StaticInheritedMethodConflicts
static final int StaticInheritedMethodConflicts
- 另请参见:
- 常量字段值
MethodReducesVisibility
static final int MethodReducesVisibility
- 另请参见:
- 常量字段值
OverridingNonVisibleMethod
static final int OverridingNonVisibleMethod
- 另请参见:
- 常量字段值
AbstractMethodCannotBeOverridden
static final int AbstractMethodCannotBeOverridden
- 另请参见:
- 常量字段值
OverridingDeprecatedMethod
static final int OverridingDeprecatedMethod
- 另请参见:
- 常量字段值
IncompatibleReturnTypeForNonInheritedInterfaceMethod
static final int IncompatibleReturnTypeForNonInheritedInterfaceMethod
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod
static final int IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
IllegalVararg
static final int IllegalVararg
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
OverridingMethodWithoutSuperInvocation
static final int OverridingMethodWithoutSuperInvocation
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
MissingSynchronizedModifierInInheritedMethod
static final int MissingSynchronizedModifierInInheritedMethod
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
AbstractMethodMustBeImplementedOverConcreteMethod
static final int AbstractMethodMustBeImplementedOverConcreteMethod
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
InheritedIncompatibleReturnType
static final int InheritedIncompatibleReturnType
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
CodeSnippetMissingClass
static final int CodeSnippetMissingClass
- 另请参见:
- 常量字段值
CodeSnippetMissingMethod
static final int CodeSnippetMissingMethod
- 另请参见:
- 常量字段值
CannotUseSuperInCodeSnippet
static final int CannotUseSuperInCodeSnippet
- 另请参见:
- 常量字段值
TooManyConstantsInConstantPool
static final int TooManyConstantsInConstantPool
- 另请参见:
- 常量字段值
TooManyBytesForStringConstant
static final int TooManyBytesForStringConstant
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
TooManyFields
static final int TooManyFields
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
TooManyMethods
static final int TooManyMethods
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
TooManyParametersForSyntheticMethod
static final int TooManyParametersForSyntheticMethod
- 从以下版本开始:
- 3.7
- 另请参见:
- 常量字段值
UseAssertAsAnIdentifier
static final int UseAssertAsAnIdentifier
- 另请参见:
- 常量字段值
UseEnumAsAnIdentifier
static final int UseEnumAsAnIdentifier
- 另请参见:
- 常量字段值
EnumConstantsCannotBeSurroundedByParenthesis
static final int EnumConstantsCannotBeSurroundedByParenthesis
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
Task
static final int Task
- 从以下版本开始:
- 2.1
- 另请参见:
- 常量字段值
NullLocalVariableReference
static final int NullLocalVariableReference
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
PotentialNullLocalVariableReference
static final int PotentialNullLocalVariableReference
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
RedundantNullCheckOnNullLocalVariable
static final int RedundantNullCheckOnNullLocalVariable
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
NullLocalVariableComparisonYieldsFalse
static final int NullLocalVariableComparisonYieldsFalse
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
RedundantLocalVariableNullAssignment
static final int RedundantLocalVariableNullAssignment
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
NullLocalVariableInstanceofYieldsFalse
static final int NullLocalVariableInstanceofYieldsFalse
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
RedundantNullCheckOnNonNullLocalVariable
static final int RedundantNullCheckOnNonNullLocalVariable
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
NonNullLocalVariableComparisonYieldsFalse
static final int NonNullLocalVariableComparisonYieldsFalse
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
UndocumentedEmptyBlock
static final int UndocumentedEmptyBlock
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidSeeUrlReference
static final int JavadocInvalidSeeUrlReference
- Problem signaled on an invalid URL reference.
Valid syntax example: @see "http://www.eclipse.org/"
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
JavadocMissingTagDescription
static final int JavadocMissingTagDescription
- Problem warned on missing tag description.
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
JavadocDuplicateTag
static final int JavadocDuplicateTag
- Problem warned on duplicated tag.
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
JavadocHiddenReference
static final int JavadocHiddenReference
- Problem signaled on an hidden reference due to a too low visibility level.
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
JavadocInvalidMemberTypeQualification
static final int JavadocInvalidMemberTypeQualification
- Problem signaled on an invalid qualification for member type reference.
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
JavadocMissingIdentifier
static final int JavadocMissingIdentifier
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
JavadocNonStaticTypeFromStaticInvocation
static final int JavadocNonStaticTypeFromStaticInvocation
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
JavadocInvalidParamTagTypeParameter
static final int JavadocInvalidParamTagTypeParameter
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocUnexpectedTag
static final int JavadocUnexpectedTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingParamTag
static final int JavadocMissingParamTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingParamName
static final int JavadocMissingParamName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocDuplicateParamName
static final int JavadocDuplicateParamName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidParamName
static final int JavadocInvalidParamName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingReturnTag
static final int JavadocMissingReturnTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocDuplicateReturnTag
static final int JavadocDuplicateReturnTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingThrowsTag
static final int JavadocMissingThrowsTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingThrowsClassName
static final int JavadocMissingThrowsClassName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidThrowsClass
static final int JavadocInvalidThrowsClass
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocDuplicateThrowsClassName
static final int JavadocDuplicateThrowsClassName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidThrowsClassName
static final int JavadocInvalidThrowsClassName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingSeeReference
static final int JavadocMissingSeeReference
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidSeeReference
static final int JavadocInvalidSeeReference
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidSeeHref
static final int JavadocInvalidSeeHref
- Problem signaled on an invalid URL reference that does not conform to the href syntax.
Valid syntax example: @see Eclipse Home Page
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidSeeArgs
static final int JavadocInvalidSeeArgs
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissing
static final int JavadocMissing
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInvalidTag
static final int JavadocInvalidTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUndefinedField
static final int JavadocUndefinedField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNotVisibleField
static final int JavadocNotVisibleField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocAmbiguousField
static final int JavadocAmbiguousField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUsingDeprecatedField
static final int JavadocUsingDeprecatedField
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUndefinedConstructor
static final int JavadocUndefinedConstructor
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNotVisibleConstructor
static final int JavadocNotVisibleConstructor
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocAmbiguousConstructor
static final int JavadocAmbiguousConstructor
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUsingDeprecatedConstructor
static final int JavadocUsingDeprecatedConstructor
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUndefinedMethod
static final int JavadocUndefinedMethod
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNotVisibleMethod
static final int JavadocNotVisibleMethod
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocAmbiguousMethod
static final int JavadocAmbiguousMethod
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUsingDeprecatedMethod
static final int JavadocUsingDeprecatedMethod
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNoMessageSendOnBaseType
static final int JavadocNoMessageSendOnBaseType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocParameterMismatch
static final int JavadocParameterMismatch
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNoMessageSendOnArrayType
static final int JavadocNoMessageSendOnArrayType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUndefinedType
static final int JavadocUndefinedType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocNotVisibleType
static final int JavadocNotVisibleType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocAmbiguousType
static final int JavadocAmbiguousType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUsingDeprecatedType
static final int JavadocUsingDeprecatedType
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInternalTypeNameProvided
static final int JavadocInternalTypeNameProvided
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInheritedMethodHidesEnclosingName
static final int JavadocInheritedMethodHidesEnclosingName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInheritedFieldHidesEnclosingName
static final int JavadocInheritedFieldHidesEnclosingName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocInheritedNameHidesEnclosingTypeName
static final int JavadocInheritedNameHidesEnclosingTypeName
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocAmbiguousMethodReference
static final int JavadocAmbiguousMethodReference
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocUnterminatedInlineTag
static final int JavadocUnterminatedInlineTag
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMalformedSeeReference
static final int JavadocMalformedSeeReference
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMessagePrefix
static final int JavadocMessagePrefix
- 从以下版本开始:
- 3.0
- 另请参见:
- 常量字段值
JavadocMissingHashCharacter
static final int JavadocMissingHashCharacter
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocEmptyReturnTag
static final int JavadocEmptyReturnTag
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocInvalidValueReference
static final int JavadocInvalidValueReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocUnexpectedText
static final int JavadocUnexpectedText
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocInvalidParamTagName
static final int JavadocInvalidParamTagName
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateTypeVariable
static final int DuplicateTypeVariable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalTypeVariableSuperReference
static final int IllegalTypeVariableSuperReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
NonStaticTypeFromStaticInvocation
static final int NonStaticTypeFromStaticInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
ObjectCannotBeGeneric
static final int ObjectCannotBeGeneric
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
NonGenericType
static final int NonGenericType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IncorrectArityForParameterizedType
static final int IncorrectArityForParameterizedType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeArgumentMismatch
static final int TypeArgumentMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateMethodErasure
static final int DuplicateMethodErasure
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
ReferenceToForwardTypeVariable
static final int ReferenceToForwardTypeVariable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
BoundMustBeAnInterface
static final int BoundMustBeAnInterface
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeRawConstructorInvocation
static final int UnsafeRawConstructorInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeRawMethodInvocation
static final int UnsafeRawMethodInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeTypeConversion
static final int UnsafeTypeConversion
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidTypeVariableExceptionType
static final int InvalidTypeVariableExceptionType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidParameterizedExceptionType
static final int InvalidParameterizedExceptionType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalGenericArray
static final int IllegalGenericArray
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeRawFieldAssignment
static final int UnsafeRawFieldAssignment
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
FinalBoundForTypeVariable
static final int FinalBoundForTypeVariable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UndefinedTypeVariable
static final int UndefinedTypeVariable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
SuperInterfacesCollide
static final int SuperInterfacesCollide
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
WildcardConstructorInvocation
static final int WildcardConstructorInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
WildcardMethodInvocation
static final int WildcardMethodInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
WildcardFieldAssignment
static final int WildcardFieldAssignment
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
GenericMethodTypeArgumentMismatch
static final int GenericMethodTypeArgumentMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
GenericConstructorTypeArgumentMismatch
static final int GenericConstructorTypeArgumentMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeGenericCast
static final int UnsafeGenericCast
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalInstanceofParameterizedType
static final int IllegalInstanceofParameterizedType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalInstanceofTypeParameter
static final int IllegalInstanceofTypeParameter
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
NonGenericMethod
static final int NonGenericMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IncorrectArityForParameterizedMethod
static final int IncorrectArityForParameterizedMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
ParameterizedMethodArgumentTypeMismatch
static final int ParameterizedMethodArgumentTypeMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
NonGenericConstructor
static final int NonGenericConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IncorrectArityForParameterizedConstructor
static final int IncorrectArityForParameterizedConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
ParameterizedConstructorArgumentTypeMismatch
static final int ParameterizedConstructorArgumentTypeMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeArgumentsForRawGenericMethod
static final int TypeArgumentsForRawGenericMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeArgumentsForRawGenericConstructor
static final int TypeArgumentsForRawGenericConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
SuperTypeUsingWildcard
static final int SuperTypeUsingWildcard
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
GenericTypeCannotExtendThrowable
static final int GenericTypeCannotExtendThrowable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalClassLiteralForTypeVariable
static final int IllegalClassLiteralForTypeVariable
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeReturnTypeOverride
static final int UnsafeReturnTypeOverride
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MethodNameClash
static final int MethodNameClash
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
RawMemberTypeCannotBeParameterized
static final int RawMemberTypeCannotBeParameterized
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MissingArgumentsForParameterizedMemberType
static final int MissingArgumentsForParameterizedMemberType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
StaticMemberOfParameterizedType
static final int StaticMemberOfParameterizedType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
BoundHasConflictingArguments
static final int BoundHasConflictingArguments
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateParameterizedMethods
static final int DuplicateParameterizedMethods
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalQualifiedParameterizedTypeAllocation
static final int IllegalQualifiedParameterizedTypeAllocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateBounds
static final int DuplicateBounds
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
BoundCannotBeArray
static final int BoundCannotBeArray
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeRawGenericConstructorInvocation
static final int UnsafeRawGenericConstructorInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnsafeRawGenericMethodInvocation
static final int UnsafeRawGenericMethodInvocation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeParameterHidingType
static final int TypeParameterHidingType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
RawTypeReference
static final int RawTypeReference
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
NoAdditionalBoundAfterTypeVariable
static final int NoAdditionalBoundAfterTypeVariable
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
UnsafeGenericArrayForVarargs
static final int UnsafeGenericArrayForVarargs
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
IllegalAccessFromTypeVariable
static final int IllegalAccessFromTypeVariable
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
TypeHidingTypeParameterFromType
static final int TypeHidingTypeParameterFromType
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
TypeHidingTypeParameterFromMethod
static final int TypeHidingTypeParameterFromMethod
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
InvalidUsageOfWildcard
static final int InvalidUsageOfWildcard
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
UnusedTypeArgumentsForMethodInvocation
static final int UnusedTypeArgumentsForMethodInvocation
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
IncompatibleTypesInForeach
static final int IncompatibleTypesInForeach
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidTypeForCollection
static final int InvalidTypeForCollection
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidTypeForCollectionTarget14
static final int InvalidTypeForCollectionTarget14
- 从以下版本开始:
- 3.6
- 另请参见:
- 常量字段值
DuplicateInheritedMethods
static final int DuplicateInheritedMethods
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
InvalidUsageOfTypeParameters
static final int InvalidUsageOfTypeParameters
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfStaticImports
static final int InvalidUsageOfStaticImports
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfForeachStatements
static final int InvalidUsageOfForeachStatements
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfTypeArguments
static final int InvalidUsageOfTypeArguments
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfEnumDeclarations
static final int InvalidUsageOfEnumDeclarations
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfVarargs
static final int InvalidUsageOfVarargs
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfAnnotations
static final int InvalidUsageOfAnnotations
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfAnnotationDeclarations
static final int InvalidUsageOfAnnotationDeclarations
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidUsageOfTypeParametersForAnnotationDeclaration
static final int InvalidUsageOfTypeParametersForAnnotationDeclaration
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
InvalidUsageOfTypeParametersForEnumDeclaration
static final int InvalidUsageOfTypeParametersForEnumDeclaration
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
IllegalModifierForAnnotationMethod
static final int IllegalModifierForAnnotationMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalExtendedDimensions
static final int IllegalExtendedDimensions
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidFileNameForPackageAnnotations
static final int InvalidFileNameForPackageAnnotations
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForAnnotationType
static final int IllegalModifierForAnnotationType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForAnnotationMemberType
static final int IllegalModifierForAnnotationMemberType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidAnnotationMemberType
static final int InvalidAnnotationMemberType
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationCircularitySelfReference
static final int AnnotationCircularitySelfReference
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationCircularity
static final int AnnotationCircularity
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateAnnotation
static final int DuplicateAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MissingValueForAnnotationMember
static final int MissingValueForAnnotationMember
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateAnnotationMember
static final int DuplicateAnnotationMember
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UndefinedAnnotationMember
static final int UndefinedAnnotationMember
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationValueMustBeClassLiteral
static final int AnnotationValueMustBeClassLiteral
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationValueMustBeConstant
static final int AnnotationValueMustBeConstant
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationFieldNeedConstantInitialization
static final int AnnotationFieldNeedConstantInitialization
- 已过时。 - problem is no longer generated (code is legite)
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForAnnotationField
static final int IllegalModifierForAnnotationField
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationCannotOverrideMethod
static final int AnnotationCannotOverrideMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationMembersCannotHaveParameters
static final int AnnotationMembersCannotHaveParameters
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationMembersCannotHaveTypeParameters
static final int AnnotationMembersCannotHaveTypeParameters
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationTypeDeclarationCannotHaveSuperclass
static final int AnnotationTypeDeclarationCannotHaveSuperclass
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationTypeDeclarationCannotHaveSuperinterfaces
static final int AnnotationTypeDeclarationCannotHaveSuperinterfaces
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DuplicateTargetInTargetAnnotation
static final int DuplicateTargetInTargetAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
DisallowedTargetForAnnotation
static final int DisallowedTargetForAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MethodMustOverride
static final int MethodMustOverride
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationTypeDeclarationCannotHaveConstructor
static final int AnnotationTypeDeclarationCannotHaveConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationValueMustBeAnnotation
static final int AnnotationValueMustBeAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationTypeUsedAsSuperInterface
static final int AnnotationTypeUsedAsSuperInterface
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MissingOverrideAnnotation
static final int MissingOverrideAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
FieldMissingDeprecatedAnnotation
static final int FieldMissingDeprecatedAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MethodMissingDeprecatedAnnotation
static final int MethodMissingDeprecatedAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
TypeMissingDeprecatedAnnotation
static final int TypeMissingDeprecatedAnnotation
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnhandledWarningToken
static final int UnhandledWarningToken
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AnnotationValueMustBeArrayInitializer
static final int AnnotationValueMustBeArrayInitializer
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
AnnotationValueMustBeAnEnumConstant
static final int AnnotationValueMustBeAnEnumConstant
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
MethodMustOverrideOrImplement
static final int MethodMustOverrideOrImplement
- 从以下版本开始:
- 3.3
- 另请参见:
- 常量字段值
UnusedWarningToken
static final int UnusedWarningToken
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
MissingOverrideAnnotationForInterfaceMethodImplementation
static final int MissingOverrideAnnotationForInterfaceMethodImplementation
- 从以下版本开始:
- 3.6
- 另请参见:
- 常量字段值
UnusedTypeArgumentsForConstructorInvocation
static final int UnusedTypeArgumentsForConstructorInvocation
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
CorruptedSignature
static final int CorruptedSignature
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
InvalidEncoding
static final int InvalidEncoding
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
CannotReadSource
static final int CannotReadSource
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
BoxingConversion
static final int BoxingConversion
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
UnboxingConversion
static final int UnboxingConversion
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForEnum
static final int IllegalModifierForEnum
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForEnumConstant
static final int IllegalModifierForEnumConstant
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForLocalEnum
static final int IllegalModifierForLocalEnum
- 已过时。 - problem could not be reported, enums cannot be local takes precedence
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForMemberEnum
static final int IllegalModifierForMemberEnum
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
CannotDeclareEnumSpecialMethod
static final int CannotDeclareEnumSpecialMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalQualifiedEnumConstantLabel
static final int IllegalQualifiedEnumConstantLabel
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
CannotExtendEnum
static final int CannotExtendEnum
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
CannotInvokeSuperConstructorInEnum
static final int CannotInvokeSuperConstructorInEnum
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
EnumAbstractMethodMustBeImplemented
static final int EnumAbstractMethodMustBeImplemented
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
EnumSwitchCannotTargetField
static final int EnumSwitchCannotTargetField
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
IllegalModifierForEnumConstructor
static final int IllegalModifierForEnumConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MissingEnumConstantCase
static final int MissingEnumConstantCase
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
EnumStaticFieldInInInitializerContext
static final int EnumStaticFieldInInInitializerContext
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
EnumConstantMustImplementAbstractMethod
static final int EnumConstantMustImplementAbstractMethod
- 从以下版本开始:
- 3.4
- 另请参见:
- 常量字段值
EnumConstantCannotDefineAbstractMethod
static final int EnumConstantCannotDefineAbstractMethod
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
AbstractMethodInEnum
static final int AbstractMethodInEnum
- 从以下版本开始:
- 3.5
- 另请参见:
- 常量字段值
IllegalExtendedDimensionsForVarArgs
static final int IllegalExtendedDimensionsForVarArgs
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
MethodVarargsArgumentNeedCast
static final int MethodVarargsArgumentNeedCast
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
ConstructorVarargsArgumentNeedCast
static final int ConstructorVarargsArgumentNeedCast
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
VarargsConflict
static final int VarargsConflict
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
SafeVarargsOnFixedArityMethod
static final int SafeVarargsOnFixedArityMethod
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
SafeVarargsOnNonFinalInstanceMethod
static final int SafeVarargsOnNonFinalInstanceMethod
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
PotentialHeapPollutionFromVararg
static final int PotentialHeapPollutionFromVararg
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
JavadocGenericMethodTypeArgumentMismatch
static final int JavadocGenericMethodTypeArgumentMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocNonGenericMethod
static final int JavadocNonGenericMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocIncorrectArityForParameterizedMethod
static final int JavadocIncorrectArityForParameterizedMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocParameterizedMethodArgumentTypeMismatch
static final int JavadocParameterizedMethodArgumentTypeMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocTypeArgumentsForRawGenericMethod
static final int JavadocTypeArgumentsForRawGenericMethod
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocGenericConstructorTypeArgumentMismatch
static final int JavadocGenericConstructorTypeArgumentMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocNonGenericConstructor
static final int JavadocNonGenericConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocIncorrectArityForParameterizedConstructor
static final int JavadocIncorrectArityForParameterizedConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocParameterizedConstructorArgumentTypeMismatch
static final int JavadocParameterizedConstructorArgumentTypeMismatch
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
JavadocTypeArgumentsForRawGenericConstructor
static final int JavadocTypeArgumentsForRawGenericConstructor
- 从以下版本开始:
- 3.1
- 另请参见:
- 常量字段值
AssignmentToMultiCatchParameter
static final int AssignmentToMultiCatchParameter
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
ResourceHasToImplementAutoCloseable
static final int ResourceHasToImplementAutoCloseable
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
AssignmentToResource
static final int AssignmentToResource
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
InvalidUnionTypeReferenceSequence
static final int InvalidUnionTypeReferenceSequence
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
AutoManagedResourceNotBelow17
static final int AutoManagedResourceNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
MultiCatchNotBelow17
static final int MultiCatchNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
PolymorphicMethodNotBelow17
static final int PolymorphicMethodNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
IncorrectSwitchType17
static final int IncorrectSwitchType17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
CannotInferElidedTypes
static final int CannotInferElidedTypes
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
CannotUseDiamondWithExplicitTypeArguments
static final int CannotUseDiamondWithExplicitTypeArguments
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
CannotUseDiamondWithAnonymousClasses
static final int CannotUseDiamondWithAnonymousClasses
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
SwitchOnStringsNotBelow17
static final int SwitchOnStringsNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
UnhandledExceptionOnAutoClose
static final int UnhandledExceptionOnAutoClose
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
DiamondNotBelow17
static final int DiamondNotBelow17
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
RedundantSpecificationOfTypeArguments
static final int RedundantSpecificationOfTypeArguments
- 从以下版本开始:
- 3.7.1
- 另请参见:
- 常量字段值
ExternalProblemNotFixable
static final int ExternalProblemNotFixable
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
ExternalProblemFixable
static final int ExternalProblemFixable
- 从以下版本开始:
- 3.2
- 另请参见:
- 常量字段值
getArguments
String[] getArguments()
- Answer back the original arguments recorded into the problem.
- 返回:
- the original arguments recorded into the problem
getID
int getID()
- Returns the problem id
- 返回:
- the problem id
getMessage
String getMessage()
- Answer a localized, human-readable message string which describes the problem.
- 返回:
- a localized, human-readable message string which describes the problem
getOriginatingFileName
char[] getOriginatingFileName()
- Answer the file name in which the problem was found.
- 返回:
- the file name in which the problem was found
getSourceEnd
int getSourceEnd()
- Answer the end position of the problem (inclusive), or -1 if unknown.
- 返回:
- the end position of the problem (inclusive), or -1 if unknown
getSourceLineNumber
int getSourceLineNumber()
- Answer the line number in source where the problem begins.
- 返回:
- the line number in source where the problem begins
getSourceStart
int getSourceStart()
- Answer the start position of the problem (inclusive), or -1 if unknown.
- 返回:
- the start position of the problem (inclusive), or -1 if unknown
isError
boolean isError()
- Checks the severity to see if the Error bit is set.
- 返回:
- true if the Error bit is set for the severity, false otherwise
isWarning
boolean isWarning()
- Checks the severity to see if the Error bit is not set.
- 返回:
- true if the Error bit is not set for the severity, false otherwise
setSourceEnd
void setSourceEnd(int sourceEnd)
- Set the end position of the problem (inclusive), or -1 if unknown.
Used for shifting problem positions.
- 参数:
sourceEnd - the given end position
setSourceLineNumber
void setSourceLineNumber(int lineNumber)
- Set the line number in source where the problem begins.
- 参数:
lineNumber - the given line number
setSourceStart
void setSourceStart(int sourceStart)
- Set the start position of the problem (inclusive), or -1 if unknown.
Used for shifting problem positions.
- 参数:
sourceStart - the given start position
Copyright © 2013. All Rights Reserved.