REFRACTOR INNER CLASS WITH OBJECT-ORIENTED PROGRAM OPTIMIZER TOOL FOR REDUCED FOOTPRINT AND FASTER APPLICATION START
    1.
    发明申请
    REFRACTOR INNER CLASS WITH OBJECT-ORIENTED PROGRAM OPTIMIZER TOOL FOR REDUCED FOOTPRINT AND FASTER APPLICATION START 有权
    具有面向对象程序优化器工具的减压器内部类以减少加载和更快的应用开始

    公开(公告)号:US20090144697A1

    公开(公告)日:2009-06-04

    申请号:US11948522

    申请日:2007-11-30

    IPC分类号: G06F9/44

    CPC分类号: G06F9/4488

    摘要: A computer implemented method, computer program product, and data processing system for reducing the number of inner classes in a compiled computer program written in an object-oriented programming language. An outer class of the compiled computer program is received, wherein the outer class contains an inner class, wherein the outer class comprises instructions to create an instance of an inner class. The instance is to be used as one of a callback, a listener command, a set of instructions by which an object instance of the inner class transfers information to the corresponding containing instance of the outer class, and combinations thereof. A transformation of the outer class is performed by moving methods of the inner class, as well as their contained instructions, into the outer class. The behavior of the compiled computer program remains unchanged.

    摘要翻译: 一种计算机实现的方法,计算机程序产品和数据处理系统,用于减少以面向对象编程语言编写的编译的计算机程序中的内部类的数量。 接收编译的计算机程序的外部类,其中外部类包含内部类,其中外部类包括用于创建内部类的实例的指令。 该实例将被用作回调,侦听器命令之一,内部类的对象实例通过该指令将信息传递到外部类的对应的包含实例,以及它们的组合。 外部类的转换通过将内部类的方法以及它们包含的指令移动到外部类来执行。 编译的计算机程序的行为保持不变。