发明名称 METHOD AND DEVICE FOR EXECUTING METHOD LOOKUP IN EXISTENCE OF MODULARIZED STRUCTURE SUPPORTING TRANSITIONAL OVERRIDE OF METHOD
摘要 PROBLEM TO BE SOLVED: To obtain a method lookup mechanism which not only makes access limitation assumed by a modularized structure to be faithfully followed by also enables the transitional override of a method to be performed. SOLUTION: When a method (m) is called out on a target object, a solved method (m) in a solved class is checked and whether or not it is declared as public/protected is judged. When the solved method is not declared as public/ protected, a path stack is constructed. The path stack offers a list of class hierarchical structures between the target object and the solved class. When the path stack is constructed, the mounting of a method (m) to be called out is decided in response to the method calling-out according to its use.
申请公布号 JP2001075806(A) 申请公布日期 2001.03.23
申请号 JP20000243578 申请日期 2000.08.11
申请人 SUN MICROSYST INC 发明人 BRACHAN GILAD
分类号 G06F9/44;G06F9/42;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址