Patent ID: 8166468
Filing Date: 2012-04-24
Classification: G06F

Abstract:
1. A computer implemented method for reducing a number of inner classes in a compiled computer program written in an object-oriented programming language, the computer implemented method comprising: receiving an outer class of the compiled computer program, wherein the outer class contains an inner class, wherein the outer class comprises instructions to create an instance of an inner class, and wherein 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; and performing a transformation of the outer class by moving methods and functions of the inner class, as well as their contained instructions, into the outer class, and by substituting references to any created instance of the inner class with references to the outer class, wherein the behavior of the compiled computer program remains unchanged.