Re:How To Write an Equality Method in Java
by req2 on Tuesday June 09, 2009 @04:58PM
(#649986)
I'm over my head here, but this is the naive idea that I imagined -
You could add two keywords like /notice/ and /keep/. If a parent class's function definition of foo has /notice bar/, overrides of foo could allow the new class to inherit bar with /keep bar/, or warn if neither a keep statement or an override are present.
You could add two keywords like /notice/ and /keep/. If a parent class's function definition of foo has /notice bar/, overrides of foo could allow the new class to inherit bar with /keep bar/, or warn if neither a keep statement or an override are present.