Question

my question: Is it possible to add some information (description) to a class or to a method, that would be see from eclipse when I use this class or the method in a code. And how?

As well as the black box in the picture below, I would like to have own description next to my own method.

enter image description here

Thanks

Was it helpful?

Solution

Is it possible to add some information (description) to a class or to a method

=> Yes Its possible to comment block (Javadoc style).

For example:

/**
This method is used for bla bla bla...
@author Paresh Mayani
@Date 16th April
**/
public void display()
{
.....
.....
}

And this above comment will popup in Yellow notes while you are implementing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top