CN116107585A - Method and device for generating xml in compiling period of server side - Google Patents

Method and device for generating xml in compiling period of server side Download PDF

Info

Publication number
CN116107585A
CN116107585A CN202310137158.2A CN202310137158A CN116107585A CN 116107585 A CN116107585 A CN 116107585A CN 202310137158 A CN202310137158 A CN 202310137158A CN 116107585 A CN116107585 A CN 116107585A
Authority
CN
China
Prior art keywords
class
annotation
processor
mapping
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310137158.2A
Other languages
Chinese (zh)
Other versions
CN116107585B (en
Inventor
郭泽伟
李青
林弟
张常华
朱正辉
赵定金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Baolun Electronics Co Ltd
Original Assignee
Guangzhou Baolun Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Priority to CN202310137158.2A priority Critical patent/CN116107585B/en
Publication of CN116107585A publication Critical patent/CN116107585A/en
Application granted granted Critical
Publication of CN116107585B publication Critical patent/CN116107585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a server-side compiling period xml generation method and device, wherein the method comprises the following steps: establishing and packaging a plurality of APT programs according to parameters of the entity class, the mapping interface, the mapping file and the database respectively to obtain a plurality of jar packages; in a business project, activating APT processing in an integrated development environment and setting a factory path of each jar package; after receiving the shortcut preservation instruction, calling each jar packet to acquire dynamic information from the annotation interface; and splicing according to the dynamic information to generate the configured xml file. By adopting the method, the android APT technology is fused into the JAVA server field architecture to realize flexible and efficient code generation.

Description

Method and device for generating xml in compiling period of server side
Technical Field
The invention relates to the technical field of JAVA servers, in particular to a server compiling period xml generation method and device.
Background
In the development process of the server side, it is necessary to add, delete and check codes. In the prior art, mybat splus is often utilized to develop a server, but the mybat splus is used to enable a forced architecture which must follow two constraints of an operation list and a list with only one main key, and because the server is usually complex in data structure, the service flow is complex, the user quantity and the data quantity of the mybat splus are limited, and data inconsistency is easy to occur. In addition, the principle of mybat plus to implement universal CRUD is through reflection, which occurs when the program runs, and the performance is lost; because of the constraint of the forced architecture, the Mybatisplus universal template cannot be added by itself, and has poor flexibility and relatively complicated operation.
Disclosure of Invention
The embodiment of the invention provides a server-side compiling period xml generation method and device, which are fused into a JAVA server field architecture by using an android APT technology to realize flexible and efficient code generation.
In order to achieve the above object, a first aspect of an embodiment of the present application provides a server-side compilation period xml generation method, including:
establishing and packaging a plurality of APT programs according to parameters of the entity class, the mapping interface, the mapping file and the database respectively to obtain a plurality of jar packages;
in a business project, activating APT processing in an integrated development environment and setting a factory path of each jar package;
after receiving the shortcut preservation instruction, calling each jar packet to acquire dynamic information from the annotation interface;
and splicing according to the dynamic information to generate the configured xml file.
In a possible implementation manner of the first aspect, the establishing process of each APT procedure is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
In a possible implementation manner of the first aspect, after receiving the shortcut preservation instruction, the calling each jar packet to obtain dynamic information from the annotation interface specifically includes:
after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
In a possible implementation manner of the first aspect, the calling each jar packet according to the factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, specifically includes:
acquiring the main key name of the entity class and the main key name of the database from the main key interface processed by the annotating processor;
obtaining the table name of the entity class from the table name interface processed by the annotating processor;
acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor;
and acquiring the common field names of the entity classes, the common field names of the databases, the names generated by the mapping files and the full paths of the entity classes from the common attribute interfaces processed by the annotating processor.
In a possible implementation manner of the first aspect, the splicing according to the dynamic information generates a configured xml file, which specifically includes:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
A second aspect of the embodiments of the present application provides a server-side compilation-time xml generating device, including:
the packaging module is used for respectively establishing a plurality of APT programs according to the parameters of the entity class, the mapping interface, the mapping file and the database and packaging the APT programs to obtain a plurality of jar packages;
the setting module is used for activating APT processing in the integrated development environment and setting the factory path of each jar packet in the business project;
the information acquisition module is used for calling each jar packet to acquire dynamic information from the annotation interface after receiving the shortcut preservation instruction;
and the xml generating module is used for splicing according to the dynamic information to generate the configured xml file.
In a possible implementation manner of the second aspect, in the packaging module, a setup procedure of each APT program is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
In a possible implementation manner of the second aspect, the information acquisition module is specifically configured to:
after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
In a possible implementation manner of the second aspect, the calling each jar packet according to the factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, specifically includes:
acquiring the main key name of the entity class and the main key name of the database from the main key interface processed by the annotating processor;
obtaining the table name of the entity class from the table name interface processed by the annotating processor;
acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor;
and acquiring the common field names of the entity classes, the common field names of the databases, the names generated by the mapping files and the full paths of the entity classes from the common attribute interfaces processed by the annotating processor.
In a possible implementation manner of the second aspect, the splicing according to the dynamic information generates a configured xml file, which specifically includes:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
Compared with the prior art, the method and the device for generating xml at the compiling period of the server side provided by the embodiment of the invention have the advantages that the written APT package is imported, the APT processing function is started in a service item, the factory path is set, the automatic compiling is triggered by the shortcut preservation key, the declaration processing annotation class is found, the compiling scanning is carried out, the file which is declared is identified by scanning, and the automatic code generation of the processor class program in the corresponding jar package is triggered. Because the complex template can be constructed according to the rules in the business custom APT package, the flexibility is strong, and the database connection and the third party generation tools are not needed to be relied on, the server side development is realized by adopting the APT, and the development efficiency is more efficient than that of reflection realization.
Drawings
FIG. 1 is a flowchart of a server-side compile-time xml generation method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an xml generating device at compiling time at a server according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an embodiment of the present invention provides a server-side compilation time xml generation method, including:
s10, establishing and packaging a plurality of APT programs according to the parameters of the entity class, the mapping interface, the mapping file and the database respectively to obtain a plurality of jar packages.
S11, in the business project, activating APT processing in the integrated development environment and setting the factory path of each jar package.
S12, after receiving the shortcut preservation instruction, calling each jar packet to acquire dynamic information from the annotation interface.
And S13, splicing according to the dynamic information to generate the configured xml file.
In S10, according to the requirements of the actual application scenario, the Java source file to be scanned, which is annotated on the class of the service item program, is converted according to the rules preset by the user, and the rules preset by the user are established by respectively performing corresponding processing on the corresponding entity class through a plurality of jar packets.
When the corresponding APT package is invoked, the user is required to manually open the service item program eclipse annotation processing at the server side and edit the factory path (the packaged APT application) as a rule.
When a development project on a server side operates, a written APT package is required to be imported, a processing function and a factory path of a service project eclipse annotation processing are opened, automatic compiling is triggered according to a shortcut preservation instruction, a declaration processing annotation class of a jar package is found, scanning is compiled, a declared file is identified through scanning, a processor class program is triggered, dynamic information is returned through an annotation interface, and an xml file is automatically generated.
Illustratively, the setup procedure for each APT procedure is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
The establishment of each APT program needs to write a main processor class inheriting Abstract processor and write a designated processing annotation class, and the program needs to declare a processing compiled version and designate the type of processing, and then the APT program is made into a jar package.
Illustratively, S12 specifically includes:
s120, after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
Illustratively, the calling each jar packet according to the factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, and specifically includes:
s121, acquiring the main key names of entity classes and the main key names of the database from the main key interfaces processed by the annotating processor.
S122, obtaining the table names of the entity classes from the table name interfaces processed by the annotated processor.
S123, acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor.
S124, obtaining the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class from the common attribute interface processed by the annotating processor.
The automatic generation of the mapper xml at the server side requires the following seven kinds of dynamic information to be obtained from the annotation interface (IKey, table name, IMapper, IParam) processed by the annotation processor:
1. mapping the full path of the interface (obtained by traversing the IMapplicator);
2. the full path of the entity class (the difficulty is that the entity class can be obtained by directly compiling the entity class through an element and then obtaining the compiling by capturing abnormal information) is that the entity class is compiled normally;
it should be noted that compiling is unordered, while an entity is a base class, if there is a dependency in the middle, the base class cannot be scanned and an exception is reported, but the exception exists in practice and is only compiled slowly, so that in the post-compiling case, the exception needs to be manually captured for acquisition.
3. The main key name of the entity class-the main key name of the database (analysis annotation after acquiring the entity class element);
4. common field name of entity class-common field name of database (analysis annotation after obtaining entity class element);
5. table names corresponding to the entity classes (analysis notes after acquiring the entity class ele);
6. mapping the path generated by the file (by obtaining the value of the IMapplicator);
7. the names generated by the file are mapped (by obtaining a class name concatenation of the entity class).
Illustratively, S13 specifically includes:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
In general, dynamic information can be analyzed and processed through APT tool Elements, then character strings (various dynamic information) are spliced through StringBuill, and xml files of the custom template are generated through a Filer.
Compared with the prior art, the method and the device for generating xml at the compiling period of the server side provided by the embodiment of the invention have the advantages that the written APT package is imported, the APT processing function is started in a service item, the factory path is set, the automatic compiling is triggered by the shortcut preservation key, the declaration processing annotation class is found, the compiling scanning is carried out, the file which is declared is identified by scanning, and the automatic code generation of the processor class program in the corresponding jar package is triggered. Because the complex template can be constructed according to the rules in the business custom APT package, the flexibility is strong, and the database connection and the third party generation tools are not needed to be relied on, the server side development is realized by adopting the APT, and the development efficiency is more efficient than that of reflection realization.
A second aspect of the embodiments of the present application provides a server-side compile-time xml generating device, which includes a packaging module 201, a setting module 202, an information obtaining module 203, and an xml generating module 204.
And the packaging module 201 is configured to establish and package a plurality of APT programs according to parameters of the entity class, the mapping interface, the mapping file and the database, respectively, to obtain a plurality of jar packages.
The setting module 202 is configured to activate APT processing in the integrated development environment and set a factory path of each jar package in the business project.
And the information acquisition module 203 is configured to call each jar packet to acquire dynamic information from the annotation interface after receiving the shortcut preservation instruction.
And the xml generating module 204 is configured to splice according to the dynamic information to generate a configured xml file.
Illustratively, in the packaging module, the establishment procedure of each APT program is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
Illustratively, the information obtaining module 203 is specifically configured to:
after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
Illustratively, the calling each jar packet according to the factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, and specifically includes:
acquiring the main key name of the entity class and the main key name of the database from the main key interface processed by the annotating processor;
obtaining the table name of the entity class from the table name interface processed by the annotating processor;
acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor;
and acquiring the common field names of the entity classes, the common field names of the databases, the names generated by the mapping files and the full paths of the entity classes from the common attribute interfaces processed by the annotating processor.
Exemplary, the splicing according to the dynamic information generates a configured xml file, which specifically includes:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
Compared with the prior art, the xml generating device at the compiling period of the server side provided by the embodiment of the invention has the advantages that the written APT package is imported, the APT processing function is started in a service item, the factory path is set, the shortcut preservation key triggers automatic compiling, the declaration processing annotation class is found, the compiling scanning is carried out, the declared file is identified by scanning, and the processor class program in the corresponding jar package is triggered to automatically generate codes. Because the complex template can be constructed according to the rules in the business custom APT package, the flexibility is strong, and the database connection and the third party generation tools are not needed to be relied on, the server side development is realized by adopting the APT, and the development efficiency is more efficient than that of reflection realization.
It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the positioning device described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated here
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. The server-side compiling period xml generation method is characterized by comprising the following steps of:
establishing and packaging a plurality of APT programs according to parameters of the entity class, the mapping interface, the mapping file and the database respectively to obtain a plurality of jar packages;
in a business project, activating APT processing in an integrated development environment and setting a factory path of each jar package;
after receiving the shortcut preservation instruction, calling each jar packet to acquire dynamic information from the annotation interface;
and splicing according to the dynamic information to generate the configured xml file.
2. The server-side compilation time xml generation method according to claim 1, wherein the establishment procedure of each APT program is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
3. The method for generating xml at compiling time of a server according to claim 1, wherein after receiving the shortcut preservation command, calling each jar packet to obtain dynamic information from the annotation interface comprises:
after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
4. The method for generating xml at compiling time of server side according to claim 3, wherein said calling each jar packet according to a factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, specifically comprising:
acquiring the main key name of the entity class and the main key name of the database from the main key interface processed by the annotating processor;
obtaining the table name of the entity class from the table name interface processed by the annotating processor;
acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor;
and acquiring the common field names of the entity classes, the common field names of the databases, the names generated by the mapping files and the full paths of the entity classes from the common attribute interfaces processed by the annotating processor.
5. The method for generating xml at compiling time of a server according to claim 4, wherein said generating the configured xml file by splicing according to the dynamic information comprises:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
6. A server-side compile-time xml generating device, comprising:
the packaging module is used for respectively establishing a plurality of APT programs according to the parameters of the entity class, the mapping interface, the mapping file and the database and packaging the APT programs to obtain a plurality of jar packages;
the setting module is used for activating APT processing in the integrated development environment and setting the factory path of each jar packet in the business project;
the information acquisition module is used for calling each jar packet to acquire dynamic information from the annotation interface after receiving the shortcut preservation instruction;
and the xml generating module is used for splicing according to the dynamic information to generate the configured xml file.
7. The server-side compile-time xml generating device according to claim 6, wherein in the packing module, a setup process of each APT program is:
selecting a parameter of an entity class or a mapping interface or a mapping file or a database, writing a main processor class inheriting Abstract processor and writing a designated processing annotation class;
establishing annotation class according to the parameters;
and establishing an APT program according to the annotation class, the main processor class and the appointed processing annotation class.
8. The server-side compilation-time xml generating device according to claim 6, wherein said information acquisition module is specifically configured to:
after receiving the shortcut preservation instruction, compiling and scanning are carried out, and each jar packet is called according to the factory path of each jar packet to acquire dynamic information from the annotation interface processed by the annotation processor.
9. The server-side compile-time xml generating device according to claim 8, wherein said calling each jar packet according to a factory path of each jar packet obtains dynamic information from an annotation interface processed by an annotation processor, specifically comprising:
acquiring the main key name of the entity class and the main key name of the database from the main key interface processed by the annotating processor;
obtaining the table name of the entity class from the table name interface processed by the annotating processor;
acquiring the full path of the mapping interface and the path generated by the mapping file from the mapping interface processed by the annotating processor;
and acquiring the common field names of the entity classes, the common field names of the databases, the names generated by the mapping files and the full paths of the entity classes from the common attribute interfaces processed by the annotating processor.
10. The server-side compiling-period xml generating device according to claim 9, wherein said splicing according to said dynamic information generates a configured xml file, specifically comprising:
and splicing corresponding character strings according to the main key name of the entity class, the main key name of the database, the table name of the entity class, the full path of the mapping interface, the path generated by the mapping file, the common field name of the entity class, the common field name of the database, the name generated by the mapping file and the full path of the entity class, and generating the configured xml file through a Filer.
CN202310137158.2A 2023-02-17 2023-02-17 Method and device for generating xml in compiling period of server side Active CN116107585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310137158.2A CN116107585B (en) 2023-02-17 2023-02-17 Method and device for generating xml in compiling period of server side

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310137158.2A CN116107585B (en) 2023-02-17 2023-02-17 Method and device for generating xml in compiling period of server side

Publications (2)

Publication Number Publication Date
CN116107585A true CN116107585A (en) 2023-05-12
CN116107585B CN116107585B (en) 2024-03-08

Family

ID=86265358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310137158.2A Active CN116107585B (en) 2023-02-17 2023-02-17 Method and device for generating xml in compiling period of server side

Country Status (1)

Country Link
CN (1) CN116107585B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385757B1 (en) * 1999-08-20 2002-05-07 Hewlett-Packard Company Auto design of VLIW processors
US20030181196A1 (en) * 2002-03-22 2003-09-25 Eran Davidov Extensible framework for code generation from XML tags
CN107741847A (en) * 2017-10-11 2018-02-27 江苏千米网络科技股份有限公司 Realize the method and device of domain-driven model
US20180081677A1 (en) * 2016-09-16 2018-03-22 Oracle International Corporation Using Annotation Processors Defined By Modules with Annotation Processors Defined By Non-Module Code
CN109298860A (en) * 2018-09-27 2019-02-01 高新兴科技集团股份有限公司 Thread switching method, device and computer storage medium based on android system
CN110825369A (en) * 2019-11-07 2020-02-21 四川长虹电器股份有限公司 Method for automatically generating codes based on java language
CN111736806A (en) * 2020-05-14 2020-10-02 广州三七网络科技有限公司 Control injection method and device and terminal equipment
WO2020232569A1 (en) * 2019-05-17 2020-11-26 环球雅途集团有限公司 Database access layer representation method and device
CN112083930A (en) * 2020-09-14 2020-12-15 华帝股份有限公司 Optimization method for android project compiling process
CN112394920A (en) * 2020-11-19 2021-02-23 联通智网科技有限公司 Application software development method, platform and electronic equipment
CN112527386A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Application program issuing method and device
CN113961196A (en) * 2021-11-15 2022-01-21 广州品唯软件有限公司 Method, device and equipment for automatically generating codes and readable storage medium
CN115617353A (en) * 2022-12-15 2023-01-17 杭州比智科技有限公司 Method for generating description file based on ksp and rapid instrumentation gradle compiling system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385757B1 (en) * 1999-08-20 2002-05-07 Hewlett-Packard Company Auto design of VLIW processors
US20030181196A1 (en) * 2002-03-22 2003-09-25 Eran Davidov Extensible framework for code generation from XML tags
US20180081677A1 (en) * 2016-09-16 2018-03-22 Oracle International Corporation Using Annotation Processors Defined By Modules with Annotation Processors Defined By Non-Module Code
CN107741847A (en) * 2017-10-11 2018-02-27 江苏千米网络科技股份有限公司 Realize the method and device of domain-driven model
CN109298860A (en) * 2018-09-27 2019-02-01 高新兴科技集团股份有限公司 Thread switching method, device and computer storage medium based on android system
WO2020232569A1 (en) * 2019-05-17 2020-11-26 环球雅途集团有限公司 Database access layer representation method and device
CN112527386A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Application program issuing method and device
CN110825369A (en) * 2019-11-07 2020-02-21 四川长虹电器股份有限公司 Method for automatically generating codes based on java language
CN111736806A (en) * 2020-05-14 2020-10-02 广州三七网络科技有限公司 Control injection method and device and terminal equipment
CN112083930A (en) * 2020-09-14 2020-12-15 华帝股份有限公司 Optimization method for android project compiling process
CN112394920A (en) * 2020-11-19 2021-02-23 联通智网科技有限公司 Application software development method, platform and electronic equipment
CN113961196A (en) * 2021-11-15 2022-01-21 广州品唯软件有限公司 Method, device and equipment for automatically generating codes and readable storage medium
CN115617353A (en) * 2022-12-15 2023-01-17 杭州比智科技有限公司 Method for generating description file based on ksp and rapid instrumentation gradle compiling system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ZHANGMINGDA: "java 编程基础:注解(Annotation Processing Tool)注解处理器 利用注解解读类属性生成XML文件", pages 1 - 5, Retrieved from the Internet <URL:《https://www.cnblogs.com/zhangmingda/p/14786155.html》> *
伍文彬;: "Spring环境下的敏捷ORM框架设计与实现", 软件导刊, no. 05, 15 May 2019 (2019-05-15) *
安卓小小鸟: "利用注解和apt生成模板代码(代码片段)", pages 1 - 13, Retrieved from the Internet <URL:《https://www.yashinu.com/zhishi/show-33297.html》> *
王雪梅;李彩虹;慕富强;李廉;: "基于Annotation数据结构自动生成的研究与实现", 微电子学与计算机, no. 01, 5 January 2017 (2017-01-05) *
程序源日志: "Java的注解和注解解析器是什么,运行方法如何,架构师必会知识体系", pages 1 - 7, Retrieved from the Internet <URL:《https://blog.csdn.net/2201_75529678/article/details/128247307》> *

Also Published As

Publication number Publication date
CN116107585B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN101311903B (en) Method and device for reusing component of software system based on component
Dig et al. How do APIs evolve? A story of refactoring
US7171672B2 (en) Distributed application proxy generator
CA2255050C (en) A method and system for debugging hybrid source code
CN108845940B (en) Enterprise-level information system automatic function testing method and system
US8949790B2 (en) Debugging visual and embedded programs
JP5346154B2 (en) System and method for transferring computer readable objects across a remote boundary
JP2017523506A (en) REST service source code generation
US20060212847A1 (en) Type checker for a typed intermediate representation of object-oriented languages
KR20040097909A (en) Reflection-based processing of input parameters for commands
US20080127053A1 (en) Controlling application features
US8949812B2 (en) System and method for updating hard-coded dependencies
US10459698B2 (en) Framework for generating adapters in an integrated development environment
CN115639980A (en) Draggable front-end logic arrangement method and device for low-code platform
CN112000320A (en) Automatic code generation method, device, equipment and storage medium
CN112667242A (en) Method and device for packaging C code into FMU
CN116107585B (en) Method and device for generating xml in compiling period of server side
US20140359258A1 (en) Declarative Configuration Elements
US20070174823A1 (en) Compile-time interpretable code error detection
CN110673890A (en) Plug-in calling method, system, medium and device
CN112860232A (en) Component implementation method and device
JP2019179383A (en) Api processing method, terminal, and api processing program
CN117056317B (en) Data processing method, device, equipment and computer readable storage medium
Tapadiya NET Programming: A Practical Guide Using C
US20230401074A1 (en) Automated testcase execution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No. 19, Chuangyuan Road, Zhongcun Street, Panyu District, Guangzhou City, Guangdong Province, 511495

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant