The documentations describes the usage of @Lazy like:
@Lazy T x
I'm aware of that T means no primitive data types, but groovy allows it and generates the code - so why not.
The behavior is inconsistent.
boolean: results are from the super class
int: results are from the child class
Please fix it or throw a 'RuntimeException' when primitive data types are used.
Please let @Lazy implement _is_Boolean() instead of _get_Boolean() when using primitive data type boolean and document it or just throw a 'RuntimeException'.