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

貢獻者指南