Lines 439-445
Link Here
|
439 |
case CompilerOptions.AutoBoxing : |
439 |
case CompilerOptions.AutoBoxing : |
440 |
case CompilerOptions.MissingOverrideAnnotation : |
440 |
case CompilerOptions.MissingOverrideAnnotation : |
441 |
case CompilerOptions.MissingDeprecatedAnnotation : |
441 |
case CompilerOptions.MissingDeprecatedAnnotation : |
442 |
case CompilerOptions.ParameterAssignment : |
442 |
case CompilerOptions.ParameterAssignment : |
443 |
return CategorizedProblem.CAT_CODE_STYLE; |
443 |
return CategorizedProblem.CAT_CODE_STYLE; |
444 |
|
444 |
|
445 |
case CompilerOptions.MaskedCatchBlock : |
445 |
case CompilerOptions.MaskedCatchBlock : |
Lines 467-473
Link Here
|
467 |
case CompilerOptions.LocalVariableHiding : |
467 |
case CompilerOptions.LocalVariableHiding : |
468 |
case CompilerOptions.FieldHiding : |
468 |
case CompilerOptions.FieldHiding : |
469 |
case CompilerOptions.TypeHiding : |
469 |
case CompilerOptions.TypeHiding : |
470 |
return CategorizedProblem.CAT_NAME_SHADOWING_CONFLICT; |
470 |
return CategorizedProblem.CAT_NAME_SHADOWING_CONFLICT; |
471 |
|
471 |
|
472 |
case CompilerOptions.UnusedLocalVariable : |
472 |
case CompilerOptions.UnusedLocalVariable : |
473 |
case CompilerOptions.UnusedArgument : |
473 |
case CompilerOptions.UnusedArgument : |
Lines 480-486
Link Here
|
480 |
case CompilerOptions.UnusedWarningToken : |
480 |
case CompilerOptions.UnusedWarningToken : |
481 |
case CompilerOptions.UnusedLabel : |
481 |
case CompilerOptions.UnusedLabel : |
482 |
case CompilerOptions.RedundantSuperinterface : |
482 |
case CompilerOptions.RedundantSuperinterface : |
483 |
return CategorizedProblem.CAT_UNNECESSARY_CODE; |
483 |
return CategorizedProblem.CAT_UNNECESSARY_CODE; |
484 |
|
484 |
|
485 |
case CompilerOptions.UsingDeprecatedAPI : |
485 |
case CompilerOptions.UsingDeprecatedAPI : |
486 |
return CategorizedProblem.CAT_DEPRECATION; |
486 |
return CategorizedProblem.CAT_DEPRECATION; |
Lines 495-505
Link Here
|
495 |
case CompilerOptions.MissingJavadocTags : |
495 |
case CompilerOptions.MissingJavadocTags : |
496 |
case CompilerOptions.InvalidJavadoc : |
496 |
case CompilerOptions.InvalidJavadoc : |
497 |
case CompilerOptions.InvalidJavadoc|CompilerOptions.UsingDeprecatedAPI : |
497 |
case CompilerOptions.InvalidJavadoc|CompilerOptions.UsingDeprecatedAPI : |
498 |
return CategorizedProblem.CAT_JAVADOC; |
498 |
return CategorizedProblem.CAT_JAVADOC; |
499 |
|
499 |
|
500 |
case CompilerOptions.UncheckedTypeOperation : |
500 |
case CompilerOptions.UncheckedTypeOperation : |
501 |
case CompilerOptions.RawTypeReference : |
501 |
case CompilerOptions.RawTypeReference : |
502 |
return CategorizedProblem.CAT_UNCHECKED_RAW; |
502 |
return CategorizedProblem.CAT_UNCHECKED_RAW; |
503 |
|
503 |
|
504 |
case CompilerOptions.ForbiddenReference : |
504 |
case CompilerOptions.ForbiddenReference : |
505 |
case CompilerOptions.DiscouragedReference : |
505 |
case CompilerOptions.DiscouragedReference : |