vide
11/08/2023, 10:09 PMModifierNodeElement
implementations usually provide their own hashCode and equals implementations? What about using a data class?Francesc
11/08/2023, 10:14 PMvide
11/08/2023, 10:22 PMFrancesc
11/08/2023, 10:23 PMZach Klippenstein (he/him) [MOD]
11/08/2023, 10:24 PMvide
11/08/2023, 10:28 PMZach Klippenstein (he/him) [MOD]
11/08/2023, 10:48 PMModifier.Node
implementations shouldn’t be publicValentin Gusselnikov
11/08/2023, 11:01 PMSo do the extra generated copy() and componentN() result in a realistically larger generated code size? I would imagine hand-writing hashcodes is also more error prone.
You can generate
hashCode
and equals
methods https://www.jetbrains.com/help/idea/generating-code.html#generate-equals-hashcodeshikasd
11/09/2023, 4:08 AMvide
11/09/2023, 8:15 AMModifier.Node
implementations, wouldn't it be useful to have as much as possible public so that external implementations can delegate to them?Zach Klippenstein (he/him) [MOD]
11/09/2023, 2:32 PM