[Uml-devel] [Bug 130794] New: java class import : method and class visibility ignored (treated as public)

JP Fournier jfournier121 at rogers.com
Fri Jul 14 01:07:31 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=130794         
           Summary: java class import : method and class visibility ignored
                    (treated as public)
           Product: umbrello
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: jfournier121 rogers com


Version:            (using KDE KDE 3.5.0)
Compiler:          gcc 3.4.4 
OS:                Linux

When importing a java class non-public methods are displayed as public. Also the visibility of the class itself is treated as public when it is pakage visible.

Steps to reproduce:

- import class below
- drag class to class diagram
- all methods are labeled as public (+)
- class is also treated as public 

------------------



class Visibility {


	private void privateMethod() {

	}

	public void publicMethod() {

	}

	protected void protectedMethod() {

	}

	void packageMethod() {

	}

}




More information about the umbrello-devel mailing list