MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Refactor: Fix the relation between accessors and their field `fromTypes` #357

Open mylinhdao opened 1 month ago

mylinhdao commented 1 month ago

Take a look at AbstractCollector.getPublicAccessorsFromFile(). The value of field fromTypes for every generated accessor is the same: the array of all types in the file. This is not correct. We this field should only contains the type the accessor belongs to.