• DocumentCode
    2223077
  • Title

    Applying Generalization Refactoring to Java Generic Programs

  • Author

    Chen, Lin ; Xu, Baowen ; Zhou, Tianlin ; Zhou, Yuming

  • Author_Institution
    Sch. of Comput. Sci. & Eng., Southeast Univ., Nanjing
  • fYear
    2008
  • fDate
    14-15 July 2008
  • Firstpage
    35
  • Lastpage
    39
  • Abstract
    In generalization refactoring, preconditions and allowable source code modifications depend on type constraints of the refactored program. Type constraints of parameterized types should be considered when applying the refactoring to generic programs, otherwise type errors may be brought into the refactored program. Some type constraint rules for Java generic programs are presented to verify the preconditions in the refactoring. The type constraints can be solved by traversing a type constraint graph. Based on the type constraint graph, a refactoring algorithm for extract interface is proposed.
  • Keywords
    Java; graph theory; object-oriented methods; Java generic programs; constraint graph; extract interface; generalization refactoring; Algorithm design and analysis; Computer science; Conferences; Java; Programming; Software design; Software quality; generalization refactoring; generics; software evolution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Semantic Computing and Systems, 2008. WSCS '08. IEEE International Workshop on
  • Conference_Location
    Huangshan
  • Print_ISBN
    978-0-7695-3316-2
  • Electronic_ISBN
    978-0-7695-3316-2
  • Type

    conf

  • DOI
    10.1109/WSCS.2008.16
  • Filename
    4570812