首页>
外国专利>
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.
展开▼