Created
June 14, 2018 23:06
-
-
Save liptga/1a95048e38aacd15236ffe4c1a33e30c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package at.liptakg.lombokdemo; | |
import lombok.Data; | |
import lombok.EqualsAndHashCode; | |
@Data | |
@EqualsAndHashCode(exclude="fooo") | |
public class SideEffectExample { | |
private String bar; | |
private String fooo; | |
//these are added later: | |
private String myInternalCalculationResult; | |
private String thisIsSomeCachedValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment