javacpp
javacpp copied to clipboard
Generator add @NoException annotation to function argument whose class is annotated @NoException manually leading to compiling error
I try to add per-class NoException annotation instead of per-function
infoMap.put(new Info("namespace::Someclass").annotations("@NoException"));
got the following errors
annotation type not applicable to this kind of declaration
the generated code looks like this
public native int do(@NoException @SharedPtr Someclass variable);
See mailing list thread for details: https://groups.google.com/g/javacpp-project/c/zzGRu019BoA
Do you still need something like this even with issue #484 fixed?
Now NoException in top class works for me. I do not need this for now.
Maybe it has something to do with commit e5495a2a974b16ea68bf590160fc649d61ad0915 ?