https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
p

pp.amorim

07/20/2018, 3:56 PM
I am writing a UI component and I am not using optional, pure mutable references and I am facing a security issue on the source. Since I am declaring the variable inside the
class
as
private
, this variable can be accessed and changed by any function inside this
class
, which is dangerous if another developer don't pay much attention. I would like to know if there is any way to check (I really prefer on compile time) and validated where it's being called.