1 112 package org.eclipse.jdt.core.compiler; 113 114 import org.eclipse.jdt.internal.compiler.lookup.ProblemReasons; 115 116 134 public interface IProblem { 135 136 140 String [] getArguments(); 141 142 147 int getID(); 148 149 154 String getMessage(); 155 156 161 char[] getOriginatingFileName(); 162 163 168 int getSourceEnd(); 169 170 175 int getSourceLineNumber(); 176 177 182 int getSourceStart(); 183 184 189 boolean isError(); 190 191 196 boolean isWarning(); 197 198 204 void setSourceEnd(int sourceEnd); 205 206 211 void setSourceLineNumber(int lineNumber); 212 213 219 void setSourceStart(int sourceStart); 220 221 222 234 int TypeRelated = 0x01000000; 235 int FieldRelated = 0x02000000; 236 int MethodRelated = 0x04000000; 237 int ConstructorRelated = 0x08000000; 238 int ImportRelated = 0x10000000; 239 int Internal = 0x20000000; 240 int Syntax = 0x40000000; 241 242 int Javadoc = 0x80000000; 243 244 247 int IgnoreCategoriesMask = 0xFFFFFF; 248 249 253 254 258 int Unclassified = 0; 259 260 263 int ObjectHasNoSuperclass = TypeRelated + 1; 264 int UndefinedType = TypeRelated + 2; 265 int NotVisibleType = TypeRelated + 3; 266 int AmbiguousType = TypeRelated + 4; 267 int UsingDeprecatedType = TypeRelated + 5; 268 int InternalTypeNameProvided = TypeRelated + 6; 269 270 int UnusedPrivateType = Internal + TypeRelated + 7; 271 272 int IncompatibleTypesInEqualityOperator = TypeRelated + 15; 273 int IncompatibleTypesInConditionalOperator = TypeRelated + 16; 274 int TypeMismatch = TypeRelated + 17; 275 276 int IndirectAccessToStaticType = Internal + TypeRelated + 18; 277 278 281 int MissingEnclosingInstanceForConstructorCall = TypeRelated + 20; 282 int MissingEnclosingInstance = TypeRelated + 21; 283 int IncorrectEnclosingInstanceReference = TypeRelated + 22; 284 int IllegalEnclosingInstanceSpecification = TypeRelated + 23; 285 int CannotDefineStaticInitializerInLocalType = Internal + 24; 286 int OuterLocalMustBeFinal = Internal + 25; 287 int CannotDefineInterfaceInLocalType = Internal + 26; 288 int IllegalPrimitiveOrArrayTypeForEnclosingInstance = TypeRelated + 27; 289 290 int EnclosingInstanceInConstructorCall = Internal + 28; 291 int AnonymousClassCannotExtendFinalClass = TypeRelated + 29; 292 293 int CannotDefineAnnotationInLocalType = Internal + 30; 294 295 int CannotDefineEnumInLocalType = Internal + 31; 296 297 int NonStaticContextForEnumMemberType = Internal + 32; 298 299 int TypeHidingType = TypeRelated + 33; 300 301 int UndefinedName = Internal + FieldRelated + 50; 303 int UninitializedLocalVariable = Internal + 51; 304 int VariableTypeCannotBeVoid = Internal + 52; 305 306 int VariableTypeCannotBeVoidArray = Internal + 53; 307 int CannotAllocateVoidArray = Internal + 54; 308 int RedefinedLocal = Internal + 55; 310 int RedefinedArgument = Internal + 56; 311 int DuplicateFinalLocalInitialization = Internal + 57; 313 314 int NonBlankFinalLocalAssignment = Internal + 58; 315 316 int ParameterAssignment = Internal + 59; 317 int FinalOuterLocalAssignment = Internal + 60; 318 int LocalVariableIsNeverUsed = Internal + 61; 319 int ArgumentIsNeverUsed = Internal + 62; 320 int BytecodeExceeds64KLimit = Internal + 63; 321 int BytecodeExceeds64KLimitForClinit = Internal + 64; 322 int TooManyArgumentSlots = Internal + 65; 323 int TooManyLocalVariableSlots = Internal + 66; 324 325 int TooManySyntheticArgumentSlots = Internal + 67; 326 327 int TooManyArrayDimensions = Internal + 68; 328 329 int BytecodeExceeds64KLimitForConstructor = Internal + 69; 330 331 int UndefinedField = FieldRelated + 70; 333 int NotVisibleField = FieldRelated + 71; 334 int AmbiguousField = FieldRelated + 72; 335 int UsingDeprecatedField = FieldRelated + 73; 336 int NonStaticFieldFromStaticInvocation = FieldRelated + 74; 337 int ReferenceToForwardField = FieldRelated + Internal + 75; 338 339 int NonStaticAccessToStaticField = Internal + FieldRelated + 76; 340 341 int UnusedPrivateField = Internal + FieldRelated + 77; 342 343 int IndirectAccessToStaticField = Internal + FieldRelated + 78; 344 345 int UnqualifiedFieldAccess = Internal + FieldRelated + 79; 346 347 int FinalFieldAssignment = FieldRelated + 80; 349 int UninitializedBlankFinalField = FieldRelated + 81; 350 int DuplicateBlankFinalFieldInitialization = FieldRelated + 82; 351 352 354 int LocalVariableHidingLocalVariable = Internal + 90; 355 356 int LocalVariableHidingField = Internal + FieldRelated + 91; 357 358 int FieldHidingLocalVariable = Internal + FieldRelated + 92; 359 360 int FieldHidingField = Internal + FieldRelated + 93; 361 362 int ArgumentHidingLocalVariable = Internal + 94; 363 364 int ArgumentHidingField = Internal + 95; 365 366 int MissingSerialVersion = Internal + 96; 367 368 int UndefinedMethod = MethodRelated + 100; 370 int NotVisibleMethod = MethodRelated + 101; 371 int AmbiguousMethod = MethodRelated + 102; 372 int UsingDeprecatedMethod = MethodRelated + 103; 373 int DirectInvocationOfAbstractMethod = MethodRelated + 104; 374 int VoidMethodReturnsValue = MethodRelated + 105; 375 int MethodReturnsVoid = MethodRelated + 106; 376 int MethodRequiresBody = Internal + MethodRelated + 107; 377 int ShouldReturnValue = Internal + MethodRelated + 108; 378 int MethodButWithConstructorName = MethodRelated + 110; 379 int MissingReturnType = TypeRelated + 111; 380 int BodyForNativeMethod = Internal + MethodRelated + 112; 381 int BodyForAbstractMethod = Internal + MethodRelated + 113; 382 int NoMessageSendOnBaseType = MethodRelated + 114; 383 int ParameterMismatch = MethodRelated + 115; 384 int NoMessageSendOnArrayType = MethodRelated + 116; 385 386 int NonStaticAccessToStaticMethod = Internal + MethodRelated + 117; 387 388 int UnusedPrivateMethod = Internal + MethodRelated + 118; 389 390 int IndirectAccessToStaticMethod = Internal + MethodRelated + 119; 391 392 int UndefinedConstructor = ConstructorRelated + 130; 394 int NotVisibleConstructor = ConstructorRelated + 131; 395 int AmbiguousConstructor = ConstructorRelated + 132; 396 int UsingDeprecatedConstructor = ConstructorRelated + 133; 397 398 int UnusedPrivateConstructor = Internal + MethodRelated + 134; 399 int InstanceFieldDuringConstructorInvocation = ConstructorRelated + 135; 401 int InstanceMethodDuringConstructorInvocation = ConstructorRelated + 136; 402 int RecursiveConstructorInvocation = ConstructorRelated + 137; 403 int ThisSuperDuringConstructorInvocation = ConstructorRelated + 138; 404 405 int InvalidExplicitConstructorCall = ConstructorRelated + Syntax + 139; 406 int UndefinedConstructorInDefaultConstructor = ConstructorRelated + 140; 408 int NotVisibleConstructorInDefaultConstructor = ConstructorRelated + 141; 409 int AmbiguousConstructorInDefaultConstructor = ConstructorRelated + 142; 410 int UndefinedConstructorInImplicitConstructorCall = ConstructorRelated + 143; 411 int NotVisibleConstructorInImplicitConstructorCall = ConstructorRelated + 144; 412 int AmbiguousConstructorInImplicitConstructorCall = ConstructorRelated + 145; 413 int UnhandledExceptionInDefaultConstructor = TypeRelated + 146; 414 int UnhandledExceptionInImplicitConstructorCall = TypeRelated + 147; 415 416 int ArrayReferenceRequired = Internal + 150; 418 int NoImplicitStringConversionForCharArrayExpression = Internal + 151; 419 int StringConstantIsExceedingUtf8Limit = Internal + 152; 421 int NonConstantExpression = Internal + 153; 422 int NumericValueOutOfRange = Internal + 154; 423 int IllegalCast = TypeRelated + 156; 425 int InvalidClassInstantiation = TypeRelated + 157; 427 int CannotDefineDimensionExpressionsWithInit = Internal + 158; 428 int MustDefineEitherDimensionExpressionsOrInitializer = Internal + 159; 429 int InvalidOperator = Internal + 160; 431 int CodeCannotBeReached = Internal + 161; 433 int CannotReturnInInitializer = Internal + 162; 434 int InitializerMustCompleteNormally = Internal + 163; 435 int InvalidVoidExpression = Internal + 164; 437 int MaskedCatch = TypeRelated + 165; 439 int DuplicateDefaultCase = Internal + 166; 440 int UnreachableCatch = TypeRelated + MethodRelated + 167; 441 int UnhandledException = TypeRelated + 168; 442 int IncorrectSwitchType = TypeRelated + 169; 444 int DuplicateCase = FieldRelated + 170; 445 446 int DuplicateLabel = Internal + 171; 448 int InvalidBreak = Internal + 172; 449 int InvalidContinue = Internal + 173; 450 int UndefinedLabel = Internal + 174; 451 int InvalidTypeToSynchronized = Internal + 175; 453 int InvalidNullToSynchronized = Internal + 176; 454 int CannotThrowNull = Internal + 177; 456 458 int AssignmentHasNoEffect = Internal + 178; 459 460 int PossibleAccidentalBooleanAssignment = Internal + 179; 461 462 int SuperfluousSemicolon = Internal + 180; 463 464 int UnnecessaryCast = Internal + TypeRelated + 181; 465 467 int UnnecessaryArgumentCast = Internal + TypeRelated + 182; 468 469 int UnnecessaryInstanceof = Internal + TypeRelated + 183; 470 471 int FinallyMustCompleteNormally = Internal + 184; 472 473 int UnusedMethodDeclaredThrownException = Internal + 185; 474 475 int UnusedConstructorDeclaredThrownException = Internal + 186; 476 477 int InvalidCatchBlockSequence = Internal + TypeRelated + 187; 478 479 int EmptyControlFlowStatement = Internal + TypeRelated + 188; 480 481 int UnnecessaryElse = Internal + 189; 482 483 int NeedToEmulateFieldReadAccess = FieldRelated + 190; 485 int NeedToEmulateFieldWriteAccess = FieldRelated + 191; 486 int NeedToEmulateMethodAccess = MethodRelated + 192; 487 int NeedToEmulateConstructorAccess = MethodRelated + 193; 488 489 490 int FallthroughCase = Internal + 194; 491 492 int InheritedMethodHidesEnclosingName = MethodRelated + 195; 494 int InheritedFieldHidesEnclosingName = FieldRelated + 196; 495 int InheritedTypeHidesEnclosingName = TypeRelated + 197; 496 497 498 int IllegalUsageOfQualifiedTypeReference = Internal + Syntax + 198; 499 500 502 int UnusedLabel = Internal + 199; 503 int ThisInStaticContext = Internal + 200; 504 int StaticMethodRequested = Internal + MethodRelated + 201; 505 int IllegalDimension = Internal + 202; 506 int InvalidTypeExpression = Internal + 203; 507 int ParsingError = Syntax + Internal + 204; 508 int ParsingErrorNoSuggestion = Syntax + Internal + 205; 509 int InvalidUnaryExpression = Syntax + Internal + 206; 510 511 int InterfaceCannotHaveConstructors = Syntax + Internal + 207; 513 int ArrayConstantsOnlyInArrayInitializers = Syntax + Internal + 208; 514 int ParsingErrorOnKeyword = Syntax + Internal + 209; 515 int ParsingErrorOnKeywordNoSuggestion = Syntax + Internal + 210; 516 517 int UnmatchedBracket = Syntax + Internal + 220; 518 int NoFieldOnBaseType = FieldRelated + 221; 519 int InvalidExpressionAsStatement = Syntax + Internal + 222; 520 521 int ExpressionShouldBeAVariable = Syntax + Internal + 223; 522 523 int MissingSemiColon = Syntax + Internal + 224; 524 525 int InvalidParenthesizedExpression = Syntax + Internal + 225; 526 527 528 int ParsingErrorInsertTokenBefore = Syntax + Internal + 230; 529 530 int ParsingErrorInsertTokenAfter = Syntax + Internal + 231; 531 532 int ParsingErrorDeleteToken = Syntax + Internal + 232; 533 534 int ParsingErrorDeleteTokens = Syntax + Internal + 233; 535 536 int ParsingErrorMergeTokens = Syntax + Internal + 234; 537 538 int ParsingErrorInvalidToken = Syntax + Internal + 235; 539 540 int ParsingErrorMisplacedConstruct = Syntax + Internal + 236; 541 542 int ParsingErrorReplaceTokens = Syntax + Internal + 237; 543 544 int ParsingErrorNoSuggestionForTokens = Syntax + Internal + 238; 545 546 int ParsingErrorUnexpectedEOF = Syntax + Internal + 239; 547 548 int ParsingErrorInsertToComplete = Syntax + Internal + 240; 549 550 int ParsingErrorInsertToCompleteScope = Syntax + Internal + 241; 551 552 int ParsingErrorInsertToCompletePhrase = Syntax + Internal + 242; 553 554 int EndOfSource = Syntax + Internal + 250; 556 int InvalidHexa = Syntax + Internal + 251; 557 int InvalidOctal = Syntax + Internal + 252; 558 int InvalidCharacterConstant = Syntax + Internal + 253; 559 int InvalidEscape = Syntax + Internal + 254; 560 int InvalidInput = Syntax + Internal + 255; 561 int InvalidUnicodeEscape = Syntax + Internal + 256; 562 int InvalidFloat = Syntax + Internal + 257; 563 int NullSourceString = Syntax + Internal + 258; 564 int UnterminatedString = Syntax + Internal + 259; 565 int UnterminatedComment = Syntax + Internal + 260; 566 int NonExternalizedStringLiteral = Internal + 261; 567 568 int InvalidDigit = Syntax + Internal + 262; 569 570 int InvalidLowSurrogate = Syntax + Internal + 263; 571 572 int InvalidHighSurrogate = Syntax + Internal + 264; 573 574 int UnnecessaryNLSTag = Internal + 265; 575 576 578 int DiscouragedReference = TypeRelated + 280; 579 580 int InterfaceCannotHaveInitializers = TypeRelated + 300; 581 int DuplicateModifierForType = TypeRelated + 301; 582 int IllegalModifierForClass = TypeRelated + 302; 583 int IllegalModifierForInterface = TypeRelated + 303; 584 int IllegalModifierForMemberClass = TypeRelated + 304; 585 int IllegalModifierForMemberInterface = TypeRelated + 305; 586 int IllegalModifierForLocalClass = TypeRelated + 306; 587 588 int ForbiddenReference = TypeRelated + 307; 589 int IllegalModifierCombinationFinalAbstractForClass = TypeRelated + 308; 590 int IllegalVisibilityModifierForInterfaceMemberType = TypeRelated + 309; 591 int IllegalVisibilityModifierCombinationForMemberType = TypeRelated + 310; 592 int IllegalStaticModifierForMemberType = TypeRelated + 311; 593 int SuperclassMustBeAClass = TypeRelated + 312; 594 int ClassExtendFinalClass = TypeRelated + 313; 595 int DuplicateSuperInterface = TypeRelated + 314; 596 int SuperInterfaceMustBeAnInterface = TypeRelated + 315; 597 int HierarchyCircularitySelfReference = TypeRelated + 316; 598 int HierarchyCircularity = TypeRelated + 317; 599 int HidingEnclosingType = TypeRelated + 318; 600 int DuplicateNestedType = TypeRelated + 319; 601 int CannotThrowType = TypeRelated + 320; 602 int PackageCollidesWithType = TypeRelated + 321; 603 int TypeCollidesWithPackage = TypeRelated + 322; 604 int DuplicateTypes = TypeRelated + 323; 605 int IsClassPathCorrect = TypeRelated + 324; 606 int PublicClassMustMatchFileName = TypeRelated + 325; 607 int MustSpecifyPackage = Internal + 326; 608 int HierarchyHasProblems = TypeRelated + 327; 609 int PackageIsNotExpectedPackage = Internal + 328; 610 611 int ObjectCannotHaveSuperTypes = Internal + 329; 612 613 int ObjectMustBeClass = Internal + 330; 614 615 616 int SuperclassNotFound = TypeRelated + 329 + ProblemReasons.NotFound; 618 int SuperclassNotVisible = TypeRelated + 329 + ProblemReasons.NotVisible; 620 int SuperclassAmbiguous = TypeRelated + 329 + ProblemReasons.Ambiguous; 622 int SuperclassInternalNameProvided = TypeRelated + 329 + ProblemReasons.InternalNameProvided; 624 int SuperclassInheritedNameHidesEnclosingName = TypeRelated + 329 + ProblemReasons.InheritedNameHidesEnclosingName; 626 627 int InterfaceNotFound = TypeRelated + 334 + ProblemReasons.NotFound; 629 int InterfaceNotVisible = TypeRelated + 334 + ProblemReasons.NotVisible; 631 int InterfaceAmbiguous = TypeRelated + 334 + ProblemReasons.Ambiguous; 633 int InterfaceInternalNameProvided = TypeRelated + 334 + ProblemReasons.InternalNameProvided; 635 int InterfaceInheritedNameHidesEnclosingName = TypeRelated + 334 + ProblemReasons.InheritedNameHidesEnclosingName; 637 int DuplicateField = FieldRelated + 340; 639 int DuplicateModifierForField = FieldRelated + 341; 640 int IllegalModifierForField = FieldRelated + 342; 641 int IllegalModifierForInterfaceField = FieldRelated + 343; 642 int IllegalVisibilityModifierCombinationForField = FieldRelated + 344; 643 int IllegalModifierCombinationFinalVolatileForField = FieldRelated + 345; 644 int UnexpectedStaticModifierForField = FieldRelated + 346; 645 646 647 int FieldTypeNotFound = FieldRelated + 349 + ProblemReasons.NotFound; 649 int FieldTypeNotVisible = FieldRelated + 349 + ProblemReasons.NotVisible; 651 int FieldTypeAmbiguous = FieldRelated + 349 + ProblemReasons.Ambiguous; 653 int FieldTypeInternalNameProvided = FieldRelated + 349 + ProblemReasons.InternalNameProvided; 655 int FieldTypeInheritedNameHidesEnclosingName = FieldRelated + 349 + ProblemReasons.InheritedNameHidesEnclosingName; 657 int DuplicateMethod = MethodRelated + 355; 659 int IllegalModifierForArgument = MethodRelated + 356; 660 int DuplicateModifierForMethod = MethodRelated + 357; 661 int IllegalModifierForMethod = MethodRelated + 358; 662 int IllegalModifierForInterfaceMethod = MethodRelated + 359; 663 int IllegalVisibilityModifierCombinationForMethod = MethodRelated + 360; 664 int UnexpectedStaticModifierForMethod = MethodRelated + 361; 665 int IllegalAbstractModifierCombinationForMethod = MethodRelated + 362; 666 int AbstractMethodInAbstractClass = MethodRelated + 363; 667 int ArgumentTypeCannotBeVoid = MethodRelated + 364; 668 669 int ArgumentTypeCannotBeVoidArray = MethodRelated + 365; 670 671 int ReturnTypeCannotBeVoidArray = MethodRelated + 366; 672 int NativeMethodsCannotBeStrictfp = MethodRelated + 367; 673 int DuplicateModifierForArgument = MethodRelated + 368; 674 675 676 int ArgumentTypeNotFound = MethodRelated + 369 + ProblemReasons.NotFound; 678 int ArgumentTypeNotVisible = MethodRelated + 369 + ProblemReasons.NotVisible; 680 int ArgumentTypeAmbiguous = MethodRelated + 369 + ProblemReasons.Ambiguous; 682 int ArgumentTypeInternalNameProvided = MethodRelated + 369 + ProblemReasons.InternalNameProvided; 684 int ArgumentTypeInheritedNameHidesEnclosingName = MethodRelated + 369 + ProblemReasons.InheritedNameHidesEnclosingName; 686 687 int ExceptionTypeNotFound = MethodRelated + 374 + ProblemReasons.NotFound; 689 int ExceptionTypeNotVisible = MethodRelated + 374 + ProblemReasons.NotVisible; 691 int ExceptionTypeAmbiguous = MethodRelated + 374 + ProblemReasons.Ambiguous; 693 int ExceptionTypeInternalNameProvided = MethodRelated + 374 + ProblemReasons.InternalNameProvided; 695 int ExceptionTypeInheritedNameHidesEnclosingName = MethodRelated + 374 + ProblemReasons.InheritedNameHidesEnclosingName; 697 698 int ReturnTypeNotFound = MethodRelated + 379 + ProblemReasons.NotFound; 700 int ReturnTypeNotVisible = MethodRelated + 379 + ProblemReasons.NotVisible; 702 int ReturnTypeAmbiguous = MethodRelated + 379 + ProblemReasons.Ambiguous; 704 int ReturnTypeInternalNameProvided = MethodRelated + 379 + ProblemReasons.InternalNameProvided; 706 int ReturnTypeInheritedNameHidesEnclosingName = MethodRelated + 379 + ProblemReasons.InheritedNameHidesEnclosingName; 708 int ConflictingImport = ImportRelated + 385; 710 int DuplicateImport = ImportRelated + 386; 711 int CannotImportPackage = ImportRelated + 387; 712 int UnusedImport = ImportRelated + 388; 713 714 int ImportNotFound = ImportRelated + 389 + ProblemReasons.NotFound; 716 int ImportNotVisible = ImportRelated + 389 + ProblemReasons.NotVisible; 718 int ImportAmbiguous = ImportRelated + 389 + ProblemReasons.Ambiguous; 720 int ImportInternalNameProvided = ImportRelated + 389 + ProblemReasons.InternalNameProvided; 722 int ImportInheritedNameHidesEnclosingName = ImportRelated + 389 + ProblemReasons.InheritedNameHidesEnclosingName; 724 725 int InvalidTypeForStaticImport = ImportRelated + 391; 726 727 int DuplicateModifierForVariable = MethodRelated + 395; 729 int IllegalModifierForVariable = MethodRelated + 396; 730 731 int LocalVariableCannotBeNull = Internal + 397; 733 int LocalVariableCanOnlyBeNull = Internal + 398; 735 int LocalVariableMayBeNull = Internal + 399; 736 737 int AbstractMethodMustBeImplemented = MethodRelated + 400; 739 int FinalMethodCannotBeOverridden = MethodRelated + 401; 740 int IncompatibleExceptionInThrowsClause = MethodRelated + 402; 741 int IncompatibleExceptionInInheritedMethodThrowsClause = MethodRelated + 403; 742 int IncompatibleReturnType = MethodRelated + 404; 743 int InheritedMethodReducesVisibility = MethodRelated + 405; 744 int CannotOverrideAStaticMethodWithAnInstanceMethod = MethodRelated + 406; 745 int CannotHideAnInstanceMethodWithAStaticMethod = MethodRelated + 407; 746 int StaticInheritedMethodConflicts = MethodRelated + 408; 747 int MethodReducesVisibility = MethodRelated + 409; 748 int OverridingNonVisibleMethod = MethodRelated + 410; 749 int AbstractMethodCannotBeOverridden = MethodRelated + 411; 750 int OverridingDeprecatedMethod = MethodRelated + 412; 751 752 int IncompatibleReturnTypeForNonInheritedInterfaceMethod = MethodRelated + 413; 753 754 int IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod = MethodRelated + 414; 755 756 int IllegalVararg = MethodRelated + 415; 757 758 int OverridingMethodWithoutSuperInvocation = MethodRelated + 416; 759 760 int CodeSnippetMissingClass = Internal + 420; 762 int CodeSnippetMissingMethod = Internal + 421; 763 int CannotUseSuperInCodeSnippet = Internal + 422; 764 765 int TooManyConstantsInConstantPool = Internal + 430; 767 768 int TooManyBytesForStringConstant = Internal + 431; 769 770 772 int TooManyFields = Internal + 432; 773 774 int TooManyMethods = Internal + 433; 775 776 int UseAssertAsAnIdentifier = Internal + 440; 779 780 int UseEnumAsAnIdentifier = Internal + 441; 782 783 int EnumConstantsCannotBeSurroundedByParenthesis = Syntax + Internal + 442; 784 785 787 int Task = Internal + 450; 788 789 791 int NullLocalVariableReference = Internal + 451; 792 793 int PotentialNullLocalVariableReference = Internal + 452; 794 795 int RedundantNullCheckOnNullLocalVariable = Internal + 453; 796 797 int NullLocalVariableComparisonYieldsFalse = Internal + 454; 798 799 int RedundantLocalVariableNullAssignment = Internal + 455; 800 801 int NullLocalVariableInstanceofYieldsFalse = Internal + 456; 802 803 int RedundantNullCheckOnNonNullLocalVariable = Internal + 457; 804 805 int NonNullLocalVariableComparisonYieldsFalse = Internal + 458; 806 807 809 int UndocumentedEmptyBlock = Internal + 460; 810 811 814 818 int JavadocDuplicateTag = Javadoc + Internal + 464; 819 823 int JavadocHiddenReference = Javadoc + Internal + 465; 824 828 int JavadocInvalidMemberTypeQualification = Javadoc + Internal + 466; 829 830 int JavadocMissingIdentifier = Javadoc + Internal + 467; 831 832 int JavadocNonStaticTypeFromStaticInvocation = Javadoc + Internal + 468; 833 834 int JavadocInvalidParamTagTypeParameter = Javadoc + Internal + 469; 835 836 int JavadocUnexpectedTag = Javadoc + Internal + 470; 837 838 int JavadocMissingParamTag = Javadoc + Internal + 471; 839 840 int JavadocMissingParamName = Javadoc + Internal + 472; 841 842 int JavadocDuplicateParamName = Javadoc + Internal + 473; 843 844 int JavadocInvalidParamName = Javadoc + Internal + 474; 845 846 int JavadocMissingReturnTag = Javadoc + Internal + 475; 847 848 int JavadocDuplicateReturnTag = Javadoc + Internal + 476; 849 850 int JavadocMissingThrowsTag = Javadoc + Internal + 477; 851 852 int JavadocMissingThrowsClassName = Javadoc + Internal + 478; 853 854 int JavadocInvalidThrowsClass = Javadoc + Internal + 479; 855 856 int JavadocDuplicateThrowsClassName = Javadoc + Internal + 480; 857 858 int JavadocInvalidThrowsClassName = Javadoc + Internal + 481; 859 860 int JavadocMissingSeeReference = Javadoc + Internal + 482; 861 862 int JavadocInvalidSeeReference = Javadoc + Internal + 483; 863 864 int JavadocInvalidSeeHref = Javadoc + Internal + 484; 865 866 int JavadocInvalidSeeArgs = Javadoc + Internal + 485; 867 868 int JavadocMissing = Javadoc + Internal + 486; 869 870 int JavadocInvalidTag = Javadoc + Internal + 487; 871 874 875 int JavadocUndefinedField = Javadoc + Internal + 488; 876 877 int JavadocNotVisibleField = Javadoc + Internal + 489; 878 879 int JavadocAmbiguousField = Javadoc + Internal + 490; 880 881 int JavadocUsingDeprecatedField = Javadoc + Internal + 491; 882 885 886 int JavadocUndefinedConstructor = Javadoc + Internal + 492; 887 888 int JavadocNotVisibleConstructor = Javadoc + Internal + 493; 889 890 int JavadocAmbiguousConstructor = Javadoc + Internal + 494; 891 892 int JavadocUsingDeprecatedConstructor = Javadoc + Internal + 495; 893 896 897 int JavadocUndefinedMethod = Javadoc + Internal + 496; 898 899 int JavadocNotVisibleMethod = Javadoc + Internal + 497; 900 901 int JavadocAmbiguousMethod = Javadoc + Internal + 498; 902 903 int JavadocUsingDeprecatedMethod = Javadoc + Internal + 499; 904 905 int JavadocNoMessageSendOnBaseType = Javadoc + Internal + 500; 906 907 int JavadocParameterMismatch = Javadoc + Internal + 501; 908 909 int JavadocNoMessageSendOnArrayType = Javadoc + Internal + 502; 910 913 914 int JavadocUndefinedType = Javadoc + Internal + 503; 915 916 int JavadocNotVisibleType = Javadoc + Internal + 504; 917 918 int JavadocAmbiguousType = Javadoc + Internal + 505; 919 920 int JavadocUsingDeprecatedType = Javadoc + Internal + 506; 921 922 int JavadocInternalTypeNameProvided = Javadoc + Internal + 507; 923 924 int JavadocInheritedMethodHidesEnclosingName = Javadoc + Internal + 508; 925 926 int JavadocInheritedFieldHidesEnclosingName = Javadoc + Internal + 509; 927 928 int JavadocInheritedNameHidesEnclosingTypeName = Javadoc + Internal + 510; 929 930 int JavadocAmbiguousMethodReference = Javadoc + Internal + 511; 931 932 int JavadocUnterminatedInlineTag = Javadoc + Internal + 512; 933 934 int JavadocMalformedSeeReference = Javadoc + Internal + 513; 935 936 int JavadocMessagePrefix = Internal + 514; 937 938 939 int JavadocMissingHashCharacter = Javadoc + Internal + 515; 940 941 int JavadocEmptyReturnTag = Javadoc + Internal + 516; 942 943 int JavadocInvalidValueReference = Javadoc + Internal + 517; 944 945 int JavadocUnexpectedText = Javadoc + Internal + 518; 946 947 int JavadocInvalidParamTagName = Javadoc + Internal + 519; 948 949 952 953 int DuplicateTypeVariable = Internal + 520; 954 955 int IllegalTypeVariableSuperReference = Internal + 521; 956 957 int NonStaticTypeFromStaticInvocation = Internal + 522; 958 959 int ObjectCannotBeGeneric = Internal + 523; 960 961 int NonGenericType = TypeRelated + 524; 962 963 int IncorrectArityForParameterizedType = TypeRelated + 525; 964 965 int TypeArgumentMismatch = TypeRelated + 526; 966 967 int DuplicateMethodErasure = TypeRelated + 527; 968 969 int ReferenceToForwardTypeVariable = TypeRelated + 528; 970 971 int BoundMustBeAnInterface = TypeRelated + 529; 972 973 int UnsafeRawConstructorInvocation = TypeRelated + 530; 974 975 int UnsafeRawMethodInvocation = TypeRelated + 531; 976 977 int UnsafeTypeConversion = TypeRelated + 532; 978 979 int InvalidTypeVariableExceptionType = TypeRelated + 533; 980 981 int InvalidParameterizedExceptionType = TypeRelated + 534; 982 983 int IllegalGenericArray = TypeRelated + 535; 984 985 int UnsafeRawFieldAssignment = TypeRelated + 536; 986 987 int FinalBoundForTypeVariable = TypeRelated + 537; 988 989 int UndefinedTypeVariable = Internal + 538; 990 991 int SuperInterfacesCollide = TypeRelated + 539; 992 993 int WildcardConstructorInvocation = TypeRelated + 540; 994 995 int WildcardMethodInvocation = TypeRelated + 541; 996 997 int WildcardFieldAssignment = TypeRelated + 542; 998 999 int GenericMethodTypeArgumentMismatch = TypeRelated + 543; 1000 1001 int GenericConstructorTypeArgumentMismatch = TypeRelated + 544; 1002 1003 int UnsafeGenericCast = TypeRelated + 545; 1004 1005 int IllegalInstanceofParameterizedType = Internal + 546; 1006 1007 int IllegalInstanceofTypeParameter = Internal + 547; 1008 1009 int NonGenericMethod = TypeRelated + 548; 1010 1011 int IncorrectArityForParameterizedMethod = TypeRelated + 549; 1012 1013 int ParameterizedMethodArgumentTypeMismatch = TypeRelated + 550; 1014 1015 int NonGenericConstructor = TypeRelated + 551; 1016 1017 int IncorrectArityForParameterizedConstructor = TypeRelated + 552; 1018 1019 int ParameterizedConstructorArgumentTypeMismatch = TypeRelated + 553; 1020 1021 int TypeArgumentsForRawGenericMethod = TypeRelated + 554; 1022 1023 int TypeArgumentsForRawGenericConstructor = TypeRelated + 555; 1024 1025 int SuperTypeUsingWildcard = TypeRelated + 556; 1026 1027 int GenericTypeCannotExtendThrowable = TypeRelated + 557; 1028 1029 int IllegalClassLiteralForTypeVariable = TypeRelated + 558; 1030 1031 int UnsafeReturnTypeOverride = MethodRelated + 559; 1032 1033 int MethodNameClash = MethodRelated + 560; 1034 1035 int RawMemberTypeCannotBeParameterized = TypeRelated + 561; 1036 1037 int MissingArgumentsForParameterizedMemberType = TypeRelated + 562; 1038 1039 int StaticMemberOfParameterizedType = TypeRelated + 563; 1040 1041 int BoundHasConflictingArguments = TypeRelated + 564; 1042 1043 int DuplicateParameterizedMethods = MethodRelated + 565; 1044 1045 int IllegalQualifiedParameterizedTypeAllocation = TypeRelated + 566; 1046 1047 int DuplicateBounds = TypeRelated + 567; 1048 1049 int BoundCannotBeArray = TypeRelated + 568; 1050 1051 int UnsafeRawGenericConstructorInvocation = TypeRelated + 569; 1052 1053 int UnsafeRawGenericMethodInvocation = TypeRelated + 570; 1054 1055 int TypeParameterHidingType = TypeRelated + 571; 1056 1057 int RawTypeReference = TypeRelated + 572; 1058 1059 int NoAdditionalBoundAfterTypeVariable = TypeRelated + 573; 1060 1061 int UnsafeGenericArrayForVarargs = MethodRelated + 574; 1062 1063 int IllegalAccessFromTypeVariable = TypeRelated + 575; 1064 1065 int TypeHidingTypeParameterFromType = TypeRelated + 576; 1066 1067 int TypeHidingTypeParameterFromMethod = TypeRelated + 577; 1068 1069 int InvalidUsageOfWildcard = Syntax + Internal + 578; 1070 1071 1074 1075 int IncompatibleTypesInForeach = TypeRelated + 580; 1076 1077 int InvalidTypeForCollection = Internal + 581; 1078 1079 1082 1083 int InvalidUsageOfTypeParameters = Syntax + Internal + 590; 1084 1085 int InvalidUsageOfStaticImports = Syntax + Internal + 591; 1086 1087 int InvalidUsageOfForeachStatements = Syntax + Internal + 592; 1088 1089 int InvalidUsageOfTypeArguments = Syntax + Internal + 593; 1090 1091 int InvalidUsageOfEnumDeclarations = Syntax + Internal + 594; 1092 1093 int InvalidUsageOfVarargs = Syntax + Internal + 595; 1094 1095 int InvalidUsageOfAnnotations = Syntax + Internal + 596; 1096 1097 int InvalidUsageOfAnnotationDeclarations = Syntax + Internal + 597; 1098 1099 1102 1103 int IllegalModifierForAnnotationMethod = MethodRelated + 600; 1104 1105 int IllegalExtendedDimensions = MethodRelated + 601; 1106 1107 int InvalidFileNameForPackageAnnotations = Syntax + Internal + 602; 1108 1109 int IllegalModifierForAnnotationType = TypeRelated + 603; 1110 1111 int IllegalModifierForAnnotationMemberType = TypeRelated + 604; 1112 1113 int InvalidAnnotationMemberType = TypeRelated + 605; 1114 1115 int AnnotationCircularitySelfReference = TypeRelated + 606; 1116 1117 int AnnotationCircularity = TypeRelated + 607; 1118 1119 int DuplicateAnnotation = TypeRelated + 608; 1120 1121 int MissingValueForAnnotationMember = TypeRelated + 609; 1122 1123 int DuplicateAnnotationMember = Internal + 610; 1124 1125 int UndefinedAnnotationMember = MethodRelated + 611; 1126 1127 int AnnotationValueMustBeClassLiteral = Internal + 612; 1128 1129 int AnnotationValueMustBeConstant = Internal + 613; 1130 1132 int AnnotationFieldNeedConstantInitialization = Internal + 614; 1133 1134 int IllegalModifierForAnnotationField = Internal + 615; 1135 1136 int AnnotationCannotOverrideMethod = MethodRelated + 616; 1137 1138 int AnnotationMembersCannotHaveParameters = Syntax + Internal + 617; 1139 1140 int AnnotationMembersCannotHaveTypeParameters = Syntax + Internal + 618; 1141 1142 int AnnotationTypeDeclarationCannotHaveSuperclass = Syntax + Internal + 619; 1143 1144 int AnnotationTypeDeclarationCannotHaveSuperinterfaces = Syntax + Internal + 620; 1145 1146 int DuplicateTargetInTargetAnnotation = Internal + 621; 1147 1148 int DisallowedTargetForAnnotation = TypeRelated + 622; 1149 1150 int MethodMustOverride = MethodRelated + 623; 1151 1152 int AnnotationTypeDeclarationCannotHaveConstructor = Syntax + Internal + 624; 1153 1154 int AnnotationValueMustBeAnnotation = Internal + 625; 1155 1156 int AnnotationTypeUsedAsSuperInterface = TypeRelated + 626; 1157 1158 int MissingOverrideAnnotation = MethodRelated + 627; 1159 1160 int FieldMissingDeprecatedAnnotation = Internal + 628; 1161 1162 int MethodMissingDeprecatedAnnotation = Internal + 629; 1163 1164 int TypeMissingDeprecatedAnnotation = Internal + 630; 1165 1166 int UnhandledWarningToken = Internal + 631; 1167 1168 int AnnotationValueMustBeArrayInitializer = Internal + 632; 1169 1170 int AnnotationValueMustBeAnEnumConstant = Internal + 633; 1171 1172 int MethodMustOverrideOrImplement = MethodRelated + 634; 1173 1174 1177 1178 int CorruptedSignature = Internal + 700; 1179 1182 1183 int InvalidEncoding = Internal + 701; 1184 1185 int CannotReadSource = Internal + 702; 1186 1187 1190 1191 int BoxingConversion = Internal + 720; 1192 1193 int UnboxingConversion = Internal + 721; 1194 1195 1198 1199 int IllegalModifierForEnum = TypeRelated + 750; 1200 1201 int IllegalModifierForEnumConstant = FieldRelated + 751; 1202 1203 int IllegalModifierForLocalEnum = TypeRelated + 752; 1204 1205 int IllegalModifierForMemberEnum = TypeRelated + 753; 1206 1207 int CannotDeclareEnumSpecialMethod = MethodRelated + 754; 1208 1209 int IllegalQualifiedEnumConstantLabel = FieldRelated + 755; 1210 1211 int CannotExtendEnum = TypeRelated + 756; 1212 1213 int CannotInvokeSuperConstructorInEnum = MethodRelated + 757; 1214 1215 int EnumAbstractMethodMustBeImplemented = MethodRelated + 758; 1216 1217 int EnumSwitchCannotTargetField = FieldRelated + 759; 1218 1219 int IllegalModifierForEnumConstructor = MethodRelated + 760; 1220 1221 int MissingEnumConstantCase = FieldRelated + 761; 1222 int EnumStaticFieldInInInitializerContext = FieldRelated + 762; 1224 1225 1228 1229 int IllegalExtendedDimensionsForVarArgs = Syntax + Internal + 800; 1230 1231 int MethodVarargsArgumentNeedCast = MethodRelated + 801; 1232 1233 int ConstructorVarargsArgumentNeedCast = ConstructorRelated + 802; 1234 1235 int VarargsConflict = MethodRelated + 803; 1236 1237 1240 1241 int JavadocGenericMethodTypeArgumentMismatch = Javadoc + Internal + 850; 1242 1243 int JavadocNonGenericMethod = Javadoc + Internal + 851; 1244 1245 int JavadocIncorrectArityForParameterizedMethod = Javadoc + Internal + 852; 1246 1247 int JavadocParameterizedMethodArgumentTypeMismatch = Javadoc + Internal + 853; 1248 1249 int JavadocTypeArgumentsForRawGenericMethod = Javadoc + Internal + 854; 1250 1251 int JavadocGenericConstructorTypeArgumentMismatch = Javadoc + Internal + 855; 1252 1253 int JavadocNonGenericConstructor = Javadoc + Internal + 856; 1254 1255 int JavadocIncorrectArityForParameterizedConstructor = Javadoc + Internal + 857; 1256 1257 int JavadocParameterizedConstructorArgumentTypeMismatch = Javadoc + Internal + 858; 1258 1259 int JavadocTypeArgumentsForRawGenericConstructor = Javadoc + Internal + 859; 1260 1261 1264 1265 1266 int ExternalProblemNotFixable = 900; 1267 1268 1271 int ExternalProblemFixable = 901; 1272} 1273 | Popular Tags |