Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Introduction to the function of IntelliJ IDEA query reference and invoke Diagram

Shulou Source: shulou.com Published: 2022-06-02 04:18:05 10月04日 Update

This article mainly explains the "IntelliJ IDEA query reference, call diagram function introduction", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "IntelliJ IDEA query reference, call diagram function introduction" bar!

Eclipse's "Call Hierarchy" allows you to view a Java method or call tree of class member variables (both caller and callee), which is very convenient.

In IDEA, similar functions are divided into three commands.

In IntelliJ IDEA, you can select Navigate | Call Hierarchy command from the main menu to view a Java method call tree (in both caller and callee directions), but unlike Eclipse, you can view the call tree of class member variables.

As shown in the following figure, the two buttons in the upper left corner show the relationship between the called and the called.

In IntelliJ IDEA, you can select Analyze | Dataflow from/to Here from the main menu to view the passing relationship tree of expressions, variables, and method parameters.

Analyze | Data Flow to Here

Analyze | Data Flow from Here

IntelliJ IDEA's "Find Usage" allows you to see the direct use of a Java class, method, or variable.

Reference:

Http://blog.sina.com.cn/s/blog_72ef7bea0102vbai.html class diagram

Right-click Diagram on the package or class or use the shortcut key Ctrl+Alt+U.

Thank you for your reading, the above is the "IntelliJ IDEA query reference, call diagram function introduction" content, after the study of this article, I believe you have a deeper understanding of the IntelliJ IDEA query reference, call diagram function introduction of this problem, the specific use also needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Functions queries two variables methods commands learning content situation members directions menus selections three parameters that is upper left corner shortcuts ideas buttons Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei OPPO Reno Apple NVidia Shulou Technology