INRIA/spoon

feat: shadow classes should be closed to intercession

开放

#4,667 创建于 2022年4月6日

 (1 条评论) (0 个反应) (0 位负责人)Java (383 个派生)github user discovery
featuregood first issue

仓库指标

星标
 (1,933 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 49 个 PR)

描述

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

贡献者指南