aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorgrootjans <grootjans@gmail.com>2011-02-14 22:35:20 +0100
committergrootjans <grootjans@gmail.com>2011-02-14 22:53:08 +0100
commited4068d84289390c74ca2e45149c9a22f96ce764 (patch)
treeee51222b0edb471049c9a447da3baa972b37d0a1 /test/transform/resource/before
parent3a6615234d40cf7e300dfc52c9a212e7b65eed8b (diff)
downloadlombok-ed4068d84289390c74ca2e45149c9a22f96ce764.tar.gz
lombok-ed4068d84289390c74ca2e45149c9a22f96ce764.tar.bz2
lombok-ed4068d84289390c74ca2e45149c9a22f96ce764.zip
Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, NoArgsConstructor annotations and added a test for issue: 172
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/Constructors.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/transform/resource/before/Constructors.java b/test/transform/resource/before/Constructors.java
new file mode 100644
index 00000000..f5b5b770
--- /dev/null
+++ b/test/transform/resource/before/Constructors.java
@@ -0,0 +1,29 @@
+@lombok.RequiredArgsConstructor class RequiredArgsConstructor1 {
+ final int x;
+ String name;
+}
+
+@lombok.RequiredArgsConstructor(access=lombok.AccessLevel.PROTECTED) class RequiredArgsConstructorAccess {
+ final int x;
+ String name;
+}
+
+@lombok.RequiredArgsConstructor(staticName="staticname") class RequiredArgsConstructorStaticName {
+ final int x;
+ String name;
+}
+
+@lombok.RequiredArgsConstructor(onConstructor=@Deprecated) class RequiredArgsConstructorWithAnnotations {
+ final int x;
+ String name;
+}
+
+@lombok.AllArgsConstructor class AllArgsConstructor1 {
+ final int x;
+ String name;
+}
+
+@lombok.NoArgsConstructor class NoArgsConstructor1 {
+ final int x;
+ String name;
+} \ No newline at end of file