INRIA/spoon

feat: shadow classes should be closed to intercession

オープン

#4,667 opened on 2022/04/06

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Java (383 件のフォーク)github user discovery
featuregood first issue

Repository metrics

Stars
 (1,933 個のスター)
PR merge metrics
 (平均マージ 19d 11h) (30d で 49 merged PRs)

説明

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

コントリビューターガイド