annotations

Generating your own Javadocs for your Package

Reading Time: 4 minutes Documenting whatever work you are doing as a developer or tester is always a good idea hence we are going to learn about Generating JavaDocs for your own package. Documentation can easily describe info about which method/class/entity to use and when. Hence, a reliable documentation is a must for a developer. Just think if you are not aware of a certain language then how difficult Continue Reading

Cucumber Tags and Hooks

Reading Time: 3 minutes In continuation of my cucumber series, this blog will help us clear the concept of using cucumber tags and hooks. We will look at some practical approach and how a lot of time can be saved by using different tags and hooks. What are cucumber tags and hooks? Now, tagging is nothing but a simple annotation. So, you can provide your annotation using a conventional Continue Reading

Get Rid of the Boilerplate in JAVA with Annotations @Lombok

Reading Time: 4 minutes Hi all, we have been programming in Java for quite a while now and came across various scenarios such as those concerning the lines of code, redundant code boilerplate or programming style like moving from imperative style of coding to functional style etc., Java is quite verbose and will require a developer to often write significantly more code for the same task than the other Continue Reading

Annotations in Scala

Reading Time: < 1 minute In this session, we will learn about annotations. Firstly, we will see the definition of annotation, standard annotations and then we will learn to write our own annotations. As of now, with Scala we can create compile time annotations (could we create runtime ones without resorting to Java?). For example, if you look at the @tailrec annotation in Scala then it would verify that the Continue Reading