Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 319167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:38:12+00:00 2026-05-12T08:38:12+00:00

What is the list of valid @SuppressWarnings warning names in Java? The bit that

  • 0

What is the list of valid @SuppressWarnings warning names in Java?

The bit that comes in between the ("") in @SuppressWarnings("").

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:38:12+00:00Added an answer on May 12, 2026 at 8:38 am

    It depends on your IDE or compiler.

    Here is a list for Eclipse Galileo:

    • all to suppress all warnings
    • boxing to suppress warnings relative to boxing/unboxing operations
    • cast to suppress warnings relative to cast operations
    • dep-ann to suppress warnings relative to deprecated annotation
    • deprecation to suppress warnings relative to deprecation
    • fallthrough to suppress warnings relative to missing breaks in switch
      statements
    • finally to suppress warnings relative to finally block that don’t
      return
    • hiding to suppress warnings relative to locals that hide variable
    • incomplete-switch to suppress warnings relative to missing entries
      in a switch statement (enum case)
    • nls to suppress warnings relative to non-nls string literals
    • null to suppress warnings relative to null analysis
    • restriction to suppress warnings relative to usage of discouraged or
      forbidden references
    • serial to suppress warnings relative to missing serialVersionUID
      field for a serializable class
    • static-access to suppress warnings relative to incorrect static
      access
    • synthetic-access to suppress warnings relative to unoptimized
      access from inner classes
    • unchecked to suppress warnings relative to unchecked operations
    • unqualified-field-access to suppress warnings relative to field
      access unqualified
    • unused to suppress warnings relative to unused code

    List for Indigo adds:

    • javadoc to suppress warnings relative to javadoc warnings
    • rawtypes to suppress warnings relative to usage of raw types
    • static-method to suppress warnings relative to methods that could be declared as static
    • super to suppress warnings relative to overriding a method without super invocations

    List for Juno adds:

    • resource to suppress warnings relative to usage of resources of type Closeable
    • sync-override to suppress warnings because of missing synchronize when overriding a synchronized method

    Kepler and Luna use the same token list as Juno (list).

    Others will be similar but vary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an exhaustive list of MySQL Time Zones? It seems that the valid
I want to put an encrypted license list on the web, so that valid
Let's say that I have a list of valid color values like [0x67FF82, 0x808080,
I need to write a SQL query that will generate a list of valid
Is there a list of valid prefix operator names somewhere? I haven't been able
Example of the problem If I have a list of valid option strings which
Can anyone point me to a schema or a list of properties valid inside
Is this list-initialization of an array of unknown size valid in C++0x? int main()
I'm trying to validate that the fields given to sphinx are valid, but I'm
Consider the following Java function: public void foo(Class<? extends Exception> cl, List<? extends Exception>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.