bytedeco/javacpp

Generator add @NoException annotation to function argument whose class is annotated @NoException manually leading to compiling error

Open

#487 opened on 2021年5月31日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Java (620 forks)batch import
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

コントリビューターガイド