Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 20767 Details for
Bug 83739
[1.5] support @SuppressWarnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
CompilerOptions collects warning related options
patch_org.eclipse.jdt.core_01.txt (text/plain), 2.60 KB, created by
Maxime Daniel
on 2005-05-06 07:24:21 EDT
(
hide
)
Description:
CompilerOptions collects warning related options
Filename:
MIME Type:
Creator:
Maxime Daniel
Created:
2005-05-06 07:24:21 EDT
Size:
2.60 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java,v >retrieving revision 1.126 >diff -u -r1.126 CompilerOptions.java >--- compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 4 May 2005 11:31:09 -0000 1.126 >+++ compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 6 May 2005 11:06:44 -0000 >@@ -331,6 +331,59 @@ > if (settings == null) return; > set(settings); > } >+ >+ /** >+ * Return all warning option names for use as keys in compiler options maps. >+ * @return all warning option names >+ */ >+ public static String[] warningOptionNames() { >+ String[] result = { >+ OPTION_ReportAnnotationSuperInterface, >+ OPTION_ReportAssertIdentifier, >+ OPTION_ReportAutoboxing, >+ OPTION_ReportDeprecation, >+ OPTION_ReportDiscouragedReference, >+ OPTION_ReportEmptyStatement, >+ OPTION_ReportEnumIdentifier, >+ OPTION_ReportFieldHiding, >+ OPTION_ReportFinalParameterBound, >+ OPTION_ReportFinallyBlockNotCompletingNormally, >+ OPTION_ReportForbiddenReference, >+ OPTION_ReportHiddenCatchBlock, >+ OPTION_ReportIncompatibleNonInheritedInterfaceMethod, >+ OPTION_ReportIncompleteEnumSwitch, >+ OPTION_ReportIndirectStaticAccess, >+ OPTION_ReportInvalidJavadoc, >+ OPTION_ReportLocalVariableHiding, >+ OPTION_ReportMethodWithConstructorName, >+ OPTION_ReportMissingDeprecatedAnnotation, >+ OPTION_ReportMissingJavadocComments, >+ OPTION_ReportMissingJavadocTags, >+ OPTION_ReportMissingOverrideAnnotation, >+ OPTION_ReportMissingSerialVersion, >+ OPTION_ReportNoEffectAssignment, >+ OPTION_ReportNoImplicitStringConversion, >+ OPTION_ReportNonExternalizedStringLiteral, >+ OPTION_ReportNonStaticAccessToStatic, >+ OPTION_ReportNullReference, >+ OPTION_ReportOverridingPackageDefaultMethod, >+ OPTION_ReportPossibleAccidentalBooleanAssignment, >+ OPTION_ReportSyntheticAccessEmulation, >+ OPTION_ReportTypeParameterHiding, >+ OPTION_ReportUncheckedTypeOperation, >+ OPTION_ReportUndocumentedEmptyBlock, >+ OPTION_ReportUnnecessaryElse, >+ OPTION_ReportUnnecessaryTypeCheck, >+ OPTION_ReportUnqualifiedFieldAccess, >+ OPTION_ReportUnusedDeclaredThrownException, >+ OPTION_ReportUnusedImport, >+ OPTION_ReportUnusedLocal, >+ OPTION_ReportUnusedParameter, >+ OPTION_ReportUnusedPrivateMember, >+ OPTION_ReportVarargsArgumentNeedCast >+ }; >+ return result; >+ } > > public Map getMap() { > Map optionsMap = new HashMap(30);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 83739
: 20767 |
20768