--

It’s not exactly like that. The annotations are used by the IDE, not by the lint command. There is no build-time checks, unfortunately. I suppose the reason is that the IDE knows a lot more about the code than Lint (which uses Lombok under the hood to parse the AST, if I recall correctly, but it’s still not as much info as what Android Studio has).

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Sebastiano Poggi — seb@androiddev.social
Sebastiano Poggi — seb@androiddev.social

Written by Sebastiano Poggi — seb@androiddev.social

"It depends" 🤷‍♂️ - UXE on Android Studio at Google. A geek 🤓 who has a serious thing for good design ✨ and for emojis 🤟 Personal opinions only 😁

Responses (1)

Write a response