Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Functionality-preserving restructure of newtypes.JSType.
Move subclasses into nested classes so that the classes, shared constants, and constructors can all be locked down as private. Mark all non-overridden methods as final so that behavior is more obvious. Now it can be immediately seen from looking at the class that it is effectively a "closed union" type. Also adds some missing Javadoc. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152979397
- Loading branch information