You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Final primitive fields are replaced with constant values (inlined), and programs will not be able to detect that the value was modified reflectively. JCommander solves this by throwing an exception if a final field is annotated with @parameter.
The text was updated successfully, but these errors were encountered:
remkop
changed the title
Reject final fields annotated with @Option or @Parameters
Reject final primitive fields annotated with @Option or @Parameters
Apr 12, 2017
remkop
modified the milestones:
0.5.0 advanced option parsing,
0.4.0 user manualApr 12, 2017
Final primitive fields are replaced with constant values (inlined), and programs will not be able to detect that the value was modified reflectively. JCommander solves this by throwing an exception if a final field is annotated with @parameter.
The text was updated successfully, but these errors were encountered: