Mocha: type inference for Java
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.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 | en_NZ | |
dc.identifier.uri | https://ir.wgtn.ac.nz/handle/123456789/27709 | |
dc.language | en_NZ | |
dc.language.iso | en_NZ | |
dc.publisher | Te Herenga Waka—Victoria University of Wellington | en_NZ |
dc.subject | Computer programming | |
dc.subject | Inference | |
dc.subject | Programming languages | |
dc.title | Mocha: type inference for Java | en_NZ |
dc.type | Text | 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 |
vuwschema.type.vuw | Awarded Research Masters Thesis | en_NZ |
Files
Original bundle
1 - 1 of 1