This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce type-safe record value abstraction. (#64)
Obviates the need for `instanceof` checks and unchecked casts. A `Value` is a container/wrapper for either - an `Array` (which in turn is a wrapper for `List<Value>`), or - a `Hash` (which in turn is a wrapper for `Map<String, Value>`), or - a `String` (which is the terminal type)
- Loading branch information
1 parent
c6e20f9
commit dc8c708
Showing
8 changed files
with
470 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
185 changes: 84 additions & 101 deletions
185
metafix/src/main/java/org/metafacture/metafix/FixMethod.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.