@ApiStatus.ScheduledForRemoval
inVersion
コードを単純化するため、このような使用箇所は @Deprecated アノテーションの forRemoval 属性で置換できます。
@Deprecated
forRemoval
2022.1 の新機能です