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🎉🎉
@bibahbibah51082 ай бұрын
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 ❤
@geekific2 ай бұрын
Glad it helped! Thank you
@lewnpapadopoulos2 жыл бұрын
This channel is a treasure trove of useful Java and computer science info! 🎉🎉🎉 Keep up the good work! 💯👏
@geekific2 жыл бұрын
Wow, thank you! Will do :)
@nerminkarapandzic51762 жыл бұрын
Nice explanation, thank you for taking the time to create this video, I subscribed immediately.
@geekific2 жыл бұрын
Glad you found it helpful :) Thanks for the support!
@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 Жыл бұрын
Nice! Check this video, it'll answer your question: kzbin.info/www/bejne/jJPGYox-i7x5nsk. Any annotation you create can be usable while coding.
@svalyavasvalyava98672 жыл бұрын
thank you for the explanation of this topic!
@geekific2 жыл бұрын
Glad it was helpful :)
@AdarshaPal-w5o8 ай бұрын
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
@iamshakiransari2 жыл бұрын
Excellent 👍 Is it possible to change or modify existing class such as @NotNull annotations?
@geekific2 жыл бұрын
You can name the annotations you create anything you want, just take care with your imports!
@iamshakiransari2 жыл бұрын
Thanks for replying.. what i meant how to make changes in existing Java class, what you showed it creates a new class
@Grynjolf5 ай бұрын
How do I do it without having to pull in a package?
@wasim2892 жыл бұрын
but how process method is getting called?
@geekific2 жыл бұрын
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!
@Gamebuster5 ай бұрын
@@geekific This assumes you're using maven as your build tool.