aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage')
-rw-r--r--website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage9
1 files changed, 9 insertions, 0 deletions
diff --git a/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage b/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
new file mode 100644
index 00000000..dc6376eb
--- /dev/null
+++ b/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
@@ -0,0 +1,9 @@
+import lombok.experimental.FieldNameConstants;
+import lombok.AccessLevel;
+
+@FieldNameConstants
+public class FieldNameConstantsExample {
+ private final String iAmAField;
+ @FieldNameConstants(level = AccessLevel.PACKAGE)
+ private final int andSoAmI;
+}