This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 84011 - Source for inner class generated in two ways depens on nested class creation way
Summary: Source for inner class generated in two ways depens on nested class creation way
Status: RESOLVED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 12:59 UTC by bugbridge
Modified: 2008-11-19 15:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-09-01 12:59:52 UTC
Original submitter: sergeyp

Description:

there is static modificator for inner class when created with drawing of nested
link on diagram, but there is no static modificator when creats inner class with
'Add|Element\ on class node.

Steps to reproduce:
- Create Package with scoped Class diagram
- Put Class element on the diagran and name it 'A'
- Select the 'A' class element in Model tree and invoke
  'Add|Diagram' from popup menu
- Select Class diagram and press 'OK' button
- Put a Class element on the created diagram and name it 'B'
- Go to source of 'A' class
  Inner 'B' class does not have static modifier:
  -----------------------------------------------------------
  package pack;

  public class A {
    public A() {
    }

    public class B {
        public B() {
        }
    }

  }
  -----------------------------------------------------------
Comment 1 Sergey Petrov 2008-11-19 15:43:03 UTC
both cases in 6.5(6.1?) generate nested class without static.