首页> 外国专利> Refractor inner class with object-oriented program optimizer tool for reduced footprint and faster application start

Refractor inner class with object-oriented program optimizer tool for reduced footprint and faster application start

机译:带有面向对象程序优化器工具的Refractor内部类可减少占用空间并加快应用程序启动

摘要

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.
机译:一种用于减少以面向对象的编程语言编写的已编译计算机程序中内部类的数量的计算机实现的方法,计算机程序产品和数据处理系统。接收编译的计算机程序的外部类,其中,外部类包含内部类,其中,外部类包括用于创建内部类的实例的指令。该实例将用作回调,侦听器命令,一组指令(内部类的对象实例通过这些指令将信息传输到相应的外部类的包含实例)及其组合之一。通过将内部类的方法及其包含的指令移入外部类,可以执行外部类的转换。编译的计算机程序的行为保持不变。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号