Morphing: Safely Shaping a Class in the Image of Others

@inproceedings{Huang2007MorphingSS,
  title={Morphing: Safely Shaping a Class in the Image of Others},
  author={Shan Shan Huang and David Zook and Yannis Smaragdakis},
  booktitle={ECOOP},
  year={2007}
}
We present MJ: a language for specifying general classes whose members are produced by iterating over members of other classes. We call this technique "class morphing" or just "morphing". Morphing extends the notion of genericity so that not only types of methods and fields, but also the structure of a class can vary according to type variables. This offers the ability to express common programming patterns in a highly generic way that is otherwise not supported by conventional techniques. For… CONTINUE READING

Figures and Topics from this paper.

References

Publications referenced by this paper.
SHOWING 1-10 OF 24 REFERENCES

et al

B. Burk
  • JBoss AOP Web site, http://www.jboss.org/products/aop. Accessed Apr.
  • 2007
VIEW 3 EXCERPTS

Morphing: Safely shaping a class in the image of others

S. S. Huang, D. Zook, Y. Smaragdakis
  • Technical report,
  • 2006

P

M. Torgersen, C. P. Hansen, E. Ernst
  • von der Ahe, G. Bracha, and N. Gafter. Adding wildcards to the java programming language. In Proc. of the 2004 ACM Symposium on Applied Computing, pages 1289–1296, Nicosia, Cyprus,
  • 2004