feat: shadow classes should be closed to intercession
Open
feature
good first issue
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
problem: the shadow classes (CtClass reflecting a binary class) built by `JavaReflectionTreeBuilder` can be modified. This is confusing for users, see https://github.com/INRIA/spoon/issues/4664.
solution: the `JavaReflectionTreeBuilder` should construct immutable objects, closed to modification, where all setters throw an `UnsupportedOperationException`
Contributor guide
Assessment
This issue has not been assessed yet.