uber/NullAway

Disallow writing `@Initializer` on constructors

Open

#540 创建于 2022年1月6日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (3,462 star) (288 fork)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.

贡献者指南