diff options
Diffstat (limited to 'usage_examples/NonNullExample_pre.jpage')
-rw-r--r-- | usage_examples/NonNullExample_pre.jpage | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usage_examples/NonNullExample_pre.jpage b/usage_examples/NonNullExample_pre.jpage new file mode 100644 index 00000000..47556ce7 --- /dev/null +++ b/usage_examples/NonNullExample_pre.jpage @@ -0,0 +1,10 @@ +import lombok.NonNull; + +public class NonNullExample extends Something { + private String name; + + public NonNullExample(@NonNull Person person) { + super("Hello"); + this.name = person.getName(); + } +} |