Object construction code generation method and system based on object reference chain

The invention discloses an object construction code generation method and system based on object reference chain. For target objects that cannot be generated in the runtime stack model, all referencechains of the target object are generated according to the reference information between the target o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LUO YUCHONG, MA YUN, ZHANG YING, HUANG GANG, CAI HUAQIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an object construction code generation method and system based on object reference chain. For target objects that cannot be generated in the runtime stack model, all referencechains of the target object are generated according to the reference information between the target objects, Whether the class loader of the static object at the beginning of the selected target object reference chain is consistent with the application class loader is judged. If the class loader is inconsistent, the class loader is used as a new target object to further construct the class loader.Finally, the target object construction code is generated according to the selected target object reference chain. The invention can generate a plurality of reference paths according to the object reference information after selecting the target object to be generated, and on the basis of the reference paths, the recommendation code generates the paths with high usability, so as to quickly generate all function reference