Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2011 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 630-692
Link Here
|
630 |
*/ |
630 |
*/ |
631 |
public static String[] warningOptionNames() { |
631 |
public static String[] warningOptionNames() { |
632 |
String[] result = { |
632 |
String[] result = { |
|
|
633 |
OPTION_Compliance, |
634 |
OPTION_DocCommentSupport, |
635 |
OPTION_Encoding, |
636 |
OPTION_FatalOptionalError, |
637 |
OPTION_GenerateClassFiles, |
638 |
OPTION_IncludeNullInfoFromAsserts, |
639 |
OPTION_InlineJsr, |
640 |
OPTION_LineNumberAttribute, |
641 |
OPTION_LocalVariableAttribute, |
642 |
OPTION_MaxProblemPerUnit, |
643 |
OPTION_PreserveUnusedLocal, |
644 |
OPTION_Process_Annotations, |
633 |
OPTION_ReportAnnotationSuperInterface, |
645 |
OPTION_ReportAnnotationSuperInterface, |
634 |
OPTION_ReportAssertIdentifier, |
646 |
OPTION_ReportAssertIdentifier, |
635 |
OPTION_ReportAutoboxing, |
647 |
OPTION_ReportAutoboxing, |
|
|
648 |
OPTION_ReportComparingIdentical, |
636 |
OPTION_ReportDeadCode, |
649 |
OPTION_ReportDeadCode, |
|
|
650 |
OPTION_ReportDeadCodeInTrivialIfStatement, |
637 |
OPTION_ReportDeprecation, |
651 |
OPTION_ReportDeprecation, |
|
|
652 |
OPTION_ReportDeprecationInDeprecatedCode, |
653 |
OPTION_ReportDeprecationWhenOverridingDeprecatedMethod, |
638 |
OPTION_ReportDiscouragedReference, |
654 |
OPTION_ReportDiscouragedReference, |
639 |
OPTION_ReportEmptyStatement, |
655 |
OPTION_ReportEmptyStatement, |
640 |
OPTION_ReportEnumIdentifier, |
656 |
OPTION_ReportEnumIdentifier, |
641 |
OPTION_ReportFallthroughCase, |
657 |
OPTION_ReportFallthroughCase, |
642 |
OPTION_ReportFieldHiding, |
658 |
OPTION_ReportFieldHiding, |
643 |
OPTION_ReportFinalParameterBound, |
|
|
644 |
OPTION_ReportFinallyBlockNotCompletingNormally, |
659 |
OPTION_ReportFinallyBlockNotCompletingNormally, |
|
|
660 |
OPTION_ReportFinalParameterBound, |
645 |
OPTION_ReportForbiddenReference, |
661 |
OPTION_ReportForbiddenReference, |
646 |
OPTION_ReportHiddenCatchBlock, |
662 |
OPTION_ReportHiddenCatchBlock, |
647 |
OPTION_ReportIncompatibleNonInheritedInterfaceMethod, |
663 |
OPTION_ReportIncompatibleNonInheritedInterfaceMethod, |
648 |
OPTION_ReportIncompleteEnumSwitch, |
664 |
OPTION_ReportIncompleteEnumSwitch, |
|
|
665 |
OPTION_ReportIncompleteEnumSwitch, |
649 |
OPTION_ReportIndirectStaticAccess, |
666 |
OPTION_ReportIndirectStaticAccess, |
650 |
OPTION_ReportInvalidJavadoc, |
667 |
OPTION_ReportInvalidJavadoc, |
|
|
668 |
OPTION_ReportInvalidJavadocTags, |
669 |
OPTION_ReportInvalidJavadocTagsDeprecatedRef, |
670 |
OPTION_ReportInvalidJavadocTagsNotVisibleRef, |
671 |
OPTION_ReportInvalidJavadocTagsVisibility, |
651 |
OPTION_ReportLocalVariableHiding, |
672 |
OPTION_ReportLocalVariableHiding, |
652 |
OPTION_ReportMethodWithConstructorName, |
|
|
653 |
OPTION_ReportMethodCanBeStatic, |
654 |
OPTION_ReportMethodCanBePotentiallyStatic, |
673 |
OPTION_ReportMethodCanBePotentiallyStatic, |
|
|
674 |
OPTION_ReportMethodCanBeStatic, |
675 |
OPTION_ReportMethodWithConstructorName, |
655 |
OPTION_ReportMissingDeprecatedAnnotation, |
676 |
OPTION_ReportMissingDeprecatedAnnotation, |
|
|
677 |
OPTION_ReportMissingHashCodeMethod, |
656 |
OPTION_ReportMissingJavadocComments, |
678 |
OPTION_ReportMissingJavadocComments, |
|
|
679 |
OPTION_ReportMissingJavadocCommentsOverriding, |
680 |
OPTION_ReportMissingJavadocCommentsVisibility, |
657 |
OPTION_ReportMissingJavadocTagDescription, |
681 |
OPTION_ReportMissingJavadocTagDescription, |
658 |
OPTION_ReportMissingJavadocTags, |
682 |
OPTION_ReportMissingJavadocTags, |
|
|
683 |
OPTION_ReportMissingJavadocTagsMethodTypeParameters, |
684 |
OPTION_ReportMissingJavadocTagsOverriding, |
685 |
OPTION_ReportMissingJavadocTagsVisibility, |
659 |
OPTION_ReportMissingOverrideAnnotation, |
686 |
OPTION_ReportMissingOverrideAnnotation, |
|
|
687 |
OPTION_ReportMissingOverrideAnnotationForInterfaceMethodImplementation, |
660 |
OPTION_ReportMissingSerialVersion, |
688 |
OPTION_ReportMissingSerialVersion, |
|
|
689 |
OPTION_ReportMissingSynchronizedOnInheritedMethod, |
661 |
OPTION_ReportNoEffectAssignment, |
690 |
OPTION_ReportNoEffectAssignment, |
662 |
OPTION_ReportNoImplicitStringConversion, |
691 |
OPTION_ReportNoImplicitStringConversion, |
663 |
OPTION_ReportNonExternalizedStringLiteral, |
692 |
OPTION_ReportNonExternalizedStringLiteral, |
664 |
OPTION_ReportNonStaticAccessToStatic, |
693 |
OPTION_ReportNonStaticAccessToStatic, |
665 |
OPTION_ReportNullReference, |
694 |
OPTION_ReportNullReference, |
666 |
OPTION_ReportPotentialNullReference, |
695 |
OPTION_ReportOverridingMethodWithoutSuperInvocation, |
667 |
OPTION_ReportRedundantNullCheck, |
|
|
668 |
OPTION_ReportRedundantSuperinterface, |
669 |
OPTION_ReportOverridingPackageDefaultMethod, |
696 |
OPTION_ReportOverridingPackageDefaultMethod, |
670 |
OPTION_ReportParameterAssignment, |
697 |
OPTION_ReportParameterAssignment, |
671 |
OPTION_ReportPossibleAccidentalBooleanAssignment, |
698 |
OPTION_ReportPossibleAccidentalBooleanAssignment, |
|
|
699 |
OPTION_ReportPotentialNullReference, |
700 |
OPTION_ReportRawTypeReference, |
701 |
OPTION_ReportRedundantNullCheck, |
702 |
OPTION_ReportRedundantSuperinterface, |
703 |
OPTION_ReportSpecialParameterHidingField, |
672 |
OPTION_ReportSyntheticAccessEmulation, |
704 |
OPTION_ReportSyntheticAccessEmulation, |
|
|
705 |
OPTION_ReportTasks, |
673 |
OPTION_ReportTypeParameterHiding, |
706 |
OPTION_ReportTypeParameterHiding, |
|
|
707 |
OPTION_ReportUnavoidableGenericTypeProblems, |
674 |
OPTION_ReportUncheckedTypeOperation, |
708 |
OPTION_ReportUncheckedTypeOperation, |
675 |
OPTION_ReportUndocumentedEmptyBlock, |
709 |
OPTION_ReportUndocumentedEmptyBlock, |
|
|
710 |
OPTION_ReportUnhandledWarningToken, |
676 |
OPTION_ReportUnnecessaryElse, |
711 |
OPTION_ReportUnnecessaryElse, |
677 |
OPTION_ReportUnnecessaryTypeCheck, |
712 |
OPTION_ReportUnnecessaryTypeCheck, |
678 |
OPTION_ReportUnqualifiedFieldAccess, |
713 |
OPTION_ReportUnqualifiedFieldAccess, |
679 |
OPTION_ReportUnusedDeclaredThrownException, |
714 |
OPTION_ReportUnusedDeclaredThrownException, |
|
|
715 |
OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable, |
716 |
OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference, |
717 |
OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding, |
680 |
OPTION_ReportUnusedImport, |
718 |
OPTION_ReportUnusedImport, |
|
|
719 |
OPTION_ReportUnusedLabel, |
681 |
OPTION_ReportUnusedLocal, |
720 |
OPTION_ReportUnusedLocal, |
682 |
OPTION_ReportUnusedObjectAllocation, |
721 |
OPTION_ReportUnusedObjectAllocation, |
683 |
OPTION_ReportUnusedParameter, |
722 |
OPTION_ReportUnusedParameter, |
|
|
723 |
OPTION_ReportUnusedParameterIncludeDocCommentReference, |
724 |
OPTION_ReportUnusedParameterWhenImplementingAbstract, |
725 |
OPTION_ReportUnusedParameterWhenOverridingConcrete, |
684 |
OPTION_ReportUnusedPrivateMember, |
726 |
OPTION_ReportUnusedPrivateMember, |
685 |
OPTION_ReportVarargsArgumentNeedCast, |
|
|
686 |
OPTION_ReportUnhandledWarningToken, |
687 |
OPTION_ReportUnusedWarningToken, |
688 |
OPTION_ReportOverridingMethodWithoutSuperInvocation, |
689 |
OPTION_ReportUnusedTypeArgumentsForMethodInvocation, |
727 |
OPTION_ReportUnusedTypeArgumentsForMethodInvocation, |
|
|
728 |
OPTION_ReportUnusedWarningToken, |
729 |
OPTION_ReportVarargsArgumentNeedCast, |
730 |
OPTION_Source, |
731 |
OPTION_SourceFileAttribute, |
732 |
OPTION_SuppressOptionalErrors, |
733 |
OPTION_SuppressWarnings, |
734 |
OPTION_TargetPlatform, |
735 |
OPTION_TaskCaseSensitive, |
736 |
OPTION_TaskPriorities, |
737 |
OPTION_TaskTags, |
690 |
}; |
738 |
}; |
691 |
return result; |
739 |
return result; |
692 |
} |
740 |
} |