Slicing Java Generic Programs Using Generic System Dependence Graph

Lin Chen,Baowen Xu
DOI: https://doi.org/10.1007/s11859-009-0405-4
2009-01-01
Abstract:The existing slicing algorithms do not consider parameterized types in generic programs, so they are not suitable for generic programs. To solve this problem, this paper presents a generic system dependence graph for Java generic programs based on the traditional system dependence graph to express dependences for parameterized type information. A novel slicing criterion and slicing algorithm for generic programs is proposed. The slices computed by the algorithm can help to understand relations between concepts and types for generic programs and can express the features of generic programs better.
What problem does this paper attempt to address?