aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/experimental/AccessorsExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website/usageExamples/experimental/AccessorsExample_pre.jpage')
-rw-r--r--website/usageExamples/experimental/AccessorsExample_pre.jpage14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/usageExamples/experimental/AccessorsExample_pre.jpage b/website/usageExamples/experimental/AccessorsExample_pre.jpage
new file mode 100644
index 00000000..f1591aba
--- /dev/null
+++ b/website/usageExamples/experimental/AccessorsExample_pre.jpage
@@ -0,0 +1,14 @@
+import lombok.experimental.Accessors;
+import lombok.Getter;
+import lombok.Setter;
+
+@Accessors(fluent = true)
+public class AccessorsExample {
+ @Getter @Setter
+ private int age = 10;
+}
+
+class PrefixExample {
+ @Accessors(prefix = "f") @Getter
+ private String fName = "Hello, World!";
+}