Our system is currently under heavy load due to increased usage. We're actively working on upgrades to improve performance. Thank you for your patience.
Proceedings of the 19th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications 2004
DOI: 10.1145/1028976.1028979
|View full text |Cite
|
Sign up to set email alerts
|

Converting java programs to use generic libraries

Abstract: Java 1.5 will include a type system (called JSR-14) that supports parametric polymorphism, or generic classes. This will bring many benefits to Java programmers, not least because current Java practise makes heavy use of logically-generic classes, including container classes.Translation of Java source code into semantically equivalent JSR-14 source code requires two steps: parameterisation (adding type parameters to class definitions) and instantiation (adding the type arguments at each use of a parameterised … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
25
0
3

Year Published

2006
2006
2012
2012

Publication Types

Select...
6
2

Relationship

1
7

Authors

Journals

citations
Cited by 46 publications
(28 citation statements)
references
References 38 publications
0
25
0
3
Order By: Relevance
“…Tip et al [TKB03] use type constraints to support an analysis for refactorings that introduce type generalization. Donovan et al [DKTE04] use a pointer analysis and a set-constraint-based analysis to support refactorings that replace the instantiation of raw classes with generic classes. Dincklage and Diwan [vDD04] use various heuristics to convert from non-generic classes to generic classes.…”
Section: Refactoringmentioning
confidence: 99%
“…Tip et al [TKB03] use type constraints to support an analysis for refactorings that introduce type generalization. Donovan et al [DKTE04] use a pointer analysis and a set-constraint-based analysis to support refactorings that replace the instantiation of raw classes with generic classes. Dincklage and Diwan [vDD04] use various heuristics to convert from non-generic classes to generic classes.…”
Section: Refactoringmentioning
confidence: 99%
“…To test the utility of our flow-based variant type system, we evaluated our prototype on a set of Java applications 1 as used in [10,14]. These applications make use of library classes from package java.util, which we annotated with our variant parametric types.…”
Section: Resultsmentioning
confidence: 99%
“…In contrast to our work, Donovan et al [10] use heuristics to find desirable solutions and their inference requires a pointer analysis. Kieżun et al [15] make use of type constraints to ensure behavior preservation.…”
Section: Related Workmentioning
confidence: 86%
“…Work on introducing generics to Java [10,15] solves similar challenges, because leaving every type as raw is a legal typing, but a useless one that expresses no design intent and detects no coding errors. In contrast to our work, Donovan et al [10] use heuristics to find desirable solutions and their inference requires a pointer analysis.…”
Section: Related Workmentioning
confidence: 99%