3.1 build notesによる。赤い字はsun Javacで規定されているもの。
The new list of supported warning tokens for the @SuppressWarnings annotation is:
- all : any warning
- boxing : autoboxing conversion
- dep-ann : missing @Deprecated annotation
- deprecation : deprecation outside deprecated code
- incomplete-switch : incomplete enum switch (enumSwitch)
- hiding :
- field hiding another variable (fieldHiding)
- local variable hiding another variable (localHiding)
- type parameter hiding another type (typeHiding)
- hidden catch block (maskedCatchBlock)
- finally : finally block not completing normally
- static-access :
- indirect reference to static member (indirectStatic)
- non-static reference to static member (staticReceiver)
- nls : string literal lacking non-nls tag //$NON-NLS-<n>$
- serial : missing serialVersionUID
- unqualified-field-access : unqualified reference to field (unQualifiedField)
- unchecked : unchecked type operation
- unused :
- unread method parameter (unusedArgument)
- unread local variable (unusedLocal)
- unused private member declaration (unusedPrivate)
- unused declared thrown exception (unusedThrown)
- synthetic-access : synthetic access for innerclass (syntheticAccess)