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

Key: IDEABKL-3379
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Vigdorchik
Reporter: Alain Ravet
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

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

'Create Class' by intention produces red code, when the default F.T. for Class is final

Created: 20 Jul 05 23:27   Updated: 20 Jul 05 23:48
Component/s: Editor. Intention Actions
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,417


 Description  « Hide

I modified the 'Class' file template, to make all classes created by intention 'final'.
Problem: 'Create class' by intention produce code that doesn't compile, because the superclass is final.

To reproduce:

  • modify 'Class' F.T. by having the generated class be final
  • type the code below
    public final class Foo extends FooParent
    {
    }

Problem: the generated FooParent is final => won't compile.

Also see: http://www.jetbrains.net/jira/browse/IDEADEV-1826



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.