CadixDev / Mercury

A source transformation and -remapping framework for Java.
Eclipse Public License 2.0
54 stars 23 forks source link

Don't mark local classes public #25

Closed DenWav closed 4 years ago

DenWav commented 4 years ago

The AT generator can get confused if local classes are in a mapped class and that local class isn't mapped, since it's package won't match the containing class's package. This is illegal as local classes can't be public. Local class access should never need to be transformed though, so we can safely ignore local classe.

jamierocks commented 4 years ago

Merged with https://github.com/CadixDev/Mercury/commit/f211098a7d8faad6d5fa7f1adc4aa7109e918c4d.