Can we add static
keyword in getters and setters of a skill?
#105
-
e.g:
I wonder if doing this breaks anything. |
Beta Was this translation helpful? Give feedback.
Answered by
AlexisDrogoul
Jun 21, 2021
Replies: 0 comments 1 reply
-
Hi, Skills are stateless instances in GAMA, so almost the exact equivalent of static classes. The annotation processor is smart enough, also, to call dynamic and static methods in the same way. So no problem. Alexis |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
minhduc0711
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Skills are stateless instances in GAMA, so almost the exact equivalent of static classes. The annotation processor is smart enough, also, to call dynamic and static methods in the same way. So no problem.
Alexis