Restricting class inheritance relationships

    公开(公告)号:US09740458B1

    公开(公告)日:2017-08-22

    申请号:US14673454

    申请日:2015-03-30

    CPC classification number: G06F8/31 G06F8/315 G06F9/5061

    Abstract: In an embodiment, a system may include a processor having memory storing processor-executable instructions for a programming environment. The processor may perform the following instructions. A first, second, and third class may be defined. The second class may be defined as being compatible with the first class. The third class may be defined as being incompatible with the first class. A fourth class may be defined as a subclass of both the first class and the second class. A fifth class may be prevented from being a subclass of both the first class and the third class.

    Dynamically updating class instances based on class definition changes

    公开(公告)号:US09703532B1

    公开(公告)日:2017-07-11

    申请号:US14502610

    申请日:2014-09-30

    CPC classification number: G06F8/33 G06F8/24 G06F9/4488

    Abstract: A device may detect a modification of a class, included in program code, from a first class definition to a second class definition that is different from the first class definition. The device may create a relationship indicator that references the second class definition and that indicates that the class has been modified. The device may store an association between the class and the relationship indicator. The device may access an instance of the class associated with the first class definition. The device may detect the association between the class and the relationship indicator based on accessing the instance of the class. The device may update the instance of the class, using the second class definition, based on detecting the association between the class and the relationship indicator.

Patent Agency Ranking