History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-8805
Type: Bug Bug
Status: Resolved Resolved
Resolution: Obsolete
Priority: Normal Normal
Assignee: Eugene Vigdorchik
Reporter: Onno Scheffers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Language level ignored while auto-implementing methods

Created: 29 Aug 06 17:18   Updated: 05 Aug 08 21:51
Component/s: Editor. Intention Actions
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP Pro

Build: 5,581
Severity: Medium


 Description  « Hide
Reproduce:
  • Set language-level to 1.4 for a project.
  • Create a new class that implements ProjectComponent (OpenAPI):
    public class IdeaDocConfiguration implements ProjectComponent {
    }
  • IDEA tells you you need to implement some methods defined in the ProjectComponent interface
  • Press ALT+ENTER and choose 'Implement methods'.
  • Annotations are added to the getComponentName method, while they are not supported until Java5:
    @NonNls
    @NotNull
    public String getComponentName() { return null; //To change body of implemented methods use File | Settings | File Templates. }


 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 05 Aug 08 21:51
Fixed a while ago, works correctly in current version.