Annotation Processing in Java | Create a Custom Annotation Processor | Geekific

  Рет қаралды 12,834

Geekific

Geekific

Күн бұрын

Пікірлер: 20
@AdarshaPal-w5o
@AdarshaPal-w5o 8 ай бұрын
Looked so many articeles to work with Custom annotation. Couldn't find one. Stumbled acroos this today. This was really great and very well structured. Keep up the good work . Thanks again🎉🎉
@bibahbibah5108
@bibahbibah5108 2 ай бұрын
best video for annotations processing, i search a lot even in ChatGpt and nothing works without a external libs, but u give us gold man thanks ❤
@geekific
@geekific 2 ай бұрын
Glad it helped! Thank you
@lewnpapadopoulos
@lewnpapadopoulos 2 жыл бұрын
This channel is a treasure trove of useful Java and computer science info! 🎉🎉🎉 Keep up the good work! 💯👏
@geekific
@geekific 2 жыл бұрын
Wow, thank you! Will do :)
@nerminkarapandzic5176
@nerminkarapandzic5176 2 жыл бұрын
Nice explanation, thank you for taking the time to create this video, I subscribed immediately.
@geekific
@geekific 2 жыл бұрын
Glad you found it helpful :) Thanks for the support!
@grcq07_apex
@grcq07_apex Жыл бұрын
I tried this before and it never worked, but after this video I finally got it to work! Thanks! But I got one question, how can I make annotations to generate code into the same class and make it usuable while coding? (Just like Lombok with @Getter, @Setter, etc...)
@geekific
@geekific Жыл бұрын
Nice! Check this video, it'll answer your question: kzbin.info/www/bejne/jJPGYox-i7x5nsk. Any annotation you create can be usable while coding.
@svalyavasvalyava9867
@svalyavasvalyava9867 2 жыл бұрын
thank you for the explanation of this topic!
@geekific
@geekific 2 жыл бұрын
Glad it was helpful :)
@AdarshaPal-w5o
@AdarshaPal-w5o 8 ай бұрын
I have similar use case but using custom annotation i want to generate a logger object Something similar to what @sl4j of lombos does. I have done all the steps but unable to get object of my custom logger class when I use the custom class level annotation
@iamshakiransari
@iamshakiransari 2 жыл бұрын
Excellent 👍 Is it possible to change or modify existing class such as @NotNull annotations?
@geekific
@geekific 2 жыл бұрын
You can name the annotations you create anything you want, just take care with your imports!
@iamshakiransari
@iamshakiransari 2 жыл бұрын
Thanks for replying.. what i meant how to make changes in existing Java class, what you showed it creates a new class
@Grynjolf
@Grynjolf 5 ай бұрын
How do I do it without having to pull in a package?
@wasim289
@wasim289 2 жыл бұрын
but how process method is getting called?
@geekific
@geekific 2 жыл бұрын
When you compile your code, the compiler will call it automatically. You can make use of the command provided at 7:22 and add a break point inside it to make sure it does. Hope this helps! Cheers!
@Gamebuster
@Gamebuster 5 ай бұрын
@@geekific This assumes you're using maven as your build tool.
@НикитаБаженов-э9о
@НикитаБаженов-э9о 2 жыл бұрын
😍😍
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 89 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 59 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,8 МЛН
Каха и лужа  #непосредственнокаха
00:15
#2 Annotations & Processors  in Programming Java
45:49
Programuoki-lt
Рет қаралды 4 М.
Who Wants to be a Millionaire US: First Million Dollar Winner with John Carpenter
19:07
Motherland Darren's Sessions
Рет қаралды 4,1 МЛН
Java Annotation Processing | Oscar Camacho | Java ON 2022
1:03:11
Zig for Impatient Devs
9:48
Isaac Harris-Holt
Рет қаралды 102 М.
Java Anonymous Inner Classes Explained in 6 Minutes
6:27
Coding with John
Рет қаралды 100 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 89 МЛН