hypfvieh / dbus-java

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)
https://hypfvieh.github.io/dbus-java/
MIT License
185 stars 73 forks source link

InterfaceCodeGenerator appears to generate Java code with errors #82

Closed michaelNGV closed 4 years ago

michaelNGV commented 4 years ago

I hope this is just my experience or I was using the code improperly in some way. I tried to generate the Java interface for wireless but encountered the following in the generated code:

hypfvieh commented 4 years ago

1) I added the @DBusInterfaceName annotation if the package name used on DBus is not compliant with java package naming scheme (e.g. contains upper case chars). Package names currently used were correct in terms of java, but wrong when using it on DBus.

2) Superclass arguments are no longer assigned in subclasses 3) Fixed the issue with wrong member name in constructors

michaelNGV commented 4 years ago

Quick workl thank you!