Lets you control all Java related settings.
Lets you specify the Java platform compliance level.
Table 2.5. Compliance levels
| Level | Description |
|---|---|
| Java SE 6 |
assert and enum are recognized as reserved keywords.
the section called “Insert @Override annotation” may be enabled to have missing annotations inserted for
overridden and implemented methods
|
| J2SE 5.0 | assert and enum are recognized as reserved
keywords. the section called “Insert @Override annotation” may be enabled to have missing annotations
inserted for overridden methods
|
| J2SE 1.4 | assert is recognized as a reserved keyword |
| J2SE 1.3 | assert and enum are valid identifiers
that can be used to name variables and/or methods |
It is highly recommended to avoid strings that have become reserved keywords when targeting older Java releases. It’s therefore probably a good idea to stick with at least J2SE 5.0 compliance.