search

Home  >  Q&A  >  body text

java - Regarding the issue of class guidance in IDEA, I would like to ask all the experts for help! Still looking forward to an answer! grateful!

If I were in

There is a class called AAA in the cn.xxxx.xxxxx.domain package, which has various methods

after that

Another class is defined in the cn.xxxx.xxxxx.net package. This class needs to call the methods in the AAA class in the cn.xxxx.xxxxx.domain package. .

Is there a setting that allows the idea to be

Import the class in the form of import cn.xxxx.xxxxx.domain.AAA

In this way, you can directly write the method name below and use it. .

instead of

when calling the method

cn.xxxx.xxxxx.domain.AAA.method name to use the method

Because the package path is very deep, this code appears to be a lot.

Write the method name. option enter is directly cn.xxxx.xxxxx.domain.AAA. The method name is indeed a bit annoying

How to set it? Help!

phpcn_u1582phpcn_u15822789 days ago480

reply all(2)I'll reply

  • 漂亮男人

    漂亮男人2017-05-17 10:09:54

    I figured it out by myself,,, and recorded it!
    http://blog.csdn.net/CCCCalcu...

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-17 10:09:54

    Probably this is the setting

    reply
    0
  • Cancelreply