How to Use Eclispe to view APIs and eclispe to view APIs

Source: Internet
Author: User

How to Use Eclispe to view APIs and eclispe to view APIs

When we use eclispe, we will know that when we place the cursor over the specified method, a prompt will pop up. Don't ignore this prompt. This prompt is the description in the source code that includes the function parameter usage.

Most of the time, when we encounter a method that we don't know, the first step will be to check the api or Google, which is actually found to be a waste of time. If you are better at English, you can simply read it. clearly written

If you are not good at English, you can use a practical tool to automatically display Chinese characters.

What do we do on the official website? Sometimes, when the team is developing, it is difficult to ask our colleagues, therefore, we can customize our own APIs. When Each programmer writes a method, we will comment on the method above the method as follows:

/**

* Method description

* @ Param

* @ Param B

* Return

*/

Public void test (int a, int B ){

}

In this way, when we use this method elsewhere, we can directly check whether it is very convenient for our friends who have tried it, the second feature is to generate an api, that is, the doc document, when we finish writing the program. At this time, we will use it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.