Open ctrimble opened 7 years ago
I scanned the code base for ParameterizedType and attempted to remove it. There is still a lot of resolution code happening in CRuntime and its subclasses. I would like to remove ParameterizedType, TypeVariable, etc from the codebase, to make sure resolution is consistent, but it may need to happen over several PRs.
NOTE: This PR is not complete, but the test suite is passing. Looking for feedback. Also, it is based on #90, so that should be merged before this PR, or this PR should be rebased.
This PR aims to rework type resolution in BridJ, so that resolution code is off loaded to a third party library and to support more complex generics in classes extending StructObject. Once merged, the following struct will work with BridJ:
Status: Code to support generic resolution has been introduced and a test called StructGenericsTest has been added to verify that structures of this type now work.
TODO: Remove dead code dealing directly with Java's type classes.
Build Changes:
Fixes #59