3

Is there someone here can give me idea or informations on how to create a functions definition, same to what we got when we write the signature of a function and than we press ctrl + space, in other world, like this :

File file = new File ( and when we pressed ctrl+space we got as showing in the picture bellow) 

After pressing ctrl + space

I googled a lot but i didn't found any solutions, thanks if someone here can help me.

2
  • 2
    its called JavaDoc... stackoverflow.com/questions/4468669/… Commented Dec 24, 2014 at 14:17
  • Thank you Eran, it helped me, i used a wrong keywords when i googled ... thank you dear :) Commented Dec 24, 2014 at 14:28

2 Answers 2

4

Read about the Javadoc.

Look the File class source for an example:

/** * Creates a new <code>File</code> instance by converting the given * pathname string into an abstract pathname. If the given string is * the empty string, then the result is the empty abstract pathname. * * @param pathname A pathname string * @throws NullPointerException * If the <code>pathname</code> argument is <code>null</code> */ 
Sign up to request clarification or add additional context in comments.

Comments

1

This is a good manual about javadocs

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.