uber/NullAway

Disallow writing `@Initializer` on constructors

Open

#540 opened on 2022年1月6日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Java (3,462 stars) (288 forks)batch import
good first issue

説明

If a constructor is annotated with @Initializer, NullAway currently treats the constructor as if it were an initializer method that runs after any constructor, which clearly doesn't make sense. Instead, NullAway should report an error, as this is an invalid use of @Initializer.

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