On Dec 4, 2019, at 7:59 AM, Maurizio Cimadamore <[email protected]> wrote: > > On 04/12/2019 15:53, [email protected] <mailto:[email protected]> wrote: >> Like getEnumConstants(), this is an argument i can agree upon. > Yes, that is the important precedent here.
+1; getEnumX getRecordX are clearly partial functions (like getComponentType als0), while the others that always return non-null are clearly total functions. I.e., get[Declared][Fields,Methods,Classes,…] apply evenly to all classes, not just some kinds.
