Lines 626-640
Link Here
|
626 |
/** |
626 |
/** |
627 |
* Return all warning option names for use as keys in compiler options maps. |
627 |
* Return all warning option names for use as keys in compiler options maps. |
628 |
* @return all warning option names |
628 |
* @return all warning option names |
629 |
* TODO (maxime) revise for ensuring completeness |
|
|
630 |
*/ |
629 |
*/ |
631 |
public static String[] warningOptionNames() { |
630 |
public static String[] warningOptionNames() { |
632 |
String[] result = { |
631 |
String[] result = { |
633 |
OPTION_ReportAnnotationSuperInterface, |
632 |
OPTION_ReportAnnotationSuperInterface, |
634 |
OPTION_ReportAssertIdentifier, |
633 |
OPTION_ReportAssertIdentifier, |
635 |
OPTION_ReportAutoboxing, |
634 |
OPTION_ReportAutoboxing, |
|
|
635 |
OPTION_ReportComparingIdentical, |
636 |
OPTION_ReportDeadCode, |
636 |
OPTION_ReportDeadCode, |
|
|
637 |
OPTION_ReportDeadCodeInTrivialIfStatement, |
637 |
OPTION_ReportDeprecation, |
638 |
OPTION_ReportDeprecation, |
|
|
639 |
OPTION_ReportDeprecationInDeprecatedCode, |
640 |
OPTION_ReportDeprecationWhenOverridingDeprecatedMethod, |
638 |
OPTION_ReportDiscouragedReference, |
641 |
OPTION_ReportDiscouragedReference, |
639 |
OPTION_ReportEmptyStatement, |
642 |
OPTION_ReportEmptyStatement, |
640 |
OPTION_ReportEnumIdentifier, |
643 |
OPTION_ReportEnumIdentifier, |
Lines 648-663
Link Here
|
648 |
OPTION_ReportIncompleteEnumSwitch, |
651 |
OPTION_ReportIncompleteEnumSwitch, |
649 |
OPTION_ReportIndirectStaticAccess, |
652 |
OPTION_ReportIndirectStaticAccess, |
650 |
OPTION_ReportInvalidJavadoc, |
653 |
OPTION_ReportInvalidJavadoc, |
|
|
654 |
OPTION_ReportInvalidJavadocTags, |
655 |
OPTION_ReportInvalidJavadocTagsDeprecatedRef, |
656 |
OPTION_ReportInvalidJavadocTagsNotVisibleRef, |
657 |
OPTION_ReportInvalidJavadocTagsVisibility, |
651 |
OPTION_ReportLocalVariableHiding, |
658 |
OPTION_ReportLocalVariableHiding, |
652 |
OPTION_ReportMethodCanBePotentiallyStatic, |
659 |
OPTION_ReportMethodCanBePotentiallyStatic, |
653 |
OPTION_ReportMethodCanBeStatic, |
660 |
OPTION_ReportMethodCanBeStatic, |
654 |
OPTION_ReportMethodWithConstructorName, |
661 |
OPTION_ReportMethodWithConstructorName, |
655 |
OPTION_ReportMissingDeprecatedAnnotation, |
662 |
OPTION_ReportMissingDeprecatedAnnotation, |
|
|
663 |
OPTION_ReportMissingHashCodeMethod, |
656 |
OPTION_ReportMissingJavadocComments, |
664 |
OPTION_ReportMissingJavadocComments, |
|
|
665 |
OPTION_ReportMissingJavadocCommentsOverriding, |
666 |
OPTION_ReportMissingJavadocCommentsVisibility, |
657 |
OPTION_ReportMissingJavadocTagDescription, |
667 |
OPTION_ReportMissingJavadocTagDescription, |
658 |
OPTION_ReportMissingJavadocTags, |
668 |
OPTION_ReportMissingJavadocTags, |
|
|
669 |
OPTION_ReportMissingJavadocTagsMethodTypeParameters, |
670 |
OPTION_ReportMissingJavadocTagsOverriding, |
671 |
OPTION_ReportMissingJavadocTagsVisibility, |
659 |
OPTION_ReportMissingOverrideAnnotation, |
672 |
OPTION_ReportMissingOverrideAnnotation, |
|
|
673 |
OPTION_ReportMissingOverrideAnnotationForInterfaceMethodImplementation, |
660 |
OPTION_ReportMissingSerialVersion, |
674 |
OPTION_ReportMissingSerialVersion, |
|
|
675 |
OPTION_ReportMissingSynchronizedOnInheritedMethod, |
661 |
OPTION_ReportNoEffectAssignment, |
676 |
OPTION_ReportNoEffectAssignment, |
662 |
OPTION_ReportNoImplicitStringConversion, |
677 |
OPTION_ReportNoImplicitStringConversion, |
663 |
OPTION_ReportNonExternalizedStringLiteral, |
678 |
OPTION_ReportNonExternalizedStringLiteral, |
Lines 668-677
Link Here
|
668 |
OPTION_ReportParameterAssignment, |
683 |
OPTION_ReportParameterAssignment, |
669 |
OPTION_ReportPossibleAccidentalBooleanAssignment, |
684 |
OPTION_ReportPossibleAccidentalBooleanAssignment, |
670 |
OPTION_ReportPotentialNullReference, |
685 |
OPTION_ReportPotentialNullReference, |
|
|
686 |
OPTION_ReportRawTypeReference, |
671 |
OPTION_ReportRedundantNullCheck, |
687 |
OPTION_ReportRedundantNullCheck, |
672 |
OPTION_ReportRedundantSuperinterface, |
688 |
OPTION_ReportRedundantSuperinterface, |
|
|
689 |
OPTION_ReportSpecialParameterHidingField, |
673 |
OPTION_ReportSyntheticAccessEmulation, |
690 |
OPTION_ReportSyntheticAccessEmulation, |
|
|
691 |
OPTION_ReportTasks, |
674 |
OPTION_ReportTypeParameterHiding, |
692 |
OPTION_ReportTypeParameterHiding, |
|
|
693 |
OPTION_ReportUnavoidableGenericTypeProblems, |
675 |
OPTION_ReportUncheckedTypeOperation, |
694 |
OPTION_ReportUncheckedTypeOperation, |
676 |
OPTION_ReportUndocumentedEmptyBlock, |
695 |
OPTION_ReportUndocumentedEmptyBlock, |
677 |
OPTION_ReportUnhandledWarningToken, |
696 |
OPTION_ReportUnhandledWarningToken, |
Lines 679-688
Link Here
|
679 |
OPTION_ReportUnnecessaryTypeCheck, |
698 |
OPTION_ReportUnnecessaryTypeCheck, |
680 |
OPTION_ReportUnqualifiedFieldAccess, |
699 |
OPTION_ReportUnqualifiedFieldAccess, |
681 |
OPTION_ReportUnusedDeclaredThrownException, |
700 |
OPTION_ReportUnusedDeclaredThrownException, |
|
|
701 |
OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable, |
702 |
OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference, |
703 |
OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding, |
682 |
OPTION_ReportUnusedImport, |
704 |
OPTION_ReportUnusedImport, |
|
|
705 |
OPTION_ReportUnusedLabel, |
683 |
OPTION_ReportUnusedLocal, |
706 |
OPTION_ReportUnusedLocal, |
684 |
OPTION_ReportUnusedObjectAllocation, |
707 |
OPTION_ReportUnusedObjectAllocation, |
685 |
OPTION_ReportUnusedParameter, |
708 |
OPTION_ReportUnusedParameter, |
|
|
709 |
OPTION_ReportUnusedParameterIncludeDocCommentReference, |
710 |
OPTION_ReportUnusedParameterWhenImplementingAbstract, |
711 |
OPTION_ReportUnusedParameterWhenOverridingConcrete, |
686 |
OPTION_ReportUnusedPrivateMember, |
712 |
OPTION_ReportUnusedPrivateMember, |
687 |
OPTION_ReportUnusedTypeArgumentsForMethodInvocation, |
713 |
OPTION_ReportUnusedTypeArgumentsForMethodInvocation, |
688 |
OPTION_ReportUnusedWarningToken, |
714 |
OPTION_ReportUnusedWarningToken, |