%interface family of macros no longer add variable wrappers

The getter/setter methods used for wrapping methods are no longer
added to the interface class.

Closes #1524

Also add in testcase for enums.
This commit is contained in:
William S Fulton 2022-03-12 22:34:17 +00:00
commit 598736a6b2
7 changed files with 48 additions and 2 deletions

View file

@ -3546,6 +3546,12 @@ will be excluded from the interface and there will not be an additional method
added to the proxy class implementing that interface.
</p>
<p>
The Java interface only ever contains virtual and non-virtual instance methods from the wrapped C++ class.
Any static methods, enums or variables in the wrapped C++ class are not supported and are not added to the interface.
They are of course still available in the Java proxy class.
</p>
<p>
Wherever a class marked as an interface is used, such as the <tt>UseBases</tt> method in the example,
the interface name is used as the type in the Java layer: