bytedeco/javacpp
View on GitHubGenerator add @NoException annotation to function argument whose class is annotated @NoException manually leading to compiling error
Open
#487 opened on May 31, 2021
enhancementhelp wanted
Repository metrics
- Stars
- (4,279 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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