Tagged articles

@SuppressWarnings

2 articles · Page 1 of 1
HarmonyOS Developer Technology
HarmonyOS Developer Technology
Jul 7, 2026 · Fundamentals

ArkTS Annotations: Compiler Inference Cuts Boilerplate 33% vs Java

This article explores ArkTS's annotation system, showing how its compiler-driven inference reduces annotation boilerplate by one-third compared to Java, enables compile-time default value injection and type checking, separates annotations from decorators, provides built-in @Available and @SuppressWarnings, supports modular imports, and details current limitations like target restrictions and limited attribute types.

@Available@SuppressWarningsArkTS
0 likes · 12 min read
ArkTS Annotations: Compiler Inference Cuts Boilerplate 33% vs Java
FunTester
FunTester
Nov 27, 2020 · Backend Development

Using SpotBugs Annotations and SuppressWarnings in Java and Groovy Projects

This article describes a practical workflow for static testing Java and Groovy code with SpotBugs in IntelliJ, including dependency setup, bug detection, clear versus suppress options, and the syntax for applying @SuppressFBWarnings annotations in both languages.

@SuppressWarningsGroovyIntelliJ
0 likes · 4 min read
Using SpotBugs Annotations and SuppressWarnings in Java and Groovy Projects