Method and device for realizing java integrated development environment

A technology of integrated development environment and implementation method, which is applied in the field of Java integrated development environment, can solve problems such as unreleased resources, null pointer exceptions, unfavorable programmers to write programs, etc., achieve simple and convenient calling process, improve development efficiency, and avoid logic errors Effect

Inactive Publication Date: 2017-12-15
上海天脉聚源文化传媒有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the current java programming, each class is independent of each other when it is implemented, and it is impossible to intuitively get the situation of calling methods and variables between classes, and there will be problems such as null pointers and other exceptions and resources not released.
[0008] Therefore, for a Java program, the logical relationship between various types, functions or variables cannot be intuitively obtained in the existing integrated development environment, which is not conducive to programmers to effectively write programs.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing java integrated development environment
  • Method and device for realizing java integrated development environment
  • Method and device for realizing java integrated development environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0037] figure 1 It is a flowchart of the implementation method of the embodiment of the present invention, such as figure 1 As shown, the embodiment of the present invention provides a method for implementing a Java integrated development environment, including:

[0038] Step 101, traversing the current class to obtain all methods and variables referenced in the current class;

[0039] Step 102, using the regularity of the Java language to find the class where the method and the variables are located as the associated class of the current class through rule matching, thereby obtaining a relationship table representing the calling relationship between the current cl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an implementing method and device of a Java integrated development environment. The implementing method and device are used for obtaining calling conditions of various variables in the Java integrated development environment to avoid logic errors in development. The method comprises the steps that current classes are traversed to obtain all methods and variables quoted in the current classes; by means of regularity of the Java language and rule matching, the classes where the methods and the variables are located are found out to be used as association classes of the current classes, and a correlation chart representing the calling relations of the current classes and all the association classes is obtained; all the classes in a current program are traversed, a main correlation chart of the calling relations of all the classes is obtained, and the main correlation chart is stored in the integrated development environment.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for realizing a Java integrated development environment. Background technique [0002] The Java language is a very popular programming language. Its definition is: a simple, cross-platform, object-oriented, distributed, interpreted, robust and safe, structure-neutral, portable, and high-performance Excellent multi-threaded, dynamic language. [0003] In the Java language, the most common are classes and methods, examples are as follows: [0004] 1) Write a player class (Player.java), which has the following private attributes: player name (name), player average salary (salary), and provide a constructor with parameters for this class. [0005] 2) Write a team class (Team.java), which has the following private attributes: team name (name), team player number (num), player (player). [0006] 3) Provide a method in the team class to determine whether the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 张存
Owner 上海天脉聚源文化传媒有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products