@Value and @FieldDefaults should skip static fields #1254

Closed
rspilker opened this Issue Dec 5, 2016 · 1 comment

Projects

None yet

2 participants

@rspilker
Collaborator
rspilker commented Dec 5, 2016 edited

@Value and @FieldDefaults add the private and final modifiers to the fields if possible. This behavior is influenced by @NonFinal and @PackagePrivate.

For instance fields, this makes sense. But for package private static non-final fields, this is an unexpected side-effect of adding @Value

@rspilker rspilker changed the title from `@Value` and `@FieldDefaults` should skip static fields to @Value and @FieldDefaults should skip static fields Dec 5, 2016
@rspilker rspilker closed this in 0727c8b Dec 5, 2016
@gjroelofs

Would it be possible to add optional support for static fields in @FieldDefaults?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment