문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top