发明名称 METHOD AND DEVICE FOR CONSTRUCTING DISPATCH TABLE ENABLING TRANSITIONAL OVERRIDE OF METHOD
摘要 PROBLEM TO BE SOLVED: To execute the access limitation of a modularization structure and also to enable the transitional override of a method to be performed. SOLUTION: A class C dispatch table (C is a subclass of a super class S in a package P) first copies an S dispatch table, judges whether or not the S dispatch table is marked as public/protected for every method (m) declared as a local in C, checks the S dispatch table when marked and searches a public/ protected entry corresponding to a method having the same name as a method (m). When the entry exists, a corresponding entry of a C dispatch table is overridden. Further, a package private entry corresponding to the method having the same name as the method (m) is searched in the S dispatch table, and when the package private entry exists, a corresponding entry in the C dispatch table is overridden and marked as public/protected.
申请公布号 JP2001075805(A) 申请公布日期 2001.03.23
申请号 JP20000243577 申请日期 2000.08.11
申请人 SUN MICROSYST INC 发明人 BRACHAN GILAD
分类号 G06F9/44;G06F9/42;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址