bytedeco/javacpp
GitHub で見るGenerator add @NoException annotation to function argument whose class is annotated @NoException manually leading to compiling error
Open
#487 opened on 2021年5月31日
enhancementhelp wanted
Repository metrics
- Stars
- (4,279 stars)
- PR merge metrics
- (30d に merged PR はありません)
説明
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