作者: Paul M. Tyma
DOI:
关键词:
摘要: A method for renaming identifiers in a Java™ program. In one embodiment, new names are assigned to Java classes, fields and methods within the given constraints inherent within a Java system. In one embodiment, a minimum number of different new names are assigned to the identifiers to achieve an optimal renaming. In one embodiment, a class inheritance hierarchy and method lists are used to identify naming dependencies. In one embodiment, new method names are then proposed and assigned systematically by starting at a given …