Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I see way too much fun with annotations (including Oracle flaky documentation that cannot stay focused on bulletpoints on the subject). Can we have in simple points steps to create annotation and process it required by Java with simplest example and no funky games with processors, testers and who-knows-what? I mean it is good to know it, but that’s next after we become proficient… especially when in commercial programming we do not play in academic way - not time for this fun, we program for living according to certain steps that are supposed to help simplicity and not scientific complexity (maintiainable code principle).
- Anonymous
… and I meant on the subject “CUSTOM annotation creation” not standard/built-in usage (that we know and there is no need for documentation that is on Oracle website). I have learned not much here. I know how to use annotations, reflection and write main method with some System printouts. It would be much more useful to explain and show how custom annotation gets processed and write for example custom annotation that create a proxy method or sets a value on annotated variable. So called “one-liner-focused-example”.
- Anonymous
Could you tell me the difference between these below code List list=new ArrayList(); ArrayList list=new ArrayList(); When to use this. Cold you provide real time examples on this.
- Siddu
Hi Pankaj, your tutorial is really nice.I have one doubt,In the class AnnotationExample.java, we have 3 methods,1. toString() 2.oldMethod() 3.genericsTest(), and all these methods have 2 annotations, but during parsing in AnnotationParsing.java , we are getting 2 annotations for oldMethod() and 1 annotation for toString() as well as genericsTest(). do we have any reason for missing @override and @suppresswarnings in the output?
- Vijay
hi pankaj how i can search custom annotation for method in java source code?i am parsing all java classes .i want method name that have some custom annotation .can you please help me??if possible put some example to search custom annotation in java code
- dhaval