Hi,
I was using booleans earlier in my class.
--> isProductRestricted
--> internal
--> isProductGlobal
I am using lombok too. So putting @Data at the top of class too. But, now I changed these boolean to Boolean variable.
I got errors where ever Object.isInternal()
was used. I am not getting how isInternal() was working initially. There is no function in my class too.
Also, I am able to access boolean isProductGlobal using Object.getProductGlobal()
bit there is "is" also attached to the productGlobal name. Can you please explain this? How is it happening here?
Thanks in advance.