DSpace Repository

Mocha: type inference for Java

Show simple item record

dc.contributor.author Male, Christopher John
dc.date.accessioned 2012-02-15T02:58:55Z
dc.date.accessioned 2022-11-01T02:37:10Z
dc.date.available 2012-02-15T02:58:55Z
dc.date.available 2022-11-01T02:37:10Z
dc.date.copyright 2009
dc.date.issued 2009
dc.identifier.uri https://ir.wgtn.ac.nz/handle/123456789/27709
dc.description.abstract Static typing allows type errors to be revealed at compile time, which reduces the amount of maintenance and debugging that must occur later on. However, often the static type information included in source code is duplicate or redundant. Type inference resolves this issue by inferring the types of variables from their usage, allowing much of the type information to be omitted. This thesis formally describes Mocha, an extension to Java, which supports the inference of both local variable and field types. Mocha has unique support for local variables having different types at different program points which allows variables to be retyped due to certain conditional statements. It also includes a procedure for handling the effect Java exceptions have on the type inference process. en_NZ
dc.format pdf en_NZ
dc.language en_NZ
dc.language.iso en_NZ
dc.publisher Te Herenga Waka—Victoria University of Wellington en_NZ
dc.title Mocha: type inference for Java en_NZ
dc.type Text en_NZ
vuwschema.type.vuw Awarded Research Masters Thesis en_NZ
thesis.degree.discipline Computer Science en_NZ
thesis.degree.grantor Te Herenga Waka—Victoria University of Wellington en_NZ
thesis.degree.level Masters en_NZ
thesis.degree.name Master of Science en_NZ


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Browse

My Account