Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.0.0-alpha09
Safe Args generates Directions classes such as MainFragmentDirections. The intended use case is to only use them via their static methods, so constructing that object shouldn't be available - i.e., new MainFragmentDirections() is always the wrong pattern.
Therefore, the constructor for the Directions classes themselves should be marked as private.