uber/NullAway

Disallow writing `@Initializer` on constructors

已关闭

#540 创建于 2022年1月6日

 (0 条评论) (0 个反应) (0 位负责人)Java (288 个派生)batch import
good first issue

仓库指标

星标
 (3,462 个星标)
PR 合并指标
 (平均合并 3天 23小时) (30 天内合并 14 个 PR)

描述

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.

贡献者指南